Advertisement
Guest User

Untitled

a guest
May 18th, 2018
1,150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.43 KB | None | 0 0
  1. @moneron открой секрет ровного SSTP.
  2.  
  3. /interface pppoe-client
  4. add add-default-route=yes allow=chap,mschap1,mschap2 disabled=no interface=ether1 name=INTERNET-ADSL password=password  user=userpppoe
  5.  
  6. /interface sstp-client
  7. add authentication=mschap2 connect-to=s100401.pointtoserver.com disabled=no keepalive-timeout=30 max-mtu=1000 name=PureVPN-SSTP password=password profile=default-encryption user=purevpnuser
  8.  
  9. /ppp profile
  10. add change-tcp-mss=no name=pppoe-without-change-mss use-compression=no use-encryption=no use-mpls=no use-upnp=no
  11. add change-tcp-mss=no name=sstp-without-change-mss use-compression=no use-encryption=no use-mpls=no use-upnp=no
  12.  
  13. /ip firewall mangle
  14. add action=mark-routing chain=prerouting new-routing-mark=PureVPN-SSTP passthrough=yes src-address=172.12.0.250-172.12.0.254
  15. add action=change-ttl chain=prerouting new-ttl=increment:1 passthrough=yes
  16. add action=change-mss chain=forward in-interface=INTERNET-ADSL new-mss=1452 passthrough=no protocol=tcp tcp-flags=syn tcp-mss=1453-65535
  17. add action=change-mss chain=forward new-mss=1452 out-interface=INTERNET-ADSL passthrough=no protocol=tcp tcp-flags=syn tcp-mss=1453-65535
  18. add action=change-mss chain=forward new-mss=1300 out-interface=PureVPN-SSTP passthrough=yes protocol=tcp tcp-flags=syn tcp-mss=1301-65535
  19. add action=change-mss chain=forward in-interface=PureVPN-SSTP new-mss=1300 passthrough=yes protocol=tcp tcp-flags=syn tcp-mss=1301-65535
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement