Advertisement
Guest User

Untitled

a guest
Jan 18th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.87 KB | None | 0 0
  1. /ip route
  2. add disabled=yes distance=1 gateway=8.8.8.8 routing-mark=dialog
  3. add disabled=yes distance=2 gateway=8.8.4.4 routing-mark=dialog
  4. add disabled=yes distance=1 gateway=8.8.4.4 routing-mark=etype
  5. add disabled=yes distance=2 gateway=8.8.8.8 routing-mark=etype
  6. add check-gateway=ping distance=1 gateway=8.8.8.8 routing-mark=dialog-route
  7. add distance=2 gateway=8.8.4.4 routing-mark=dialog-route
  8. add check-gateway=ping distance=1 gateway=8.8.4.4 routing-mark=etype-route
  9. add distance=2 gateway=8.8.8.8 routing-mark=etype-route
  10. add check-gateway=ping comment="cause routeros bug (cheking gateway by ping doesn't work with routing balancing)" disabled=yes distance=1 gateway=8.8.8.8
  11. add check-gateway=ping comment="cause routeros bug (cheking gateway by ping doesn't work with routing balancing)" disabled=yes distance=1 gateway=8.8.4.4
  12. add check-gateway=ping disabled=yes distance=1 gateway=8.8.8.8
  13. add check-gateway=ping disabled=yes distance=1 gateway=8.8.4.4
  14. add check-gateway=ping disabled=yes distance=1 gateway=8.8.8.8,8.8.4.4
  15. add distance=1 dst-address=8.8.4.4/32 gateway=109.237.2.73 scope=10
  16. add disabled=yes distance=1 dst-address=8.8.4.4/32 gateway=109.237.2.73 scope=10
  17. add distance=1 dst-address=8.8.8.8/32 gateway=83.219.140.209 scope=10
  18. add disabled=yes distance=1 dst-address=8.8.8.8/32 gateway=83.219.140.209 scope=10
  19. add comment=web.telegram.org distance=1 dst-address=149.154.167.0/24 gateway=8.8.8.8 scope=5
  20.  
  21. /ip firewall mangle
  22. add action=mark-connection chain=input disabled=yes in-interface=04-ISP-Etype new-connection-mark=ISP-Etype passthrough=yes
  23. add action=mark-routing chain=output connection-mark=ISP-Dialog disabled=yes new-routing-mark=dialog passthrough=no
  24. add action=mark-routing chain=output connection-mark=ISP-Etype disabled=yes new-routing-mark=etype passthrough=no
  25. add action=mark-connection chain=forward disabled=yes in-interface=05-ISP-Dialog new-connection-mark=ISP-Dialog passthrough=no
  26. add action=mark-routing chain=prerouting connection-mark=ISP-Dialog disabled=yes dst-address=!192.168.0.0/24 in-interface=bridge_LAN new-routing-mark=dialog passthrough=\
  27. no per-connection-classifier=src-address:2/0
  28. add action=mark-connection chain=forward disabled=yes in-interface=04-ISP-Etype new-connection-mark=ISP-Etype passthrough=no
  29. add action=mark-routing chain=prerouting connection-mark=ISP-Etype disabled=yes dst-address=!192.168.0.0/24 in-interface=bridge_LAN new-routing-mark=etype passthrough=no \
  30. per-connection-classifier=src-address:2/1
  31. add action=mark-routing chain=prerouting disabled=yes dst-address=!192.168.0.0/24 in-interface=bridge_LAN new-routing-mark=dialog passthrough=yes src-address=192.168.0.30
  32. add action=mark-connection chain=input disabled=yes in-interface=05-ISP-Dialog new-connection-mark=ISP-Dialog passthrough=yes
  33. add action=mark-connection chain=input in-interface=05-ISP-Dialog new-connection-mark=dialog-conn passthrough=yes
  34. add action=mark-connection chain=input in-interface=04-ISP-Etype new-connection-mark=etype-conn passthrough=yes
  35. add action=mark-routing chain=output connection-mark=dialog-conn new-routing-mark=dialog-route passthrough=no
  36. add action=mark-routing chain=output connection-mark=etype-conn new-routing-mark=etype-route passthrough=no
  37. add action=mark-connection chain=forward in-interface=05-ISP-Dialog new-connection-mark=dialog-conn-f passthrough=no per-connection-classifier=src-address:2/0
  38. add action=mark-connection chain=forward in-interface=04-ISP-Etype new-connection-mark=etype-conn-f passthrough=no per-connection-classifier=src-address:2/1
  39. add action=mark-routing chain=prerouting connection-mark=dialog-conn-f in-interface=bridge_LAN new-routing-mark=dialog-route passthrough=yes per-connection-classifier=\
  40. src-address:2/0
  41. add action=mark-routing chain=prerouting connection-mark=etype-conn-f in-interface=bridge_LAN new-routing-mark=etype-route passthrough=yes per-connection-classifier=\
  42. src-address:2/1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement