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

    Strange behavior

    Scheduled Pinned Locked Moved Off-Topic & Non-Support Discussion
    11 Posts 3 Posters 4.8k 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.
    • A
      AceStrider1
      last edited by

      Hi Everyone,

      I got an unusual problem.  Every other network traffic request seems to be dropped.

      A picture of my setup, although the tunnel is really 172.16.11.0/24
      http://ncsu.adancalderon.net/pfsense/setup.jpg

      A short 1.6 MB Video showing my problems
      http://ncsu.adancalderon.net/pfsense/Strange%20pfSense%20results.mp4

      Any Ideas?

      Thanks,
      Adan

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        I would expect this if you are load balancing two WAN connections in a round-robin manner while one of them has no route but thinks it does.
        From your diagram possibly alternate packets (while pinging) are sent via the WAN connection directly or via the VPN.

        Steve

        1 Reply Last reply Reply Quote 0
        • A
          AceStrider1
          last edited by

          Thanks for the input Steve.  I have a very simple setup, only one WAN interface.

          Here are screen shots of my configuration

          Firewall->NAT-> Port Forward http://ncsu.adancalderon.net/pfsense/Firewall.NAT.Port_Forward.png

          Firewall->NAT->Outbound http://ncsu.adancalderon.net/pfsense/Firewall.NAT.Outbound.png

          Firewall->Rules->WAN http://ncsu.adancalderon.net/pfsense/Firewall.Rules.WAN.png

          Firewall->Rules->LAN http://ncsu.adancalderon.net/pfsense/Firewall.Rules.LAN.png

          Firewall->Rules->OpenVPN http://ncsu.adancalderon.net/pfsense/Firewall.Rules.OpenVPN.png

          VPN->OpenVPN->Client Part A http://ncsu.adancalderon.net/pfsense/VPN.OpenVPN.Client_a.png

          VPN->OpenVPN->Client Part B http://ncsu.adancalderon.net/pfsense/VPN.OpenVPN.Client_b.png

          If anyone knows anything else I can provide that would help diagnose the cause, please let me know.

          Thank you,

          Adan

          1 Reply Last reply Reply Quote 0
          • chpalmerC
            chpalmer
            last edited by

            I can tell you that I have my OpenVPN set up a little bit different than you do.

            No outbound NAT set up for VPN.

            Instead- "Remote Network" = the remote network subnet.  yours- http://ncsu.adancalderon.net/pfsense/VPN.OpenVPN.Client_b.png

            My OpenVPN firewall rules are spelled out and not just *.

            Triggering snowflakes one by one..
            Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

            1 Reply Last reply Reply Quote 0
            • A
              AceStrider1
              last edited by

              Thanks  ;D, All I did was add the remote network where I had it blank before and all seems to work now.

              I am going to try to add another VPN tunnel to another network and see if it keeps working.

              Thanks a lot,

              Adan

              1 Reply Last reply Reply Quote 0
              • A
                AceStrider1
                last edited by

                Sorry, fast call.  I seems to have stopped working again.  I also could not get two OpenVPN tunnels going either.  I'll be trying again.

                1 Reply Last reply Reply Quote 0
                • A
                  AceStrider1
                  last edited by

                  Hi All,

                  I got a whole lot more details as to what actually leads to my condition.  When I added in the Remote network inside the OpenVPN Client settings, something changed that forced the system to start behaving as expected. I then proceeded and add another OpenVPN client.  These settings are near identical, except for the Remote Network, Tunnel Network, Certs, and CAs.  When I have two clients running is when things break. http://ncsu.adancalderon.net/pfsense/Status.OpenVPN.png
                  http://ncsu.adancalderon.net/pfsense/OpenVPN.Client_tab.png

                  Pings work every other attempt. So then I go a head and Disable one of the OpenVPN Clients.
                  http://ncsu.adancalderon.net/pfsense/OpenVPN.Client_tab_onlyone.png
                  But things remain the same.

                  If however I go ahead and change the Remote Network Setting on the active client, by either removing it or adding it back in; then something will happen that will allow things to work correctly.

                  I think this is causing something to restart because a reboot on the whole box with only one OpenVPN client enabled will also allow things to work.

                  These are how my Manual Outbound NAT Rules look
                  http://ncsu.adancalderon.net/pfsense/Firewall.NAT.Outbound_new.png

                  Does anyone have any ideas on what else I could try?

                  Thank you,

                  Adan

                  1 Reply Last reply Reply Quote 0
                  • chpalmerC
                    chpalmer
                    last edited by

                    Get rid of the outbound NAT for OpenVPN.  I dont have them and it works fine.  I think your confusing your system by having them there.

                    I also have two different connections coming in here.

                    Triggering snowflakes one by one..
                    Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

                    1 Reply Last reply Reply Quote 0
                    • A
                      AceStrider1
                      last edited by

                      Without Manual outboud NAT there is no routing at all to the other network.  I believe if I set this up as a site to site VPN where I broadcast on the client that I route my lan then it will work with automatic, but that is not what I want.  I do not want to route back for the remote lans.
                      :-\

                      I am still not certain if there is any other way to do this.  Is there anything wrong with my logic about how I am trying to do this?  It seemed like it was a straight forward thing.

                      Thanks,
                      Adan

                      1 Reply Last reply Reply Quote 0
                      • chpalmerC
                        chpalmer
                        last edited by

                        there is no routing at all to the other network

                        Thats what the "Remote Network" on the OpenVPN page takes care of.

                        Ill post some screenshots later but it works as advertised here.  :)

                        Triggering snowflakes one by one..
                        Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

                        1 Reply Last reply Reply Quote 0
                        • A
                          AceStrider1
                          last edited by

                          I took a break from this, but I still have not got this going.  If anyone has any suggestions on the issue, please let me know.  I suppose it's time to keep trying different things.  :-\

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