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

    OpenVPN Server should listen to IPv4 & IPv6

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 2 Posters 484 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.
    • A
      Adrian0
      last edited by

      Hello,

      I've a setup with a working OpenVPN Server on pfSense. There are several IPs on my WAN interface and I want to bind the Server to a specific one. That works if I use IPv4 OR v6, but when I select both protocols, it in only possible to bind it to all available addresses. Thats bad because I can't create a second instance on the same port.

      Is there any possibility to create one OpenVPN server instance and bind it to one v4 and one v6 address?

      What I did so far:
      As workaround I use two OpenVPN Server instances. One for v4 and another one for v6. It is working, but a little nightmare to maintain. You need tunnel subnets for each instance and this affects firewall rules. Terrible.

      1 Reply Last reply Reply Quote 0
      • kiokomanK
        kiokoman LAYER 8
        last edited by

        it's an openvpn server limitation.
        https://community.openvpn.net/openvpn/ticket/556

        summary:
        it's on our radar since quite a while, but "complicated"
        there wasn't much traction, development is currently on halt, But I'd like to resume it at some point.

        ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
        Please do not use chat/PM to ask for help
        we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
        Don't forget to Upvote with the 👍 button for any post you find to be helpful.

        1 Reply Last reply Reply Quote 1
        • A
          Adrian0
          last edited by

          Wow, this "feature wish" was opened 5 (five) years ago. I would call it bug fix. So sad that dual stack is not understood as default for any node.

          Thanks kiokoman for the link.

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