Hello.
If you wanna use PPTP VPN on VyOS, refer this configuration example.
[PPTP setup]
set vpn pptp remote-access authentication local-users username USERNAME password PASSWORD
set vpn pptp remote-access authentication mode local
set vpn pptp remote-access authentication require mschap-v2
set vpn pptp remote-access client-ip-pool start 192.168.1.161
set vpn pptp remote-access client-ip-pool stop 192.168.1.170
set vpn pptp remote-access dns-servers server-1 168.126.63.1
set vpn pptp remote-access dns-servers server-2 8.8.8.8
set vpn pptp remote-access outside-address GLOBAL_IP_ADDRESS
[Firewall setup]
set firewall name OUTSIDE-LOCAL default-action drop
set firewall name OUTSIDE-LOCAL rule 10 action accept
set firewall name OUTSIDE-LOCAL rule 10 state established enable
set firewall name OUTSIDE-LOCAL rule 10 state related enable
set firewall name OUTSIDE-LOCAL rule 50 action accept
set firewall name OUTSIDE-LOCAL rule 50 description "Allow PPTP access from the Internet"
set firewall name OUTSIDE-LOCAL rule 50 destination port 1723
set firewall name OUTSIDE-LOCAL rule 50 protocol tcp
set firewall name OUTSIDE-LOCAL rule 51 action accept
set firewall name OUTSIDE-LOCAL rule 51 description "Allow PPTP access from the Internet"
set firewall name OUTSIDE-LOCAL rule 51 protocol gre
set interfaces ethernet eth0 firewall local name OUTSIDE-LOCAL
Reference
http://vyos.net/wiki/PPTP_server
Good luck!
No comments:
Post a Comment