Commit 43c6ee65 authored by nanahira's avatar nanahira

fix

parent db163cdc
......@@ -7,7 +7,7 @@ ip addr add "$localPeerAddress" peer "$remotePeerAddress" dev "$dev" scope link
ip addr add "$localPeerAddress6" peer "$remotePeerAddress6" dev "$dev" scope link
if [ "$outbound" == True ] ; then
ip route add default dev "$dev" table "$remoteNextMark"
ip route replace default dev "$dev" table "$remoteNextMark"
ip rule add fwmark "$remoteNextMark" table "$remoteNextMark" pref 300
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