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

    openvpn connection initailised but no connection go throw it.

    Scheduled Pinned Locked Moved OpenVPN
    6 Posts 2 Posters 602 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.
    • M
      Me.Yro
      last edited by

      Hello evry one.
      My tepology is so simple, i have LANnetwork and WAN network connected to my Pfesebse, Am traying to connect a subnet (192.168.5.0/24) to Openvpn server and another subnet(192.168.48.0/24) to another openvpn Server. i read the guid and i made all instraction on the documentation.(Ca auth, cert and key of the client and configuration of client ...) my Openvpn interface is up and it have the address 10.8.0.45 and the getway 10.8.0.63 after that i add NAT and firewall rules to redirect the trafic to openvpn interface. evrything going well however no connection to internet.
      after hours of troubelsouting, the last thing i test is when i go to Diagnostics/Ping when i ping 8.8.8.8 from WAN interface i had answer( mean that there connection ) but when i choose OPT1 interface like a source i have a time out and no connection to 8.8.8.8.
      Pfsense Version : 2.4.5 released.
      Thank you

      V 1 Reply Last reply Reply Quote 0
      • V
        viragomann @Me.Yro
        last edited by

        @me-yro
        Did you add an outbound NAT rule to the VPN interface?

        M 1 Reply Last reply Reply Quote 0
        • M
          Me.Yro @viragomann
          last edited by

          @viragomann Yeah, I did That.! Capture d’écran (4).png
          in addition i tried a lot of NAT configuration but nothing .

          V 1 Reply Last reply Reply Quote 0
          • V
            viragomann @Me.Yro
            last edited by

            @me-yro
            To get you right, you want to set up a site-to-site connection, between 192.168.5.0/24 at local and 192.168.48.0/24 at remote site? This connection is already working, but you have no internet from the local network.

            Interestingly the network 192.168.5.0/24 isn't shown in your Outbound NAT rules. So I suspect it is not configured correctly.

            From where is the internet unrechable? Any local device?

            Do you intend to direct the upstream traffic over the VPN?

            M 1 Reply Last reply Reply Quote 0
            • M
              Me.Yro @viragomann
              last edited by

              @viragomann thank you for replaying.
              yeah i wanna made two subnet the first one goes throw the first vpn and the second goes throw the second.
              however, when i made the correct configuration for the subnets nothing work ( no internet connection ) for that i start trooblshouting but nothing, For that i delete all old configuration and add a simple ones to see, so i want all my LAN traffic goes throw the VPN( i use VPNBook for that ).

              Thank you.

              V 1 Reply Last reply Reply Quote 0
              • V
                viragomann @Me.Yro
                last edited by

                @me-yro
                So you want to use a VPN service to access the internet.

                For now I cannot see that there is any of these subnets is defined on your pfSense interfaces.

                @me-yro said in openvpn connection initailised but no connection go throw it.:

                however, when i made the correct configuration for the subnets nothing work ( no internet connection )

                Since you don't show it there is no way to verify.

                Is your VPN up?
                In the VPN settings check "Don't pull routes".

                So you can configure your new subnet and let them go out to WAN first.
                If all is working add the outbound NAT proper rules to the VPN interfaces and add policy routing rules to direct the traffic out.

                If there are issues post more details of your settings.

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