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

    OpenVPN via (temporary) LTE/4G (with static IPv6)

    Scheduled Pinned Locked Moved OpenVPN
    8 Posts 2 Posters 330 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.
    • S
      sven_apsware
      last edited by

      Dear all,
      due to moving to a new location, our standard internet access is currently down.
      Until this will be working, we're using a 4G modem to at least have internet.
      This should include our OpenVPN connection, which currently does not work and I'm out of ideas.

      We already booked a 'static' IPv6 via our ISP and tried to configure Interface and Gateway accordingly.
      But as of now it seems that the entire IPv6-based architecture does not work.
      (e.g. ipv6.google.com is not reachable)

      The hardware looks like this:

      4G Modem (Netgear Nighthawk M1) <-> ETH3 of our Netgate 7100 pfSense (v 23.05.1-RELEASE (amd64)) <-> intranet

      As I don't know which other information could be valuable from here, please ask for whatever info might be helpful.

      JKnottJ 1 Reply Last reply Reply Quote 0
      • JKnottJ
        JKnott @sven_apsware
        last edited by

        @sven_apsware

        First off, make sure IPv6 is working properly. Some cell companies don't do it properly even though 4G & 5G are supposed to support it. You can do that at test-ipv6.com. Then make sure you can do things like ping to that address. I have used OpenVPN over my cell phone, but that was with the cell phone the remote to my home, which has a cable connection. Also, is your OpenVPN configured to use IPv6 for the tunnel? I have mine configured to connect over both IPv4 and IPv6 and also carry both in the tunnel. I had to use "UDP IPv4 and IPv6 on all interfaces (multihome)" for the protocol.

        PfSense running on Qotom mini PC
        i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
        UniFi AC-Lite access point

        I haven't lost my mind. It's around here...somewhere...

        1 Reply Last reply Reply Quote 1
        • S
          sven_apsware
          last edited by

          At least from ISP side this seems to be working fine.
          If I connect the Modem directly to my notebook, test-ipv6.com shows success with a score of 10/10.

          When I connect it back to the pfsense though, only IPv4 is working.
          So for now I suppose this is not an OpenVPN related issue but the network in it's entirety.

          I'm just a bit unsure what the best sub might be to post/move this - Routing, Firewalling or potentially somewhere else?

          JKnottJ 1 Reply Last reply Reply Quote 0
          • JKnottJ
            JKnott @sven_apsware
            last edited by

            @sven_apsware said in OpenVPN via (temporary) LTE/4G (with static IPv6):

            When I connect it back to the pfsense though, only IPv4 is working

            Have you configured your OpenVPN server to use both IPv4 and IPv6, as I described above?

            PfSense running on Qotom mini PC
            i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
            UniFi AC-Lite access point

            I haven't lost my mind. It's around here...somewhere...

            S 1 Reply Last reply Reply Quote 0
            • S
              sven_apsware @JKnott
              last edited by

              @JKnott we tried to - but currently we're working on getting the internet connection with IPv6 to work - this seems to be the primary root cause atm.

              JKnottJ 1 Reply Last reply Reply Quote 0
              • JKnottJ
                JKnott @sven_apsware
                last edited by

                @sven_apsware

                Then your VPN has to be configured for IPv6. Is it? I haven't seen much about your config. Another reason for using the config I suggested is it will work through any interface. This means you can test your VPN over your LAN, instead of having to come in through the WAN.

                When I connect it back to the pfsense though, only IPv4 is working.

                This makes me think you've configured your VPN for IPv4 only. Change your protocol to what I suggested and I suspect your problem will go away. That protocol is what is used to connect the VPN. There are some other settings for the IPv6 prefix further down the page.

                One other thing, are you receiving a prefix from the cell network? You need that to have IPv6 on the local network. Do you have IPv6, from your ISP, on your LAN? However, that would not prevent the VPN from connecting. I haven't heard of getting a prefix on a wireless connection, though I suspect it's possible. This would depend on the cell company providing an appropriate APN.

                PfSense running on Qotom mini PC
                i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                UniFi AC-Lite access point

                I haven't lost my mind. It's around here...somewhere...

                S 1 Reply Last reply Reply Quote 0
                • S
                  sven_apsware @JKnott
                  last edited by

                  @JKnott OpenVPN was configured for v4 only but we changed it to accepting both and back again.
                  We just learned that the 4G router simply is not 100% IPv6 compliant and does not pass the v6 IP through.
                  Neither works prefix delegation.
                  For now, we just ordered a rather simple industrial standard 4G gateway and will continue with that.

                  1 Reply Last reply Reply Quote 0
                  • S
                    sven_apsware
                    last edited by

                    Problem has been solved by using a secondary pfSense instance on a VPS, thanks

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