Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Can't change openVPN port

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 2 Posters 3.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      marc
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • M
        Monoecus
        last edited by

        Did you also adapt the port forwarding NAT rules?

        1 Reply Last reply Reply Quote 0
        • M
          marc
          last edited by

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

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.