Advertisement
Guest User

Untitled

a guest
Aug 14th, 2016
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.99 KB | None | 0 0
  1. /interface l2tp-client
  2. add add-default-route=no allow=mschap2 allow-fast-path=yes connect-to=91.105.236.205 ipsec-secret=incloaknetwork mrru=1600 name=l2tp-out-incloak password=\
  3. 45763075524009 user=45763075524009
  4.  
  5. /ip firewall filter
  6. add action=drop chain=input in-interface=l2tp-out-incloak
  7. add action=drop chain=forward connection-nat-state=!dstnat connection-state=new in-interface=l2tp-out-incloak
  8.  
  9. /ip firewall mangle
  10. add action=mark-routing chain=prerouting dst-address-list=akamai-netblocks new-routing-mark=through-vpn passthrough=yes
  11. add action=mark-routing chain=prerouting dst-address-list=google-netblocks new-routing-mark=through-vpn passthrough=yes
  12. add action=change-ttl chain=prerouting disabled=yes dst-address-list=akamai-netblocks new-ttl=increment:1 passthrough=yes
  13. add action=change-ttl chain=prerouting disabled=yes dst-address-list=google-netblocks new-ttl=increment:1 passthrough=yes
  14.  
  15. /ip firewall address-list
  16. # Akamai (NVidia)
  17. add address=2.19.112.0/20 list=akamai-netblocks
  18. # Akamai (Nvidia, Steam)
  19. add address=2.17.160.0/20 list=akamai-netblocks
  20. # Google
  21. add address=64.18.0.0/20 list=google-netblocks
  22. add address=64.233.160.0/19 list=google-netblocks
  23. add address=66.102.0.0/20 list=google-netblocks
  24. add address=66.249.80.0/20 list=google-netblocks
  25. add address=72.14.192.0/18 list=google-netblocks
  26. add address=74.125.0.0/16 list=google-netblocks
  27. add address=108.177.8.0/21 list=google-netblocks
  28. add address=172.217.0.0/19 list=google-netblocks
  29. add address=173.194.0.0/16 list=google-netblocks
  30. add address=207.126.144.0/20 list=google-netblocks
  31. add address=209.85.128.0/17 list=google-netblocks
  32. add address=216.58.192.0/19 list=google-netblocks
  33. add address=216.239.32.0/19 list=google-netblocks
  34.  
  35. /ip firewall nat
  36. add action=masquerade chain=srcnat out-interface=l2tp-out-incloak
  37.  
  38. /ip route
  39. add distance=1 gateway=l2tp-out-incloak routing-mark=through-vpn
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement