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

    OpenVPN assigning interface not working

    Scheduled Pinned Locked Moved OpenVPN
    8 Posts 3 Posters 261 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.
    • N
      netgatech
      last edited by

      Hello,

      I am running OpenVPN on pfsense since years and now, for some need, I would like to assign an interface for it.

      I've followed the documentation here : https://docs.netgate.com/pfsense/en/latest/vpn/openvpn/assign.html

      But I have a problem... I have now the two following tabs in "Interfaces" :

      • OVPNInterface (the new OPT assigned interface)
      • OpenVPN (which is the default one)

      I have removed all rules in OpenVPN and put them on OVPNInterface. When I do that, I try to connect with my client device on pfsense and I have not any access anywhere... When I try to put a rule again on OpenVPN interface to allow traffic, it works.

      My conclusion is that the new interface is totally ignored by Openvpn despite the service restart and firewall reboot I've done.

      Anyone has an idea please ?

      Thank you.

      V 1 Reply Last reply Reply Quote 0
      • V
        viragomann @netgatech
        last edited by

        @netgatech
        Is the dedicated interface shown up in Status > Interface?
        And if it is can you post a screenshot, please?

        N 1 Reply Last reply Reply Quote 0
        • N
          netgatech @viragomann
          last edited by

          @viragomann Hello, thanks for your answer. For no reason, yesterday it started to work... I can't explain what I've missed but I have rebooted the FW one more time and tested again.

          For now, I have to solve the other issue I have; I can access LAN resources but not on internet. I saw I've to create NAT outbound rules but it's not so clear and what I tried is not working yet. I should miss something here...

          Thank you!

          GertjanG 1 Reply Last reply Reply Quote 0
          • GertjanG
            Gertjan @netgatech
            last edited by

            @netgatech said in OpenVPN assigning interface not working:

            can access LAN resources but not on internet. I saw I've to create NAT outbound rules but it's not so clear

            Make it clear :

            620e33fd-c94b-4b9a-aab0-1e57e6e7b6ed-image.png

            where 192.168.1.0/24 is my LAN
            192.168.2.0/24 is my second LAN
            192.168.100.0/24 is my third LAN
            192.168.3.0/24 is my OpenVPN server interface instance.

            I've created nothing.

            When I connect with my OpenVPN client to my pfSense OpenVPN server, I can visit LAN(s) and I'm using the Internet of pfSense (so I get into pfSense over the VPN, and that back out again to visit whatever).

            No "help me" PM's please. Use the forum, the community will thank you.
            Edit : and where are the logs ??

            N 1 Reply Last reply Reply Quote 0
            • N
              netgatech @Gertjan
              last edited by

              @Gertjan Hello, I've succeeded to make it works by creating a rule on OpenVPN (default tab) saying that all traffic that don't go to local subnet go to the default pfsense gateway and not the GW on new open vpn interface created.

              GertjanG 1 Reply Last reply Reply Quote 0
              • GertjanG
                Gertjan @netgatech
                last edited by Gertjan

                @netgatech

                My default OpenVPN page is completely empty :

                7e88eb46-c035-4078-bcaf-f3e8ed697028-image.png

                The OpenVPN server is bound to the VPNS interface :

                cb2cc06d-070b-4799-9ffe-d71ccb5dce24-image.png

                Rules : just one pass rule :

                ce74853d-7527-472f-99fc-ff1c53720988-image.png

                No "help me" PM's please. Use the forum, the community will thank you.
                Edit : and where are the logs ??

                N 1 Reply Last reply Reply Quote 0
                • N
                  netgatech @Gertjan
                  last edited by

                  @Gertjan Ok thanks but can you go on internet from clients using the vpn ?

                  GertjanG 1 Reply Last reply Reply Quote 0
                  • GertjanG
                    Gertjan @netgatech
                    last edited by

                    @netgatech said in OpenVPN assigning interface not working:

                    thanks but can you go on internet from clients using the vpn ?

                    I'm answering this post with my phone. The phone uses OpenVPN connect, and is a OpenVPN client.
                    I'm connected to the pfSense VPN server shown above.
                    So, yes 😊

                    No "help me" PM's please. Use the forum, the community will thank you.
                    Edit : and where are the logs ??

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