hwdsl2 / setup-ipsec-vpn

Scripts to build your own IPsec VPN server, with IPsec/L2TP, Cisco IPsec and IKEv2
Other
25.27k stars 6.32k forks source link

how to change the listen port(default 1701) #942

Closed hawkcraw closed 3 years ago

hawkcraw commented 3 years ago

how to change the listen port(default 1701)

hwdsl2 commented 3 years ago

@hawkcraw Hello! Changing the listening port is not supported. By default, Libreswan (IPsec) listens on UDP ports 500 and 4500, while xl2tpd listens on UDP port 1701.