Commit 930ca98c authored by Vitaly Lipatov's avatar Vitaly Lipatov

enable SNAT for ns4 when we have Prometey only

parent b2c9239d
......@@ -28,3 +28,6 @@ ip rule del to 85.143.133.46 lookup hop
ip rule add to 85.143.133.46 lookup hop
#./transmission.sh --no-alt-speed
# delete rule for ns4
iptables -t nat -D POSTROUTING -o inet2 -s 212.176.200.18 -j SNAT --to-source 91.232.225.1
......@@ -12,4 +12,7 @@ ip route replace default scope global table hop via 85.235.198.25
ip rule del from 91.232.225.62 && ip rule del from 91.232.225.62
ip rule add from 91.232.225.62 lookup prometey
# replace source for ns4 when we have no Ekvant
iptables -t nat -A POSTROUTING -o inet2 -s 212.176.200.18 -j SNAT --to-source 91.232.225.1
#./transmission.sh --alt-speed
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