Can't change openVPN port



  • Hi,

    Presently, I can connect to my openVPN server on pfSense trought the port udp 1194. I want to change it to another one because I can't connect from my job because of their firewall. I changed the port via th GUI in the openVPN setting to 941 and I changed the rule of my firewall in the same way. After changing the configuration file of my client, I can't connect anymore.

    Here's the last few lines of the openvpn server's log file :
    Initialization Sequence Completed
    ipadress:39906 Re-using SSL/TLS context
    ipadress:39906 LZO compression initialized
    TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
    ipadress:39906 TLS Error: TLS handshake faile

    thanks



  • Did you also adapt the port forwarding NAT rules?



  • I don't use port forwarding for this connection. I connect directly to the openVPN port which I added in the firewall rules.


Locked