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

    Server can't be client?

    OpenVPN
    2
    3
    1.5k
    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.
    • C
      cyruspy
      last edited by

      Hi, I'm trying to connect 3 sites like this:

      s1 –> s2 --> s3

      All of them are running pfSense 1.2.3.
      s2 and s3 are configured as openVPN servers.
      s1 is client of s2, works fine.
      s2 is configured as client of s3, doesn't work.

      When the client at s2 tries to start, the log gives "TCP/UDP: Socket bind failed on local address [undef]:1194: Address already in use". If I check the configuration generated at /var/etc/openvpn_client0.conf I can see that regarding the configured server port there's always a "lport 1194" parameter added to the configuration, but there's no way to override that from the GUI

      Edit: As a workaround, adding "lport 1195" as custom option makes the tunnel work, a few more lines on top of the config file, "lport 1194" is still added.

      1 Reply Last reply Reply Quote 0
      • GruensFroeschliG
        GruensFroeschli
        last edited by

        Setting the checkbox "Dynamic sourceport" on the client allows the OpenVPN process to use dynamically a different port.

        We do what we must, because we can.

        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

        1 Reply Last reply Reply Quote 0
        • C
          cyruspy
          last edited by

          @GruensFroeschli:

          Setting the checkbox "Dynamic sourceport" on the client allows the OpenVPN process to use dynamically a different port.

          Taking note…

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