Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /ppp profile
- add change-tcp-mss=yes local-address=192.168.7.22 name=statix
- /interface l2tp-client
- add connect-to=labo.com disabled=no mrru=1600 name=statix password=1 profile=statix user=1
- /ip firewall mangle
- add action=mark-connection chain=input comment=Statix-in in-interface=statix \
- new-connection-mark=statix-in
- add action=mark-routing chain=output comment=Statix-out connection-mark=\
- statix-in new-routing-mark=statix-out passthrough=no
- add action=mark-connection chain=forward connection-state=new in-interface=\
- statix new-connection-mark=statix_conn
- add action=mark-routing chain=prerouting connection-mark=statix_conn \
- in-interface=all-ethernet new-routing-mark=to_statix
- /ip route
- add check-gateway=ping distance=1 gateway=statix routing-mark=statix-out
- add distance=1 gateway=statix routing-mark=to_statix
- /ip neighbor discovery set statix discover=no
- /system script
- add name=ka owner=admin policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive source=\
- "/ping 192.168.7.1 count=5 interface=statix"
- /system scheduler
- add interval=10s name=ka on-event=ka policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive \
- start-time=startup
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement