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

    No acces to Internet when connected to oVPN

    Scheduled Pinned Locked Moved OpenVPN
    28 Posts 3 Posters 2.6k 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.
    • Bob.DigB
      Bob.Dig LAYER 8 @Gamienator 0
      last edited by

      @gamienator-0 I can't follow anymore. Maybe @viragomann is still on board. ๐Ÿ˜…

      Gamienator 0G 1 Reply Last reply Reply Quote 0
      • Gamienator 0G
        Gamienator 0 @Bob.Dig
        last edited by Gamienator 0

        @bob-dig

        Alright:

        Internal Network on my pfSense: 10.0.0.0/21 and the pfsense got LAN 10.0.7.1.

        I'm outside of my home, and connecting to the oVPN Server. The oVPN Network is 10.9.0.0/24, and my windows client, which I'm connecting via the OpenVPN Client receives the IP-Address 10.9.0.2.

        What else are you confused? I'm more then happy to clarify that :)

        Aaah I see, I had a typo in my previous post. Sorry. I edited that

        1 Reply Last reply Reply Quote 0
        • Gamienator 0G
          Gamienator 0 @viragomann
          last edited by Gamienator 0

          @viragomann Here is the Packet Capture. So there is something going in ๐Ÿค”
          OpenVPN Server.zip

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

            @gamienator-0
            Can only find pings to 8.8.8.8, but not to 216.58.212.163.
            Did you try?
            If yes, it are presumably not routed over the VPN indeed or simply blocked anywhere.

            Gamienator 0G 1 Reply Last reply Reply Quote 0
            • Gamienator 0G
              Gamienator 0 @viragomann
              last edited by

              @viragomann I did try it on that record. So year, it seems like it get blocked ... but why? On the systemlogs Firewall I see only this couple of entrys:

              e45adc1b-1703-4666-8ed5-d87d2f237e56-grafik.png

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

                @gamienator-0
                No, not on pfSense. If it was blocked on pfSense you would at least see the packets on the OpenVPN interface though.

                So I assume, the traffic is either blocked on the client or routed out to another gateway. However, according to the routing table the latter shouldn't be the case.

                Gamienator 0G 1 Reply Last reply Reply Quote 0
                • Gamienator 0G
                  Gamienator 0 @viragomann
                  last edited by

                  @viragomann Okay ... but thats weird, since I got this issue on different client, even an iPhone aswell.

                  So I guess there are two options: I try to complete wipe the oVPN Server on the pfSense, rebuild the complete pfSense or move the oVPN server to a small VM and passthrough the Port ๐Ÿค”

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

                    @gamienator-0 said in No acces to Internet when connected to oVPN:

                    Okay ... but thats weird, since I got this issue on different client

                    Yes, it is.

                    Did you try to ping the IP 216.58.212.163, not the host name?
                    Consider that the IP you get from DNS for the host name may change.

                    The VPN server should run on the router which is the default gateway, otherwise the routing configuration is more complex.

                    Gamienator 0G 1 Reply Last reply Reply Quote 0
                    • Gamienator 0G
                      Gamienator 0 @viragomann
                      last edited by

                      @viragomann Yes I tried to ping that directly aswell, without success sadly

                      1 Reply Last reply Reply Quote 0
                      • Gamienator 0G
                        Gamienator 0
                        last edited by Gamienator 0

                        Hey everyone,

                        I found a very interesting Scenario.

                        Just to recap: my home pfSense Box has 1 OpenVPN Server and 4 OpenVPN Clients configured.

                        I needed to connect to my the pfSense at home via OpenVPN to check something and I noticed, that I was able to browse through the Internet. Which shocked me, and I thought well, maybe my reboot fixed it. Afteer a short investigation I noticed that my pfSense stopped the OpenVPN Client, so it wasn't connecting to the openVPN Servers which I configured.

                        b0390a99-44bc-468e-be9c-fa3a40947149-grafik.png

                        After starting the clients on my pfSense I connected to my pfSense via iPhpne: And then I wasn't able to browse the internet. Deactivating the clients helped: my iPhone had access to the internet.

                        Can anybody explain to me what on earth is happening?


                        Edit: Holy ... I fixed it!

                        After defining in the catch all Rule of the OpenVPN Interface the default gateway every client can now acces the internet.

                        87be3dd7-b8e1-4fd1-8126-5c4a24d90bee-grafik.png

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