Advertisement
Guest User

Untitled

a guest
Sep 6th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. /ppp profile
  2. add change-tcp-mss=yes local-address=192.168.7.22 name=statix
  3. /interface l2tp-client
  4. add connect-to=labo.com disabled=no mrru=1600 name=statix password=1 profile=statix user=1
  5. /ip firewall mangle
  6. add action=mark-connection chain=input comment=Statix-in in-interface=statix \
  7. new-connection-mark=statix-in
  8. add action=mark-routing chain=output comment=Statix-out connection-mark=\
  9. statix-in new-routing-mark=statix-out passthrough=no
  10. add action=mark-connection chain=forward connection-state=new in-interface=\
  11. statix new-connection-mark=statix_conn
  12. add action=mark-routing chain=prerouting connection-mark=statix_conn \
  13. in-interface=all-ethernet new-routing-mark=to_statix
  14. /ip route
  15. add check-gateway=ping distance=1 gateway=statix routing-mark=statix-out
  16. add distance=1 gateway=statix routing-mark=to_statix
  17. /ip neighbor discovery set statix discover=no
  18. /system script
  19. add name=ka owner=admin policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive source=\
  20. "/ping 192.168.7.1 count=5 interface=statix"
  21. /system scheduler
  22. add interval=10s name=ka on-event=ka policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive \
  23. start-time=startup
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement