Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set interface name
- ether proxy
- set ipaddress
- input ipproxy/subnet
- add ipproxy in address_list= /ip firewall address list= ipproxy name= proxy
- /ip routes
- add gateway = ip proxy
- distance = 1
- scope = 30
- target scope = 10
- routing_mark = via_squid
- ==========================================================
- /ip firewall mangle
- add chain = prerouting
- dst.address = !ip proxy/subnet
- protocol = tcp
- any port = 80,182,443
- in interface = !proxy
- add action = mark-routing
- new routing mark = via squid
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement