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

    Tutorial: Configuring pfSense as VPN client to Private Internet Access

    Scheduled Pinned Locked Moved OpenVPN
    348 Posts 99 Posters 440.5k 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.
    • B
      bj24
      last edited by

      This is very frustrating.

      I have it as you two have said as far as I can tell and it does not work as expected.

      Should I be concerned that the Gateway for the VPN shows offline?!

      What logs should I be looking at or screens? I have found another laptop to use as a tester so I stop losing internet when I test on myself. I have added its IP to the list with a Alias of IPs_Out_VPN.
      I have made a Lan rule with the Gateway selected to use the VPN.

      I restarted the 2 services.

      I test the computer, it still has my ISPs IP address and after a less than 2 minutes internet stops completely on it.

      Should I start to suspect PIA? Like I've wondered, the Gateway keeps going from online to offline.

      puzzled….

      1 Reply Last reply Reply Quote 0
      • DerelictD
        Derelict LAYER 8 Netgate
        last edited by

        Disable gateway monitoring on that gateway.

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

        1 Reply Last reply Reply Quote 0
        • B
          bj24
          last edited by

          Thank you, that has solved the gateway offline issue.

          However still no routing of IPs_Out_VPN to go out the VPN.

          progress!!…

          1 Reply Last reply Reply Quote 0
          • DerelictD
            Derelict LAYER 8 Netgate
            last edited by

            Why are your NAT entries back here: https://forum.pfsense.org/index.php?topic=76015.msg500950#msg500950 for 192.168.1.0 and your policy route is for 192.168.0.102?

            Chattanooga, Tennessee, USA
            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
            Do Not Chat For Help! NO_WAN_EGRESS(TM)

            1 Reply Last reply Reply Quote 0
            • B
              bj24
              last edited by

              I hope thats the issue. I corrected that to 192.168.0.0 but still nothing.

              Here is my updated NAT list, do I need to keep all 7?

              tested it now and still on the ISP IP.

              1 Reply Last reply Reply Quote 0
              • B
                bj24
                last edited by

                oops, heres the NAT list

                3.JPG
                3.JPG_thumb

                1 Reply Last reply Reply Quote 0
                • DerelictD
                  Derelict LAYER 8 Netgate
                  last edited by

                  What are the contents of alias BJENVY?

                  What is the IP address of the host you're testing from?

                  Is the VPN up?

                  Please post evidence so we can see everything is as it should be.

                  Chattanooga, Tennessee, USA
                  A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                  DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                  Do Not Chat For Help! NO_WAN_EGRESS(TM)

                  1 Reply Last reply Reply Quote 0
                  • B
                    bj24
                    last edited by

                    I have changed the alias name to IP_out_VPN, it has 2 ips in it 192.168.0.102 and .115

                    I am testing from both of those 2 IPs, 192.168.0.102 and .115

                    What is the best evidence that the VPN is up? I believe it is as far as I can see.

                    4.jpg
                    4.jpg_thumb

                    1 Reply Last reply Reply Quote 0
                    • DerelictD
                      Derelict LAYER 8 Netgate
                      last edited by

                      I guess I don't know.  You've got something wrong somewhere.  Delete it all and start over maybe.

                      Chattanooga, Tennessee, USA
                      A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                      DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                      Do Not Chat For Help! NO_WAN_EGRESS(TM)

                      1 Reply Last reply Reply Quote 0
                      • B
                        bj24
                        last edited by

                        :)

                        1 Reply Last reply Reply Quote 0
                        • B
                          bj24
                          last edited by

                          Will start fresh and see how it goes… cross your fingers  ;)

                          1 Reply Last reply Reply Quote 0
                          • B
                            bj24
                            last edited by

                            HOLD UP.  My last post I noticed my IP address in the lower right corner and it wasn't mine, it was the IP of the VPN!! So something is working.

                            I go to speedtest.net and it shows my current location and ISP IP.
                            I go to whatismyip.org and it shows my ISP IP and location.

                            What is going on? Why did my post or this forum recognize the VPN but nothing else seemingly?

                            steps forward…

                            1 Reply Last reply Reply Quote 0
                            • DerelictD
                              Derelict LAYER 8 Netgate
                              last edited by

                              There is nothing in your config that cares about the destination unless you're not telling us everything.  Is your VPN going up and down?  Lots of sites report IP addresses.  What does www.ipecho.net say?  What does www.wimi.com say?

                              Chattanooga, Tennessee, USA
                              A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                              DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                              Do Not Chat For Help! NO_WAN_EGRESS(TM)

                              1 Reply Last reply Reply Quote 0
                              • B
                                bj24
                                last edited by

                                Derelict,

                                What do you imply that I wouldn't be telling?

                                Every time I check the status of the VPN it is up and well. When I use the PC application the VPN is very stable. The logs for openVPN don't show anything strange.

                                Both of those site showed my ISP IP.

                                Any other logs I should be looking at?

                                1 Reply Last reply Reply Quote 0
                                • DerelictD
                                  Derelict LAYER 8 Netgate
                                  last edited by

                                  Status > OpenVPN has a connected since column.

                                  I say there's something else afoot because if there wasn't it would be working.

                                  Chattanooga, Tennessee, USA
                                  A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                                  DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                                  Do Not Chat For Help! NO_WAN_EGRESS(TM)

                                  1 Reply Last reply Reply Quote 0
                                  • B
                                    bj24
                                    last edited by

                                    I checked the connection time and it was up for almost a day now.

                                    I tried unchecking the "Don't add/remove routes" box. To my amazement when I checked the IP it was my VPN! How ever when I checked it on a PC that should be on the ISP is was showing the VPN. I changed it back.

                                    I tried checking "Don't pull routes" too but that didn't seem to help.

                                    1 Reply Last reply Reply Quote 0
                                    • B
                                      bj24
                                      last edited by

                                      If I use the website ipleak.net I get these results…

                                      Showing my ISP IP 50.*** and also my VPN IP 104.***

                                      what gives?

                                      Capture.JPG_thumb
                                      Capture.JPG

                                      1 Reply Last reply Reply Quote 0
                                      • DerelictD
                                        Derelict LAYER 8 Netgate
                                        last edited by

                                        Are you running squid?

                                        Chattanooga, Tennessee, USA
                                        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                                        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                                        Do Not Chat For Help! NO_WAN_EGRESS(TM)

                                        1 Reply Last reply Reply Quote 0
                                        • B
                                          bj24
                                          last edited by

                                          I do have squid

                                          1 Reply Last reply Reply Quote 0
                                          • DerelictD
                                            Derelict LAYER 8 Netgate
                                            last edited by

                                            @bj24:

                                            I do have squid

                                            You're on your own then.  Unbelievable.

                                            Chattanooga, Tennessee, USA
                                            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                                            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                                            Do Not Chat For Help! NO_WAN_EGRESS(TM)

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