Advertisement
axezkode

Mikrotik PIA Over IPSEC

May 9th, 2019
451
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. /interface l2tp-client add connect-to="us-east.privateinternetaccess.com" user=xxxx password=xxxx ipsec-secret=mysafety
  2. /ip firewall nat add chain=srcnat out-interface=l2tp-pia action=masquerade
  3. /ip firewall mangle add src-address=192.168.10.0/24 action=mark-routing new-routing-mark=to-pia
  4. /ip route add dst-address=0.0.0.0/0 gateway=l2tp-pia routing-mark=to-pia
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement