Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ip route
- add dst-address=194.28.72.6 gateway=xxx.xxx.xxx.xxx
- add dst-address=194.28.72.9 gateway=xxx.xxx.xxx.xxx
- /interface
- l2tp-client add connect-to=194.28.72.6 user=XXXX password=YYYY disabled=no add-default-route=yes
- /ip firewall
- nat add chain=srcnat action=masquerade out-interface=l2tp-out1
- filter add action=drop in-interface=l2tp-out1 chain=input place-before=3
- filter add action=drop in-interface=l2tp-out1 chain=forward place-before=7 connection-nat-state=!dstnat connection-state=new
- /routing igmp-proxy interface
- add alternative-subnets=0.0.0.0/0 interface=l2tp-out1 upstream=yes
- add interface=bridge
- /ip firewall filter
- add chain=input in-interface=l2tp-out1 protocol=igmp action=accept place-before=3
- add chain=input protocol=udp dst-port=1234 action=accept place-before=4
- add chain=forward protocol=udp dst-port=1234 action=accept place-before=5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement