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

    Changing the Tunnel Network on OpenVPN connection

    Scheduled Pinned Locked Moved OpenVPN
    6 Posts 3 Posters 729 Views 3 Watching
    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 Offline
      ca_maer
      last edited by

      Hey guys,

      I'm trying to change the Tunnel Network to use a different network. The VPN works fine but when changing the virtual network to something else I can connect but not access my internal LAN. The firewalls rule are all the same so that it rule's that out. The original OpenVPN settings were generated using the wizard.

      I think this is related to routing but from the pfsense doc we don't need to add static route for openvpn as they are automatically managed.

      I've tried the

      push "route 10.0.1.0 255.255.255.0";
      

      in the settings but to no avail. Plus it's working fine without it and when using the old virtual network

      The Force all client-generated IPv4 traffic through the tunnel. is also checked.

      I'm a little bit lost now. Is there another place I need to look/change ? Any ideas ?

      Cheers

      1 Reply Last reply Reply Quote 0
      • I Offline
        isolatedvirus
        last edited by

        Have you tried restarting the openvpn service?

        When you say the rules are all the same, do you mean on the OpenVPN interface (default allow all)?

        1 Reply Last reply Reply Quote 0
        • C Offline
          ca_maer
          last edited by

          Yes I've tried to restart the openvpn service but to no avail.

          When you say the rules are all the same, do you mean on the OpenVPN interface (default allow all)?

          Correct

          Outbound NAT is automatic therefore also ok

          1 Reply Last reply Reply Quote 0
          • RicoR Offline
            Rico LAYER 8 Rebel Alliance
            last edited by

            As long as your tunnel network does not conflict with any other of your subnets it should be easy to change.
            A good starting point is to check here: https://docs.netgate.com/pfsense/en/latest/book/openvpn/troubleshooting-openvpn.html

            -Rico

            C 1 Reply Last reply Reply Quote 1
            • C Offline
              ca_maer @Rico
              last edited by

              @rico Thanks for the help ! I was able to resolve it with the link you provided. The issue was an IPsec overlapping connection. Cheers !

              1 Reply Last reply Reply Quote 0
              • RicoR Offline
                Rico LAYER 8 Rebel Alliance
                last edited by

                Glad you have it working now.

                -Rico

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