Commit 76ead71e authored by Vitaly Lipatov's avatar Vitaly Lipatov

change default in hope table instead change all rules

parent cdb700b5
......@@ -8,10 +8,10 @@ ip route replace default scope global table common via 212.176.192.226
ip route replace default scope global table hop nexthop via 212.176.192.226 weight 40 nexthop via 85.235.198.25 weight 60
# torrent client
ip rule del from 91.232.225.21 lookup hop
ip rule del from 91.232.225.21 lookup hop
ip rule del from 91.232.225.21 lookup hop
ip rule add from 91.232.225.21 lookup hop
# de01
......
......@@ -6,14 +6,8 @@ ip route replace default via 212.176.192.226
# Ekvant exports default to us, but we will repeat it
ip route replace default scope global table common via 212.176.192.226
# TODO: enable shaper for torrent and our remote backup servers
# remove hops for torrent client
ip rule del from 91.232.225.21 lookup hop
ip rule del from 91.232.225.21 lookup hop
ip rule del from 91.232.225.21 lookup hop
ip route replace default scope global table hop via 212.176.192.226
ip rule del to 144.76.183.114 lookup hop
ip rule del to 144.76.183.114 lookup hop
# TODO: enable shaper for torrent and our remote backup servers
ip rule del to 85.143.133.46 lookup hop
ip rule del to 85.143.133.46 lookup hop
./slow_transmission.sh
......@@ -6,13 +6,6 @@ ip route replace default via 85.235.198.25
# Prometey does not export default route for us
ip route replace default scope global table common via 85.235.198.25
# remove hops for torrent client
ip rule del from 91.232.225.21 lookup hop
ip rule del from 91.232.225.21 lookup hop
ip rule del from 91.232.225.21 lookup hop
ip route replace default scope global table hop via 85.235.198.25
ip rule del to 144.76.183.114 lookup hop
ip rule del to 144.76.183.114 lookup hop
ip rule del to 85.143.133.46 lookup hop
ip rule del to 85.143.133.46 lookup hop
./slow_transmission.sh
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