Advertisement
Guest User

Untitled

a guest
Jun 3rd, 2018
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. /ppp profile add change-tcp-mss=yes comment="PIA VPN" \
  2. dns-server=209.222.18.222,209.222.18.218 name=privateinternetaccess \
  3. only-one=no use-compression=no use-encryption=required use-ipv6=no \
  4. use-mpls=no use-upnp=no
  5.  
  6. /interface l2tp-client add comment="PIA VPN Austria" \
  7. connect-to=austria.privateinternetaccess.com disabled=no \
  8. name=pia-au-l2tp password=[pass] \
  9. profile=privateinternetaccess user=[user]
  10.  
  11. /ip firewall mangle add action=mark-routing \
  12. chain=prerouting comment="PIA VPN Austria" \
  13. new-routing-mark="PPTP RM" passthrough=yes \
  14. src-address=192.168.88.2-192.168.88.254
  15.  
  16. /ip firewall nat add action=masquerade chain=srcnat \
  17. comment="PIA VPN Austria" out-interface=pia-au-l2tp
  18.  
  19. /ip route add comment="PIA VPN Austria" disabled=yes \
  20. distance=1 gateway=pia-au-l2tp routing-mark="PPTP RM"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement