Commit d4a1f049 authored by nanahira's avatar nanahira

fix

parent 048471ec
......@@ -14,8 +14,8 @@ if [ "$dev" == "mc-yangtze" ] ; then
{% for gateway in gateways %}
{% if gateway.route_tail != "" %}
ip route add default {{gateway.route_tail}} table {{gateway.mark}}
ip rule add pref 301 fwmark {{gateway.mark}} lookup {{gateway.mark}}
{% endif %}
ip rule add pref 301 fwmark {{gateway.mark}} lookup {{gateway.mark}}
{% endfor %}
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment