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

    No internet connectivity on WAN with valid public IP

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    13 Posts 4 Posters 15.1k 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.
    • K
      kejianshi
      last edited by

      Your WAN IP is public?

      1 Reply Last reply Reply Quote 0
      • P
        pfsense-tester
        last edited by

        Thank you for your reply.

        Yes, the WAN IP is public and available; we have a public IP-range from our ISP and working ISA-proxys, other Linux-firewalls and web- and mail-servers in this subnet.

        Both the WAN and LAN interfaces are reported as "online" on the web-dashboard; the gateway is shown as offline (since there is not network connectivity that is not surprising).

        Regards

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

          If the LAN is shown as 'online' does that mean you have put a gateway on it?
          If so remove it. Then go to System: Routing: Gateways: in the webgui and ensure the WAN is set as default.

          Another common issue is that FreeBSD sticks rigidly to the specs such that the WAN gateway must be in the WAN subnet. Both Linux and Windows have a more flexible approach.

          When you try to ping something on the WAN side what is the error given?

          Steve

          1 Reply Last reply Reply Quote 0
          • K
            kejianshi
            last edited by

            Going to need a gateway on the WAN to get internet.

            1 Reply Last reply Reply Quote 0
            • P
              pfsense-tester
              last edited by

              Hello,

              Thank you for your replies.

              The LAN has no gateway configured; the WAN has the correct gateway IP configured (which is actively being used by several other proxies in this subnet) and it is the default gateway in pfSense.

              The gateway is in the WAN subnet.

              Pinging the gateway (or any other IPs that can successfully be pinged from any other host in the WAN subnet) from pfSense results in 100% packet loss; the error message is "ping: sendto: Host is down".

              Does any of this help?

              Thanks,
              Karl

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

                Screenshot of WAN interface, LAN interface, WAN firewall rules, and LAN firewall rules, and NAT if you changed it to manual outbound.

                Are you pinging from the pfSense command line, the tool in Diagnostics, or a host on the LAN?

                A rule like this will permit outside to ping your WAN.  You can set source to "WAN net" if you want to limit it to just your WAN subnet.  Note that this has no effect on pinging out - but it might help you with the troubleshooting process.

                ![Screen Shot 2014-09-21 at 12.39.19 PM.png](/public/imported_attachments/1/Screen Shot 2014-09-21 at 12.39.19 PM.png)
                ![Screen Shot 2014-09-21 at 12.39.19 PM.png_thumb](/public/imported_attachments/1/Screen Shot 2014-09-21 at 12.39.19 PM.png_thumb)

                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
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  That ping response tells me that the pfSense box has a route to the hosts (or thinks it does) and can talk to its NIC hardware. Check the firewall logs for blocked ping responses. There shouldn't be any because it's an existing state.
                  This means that either the ping target isn't responding, maybe it has a software firewall or no route back to the pfSense box, or that it's responses are going to the wrong place, it has bad routing info or a bad subnet mask perhaps. Maybe the ping never reached the target, perhaps it's outside the subnet.
                  When you said the interface are reported as 'online' did you mean UP? (green arrow). The gateway reported offline is not surprising as you say. The apinger process used to monitor it uses pings. Check the Status: Interfaces: page for errors/collisions on the WAN. Since you are using static IPs it's harder to tell if any connectivity is present at all. What does 'ifconfig' report as the media status for the WAN?

                  Steve

                  1 Reply Last reply Reply Quote 0
                  • P
                    pfsense-tester
                    last edited by

                    @Derelict: I have changed no settings at all yet (after configuring the interfaces), it is an absolutely fresh install: WAN and LAN interfaces are both reported as "up". All ping-Tests are either done from the pfSense shell at the box itself or from the tool in diagnostics; the results are the same. I haven't tried pinging the WAN from outside yet because I expected it to be "locked-down" initially, that's why I started with my outbound tests.

                    @stephenw10: The media status for both interfaces in ifconfig is "active" and it recognizes when I pull the plug; both LAN and WAN are UP and have a green arrow. The WAN interface is directly connected to the switch with all other outside hosts that can be reached. E.g. there is a Windows Server on that subnet that replies to ping from any other host; my pfSense cannot reach it… No errors/collisions reported.

                    Regards

                    InterfaceStatus.png
                    InterfaceStatus.png_thumb

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

                      Anything in Diagnostics->ARP Table for the WAN interface that's interesting?

                      This stuff just works.  You have something misconfigured.  Is the pfSense switchport in the right VLAN?

                      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
                      • K
                        kejianshi
                        last edited by

                        I'd probably have to see most of your configuration and it looks like you are keeping it secret.

                        I can't tell more with all the black and without seeing probably most of your config.

                        What I saw didn't seem to have obvious problems, but I saw very little.

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

                          Is the WAN side switch layer 2 or 3? It looks like you have some basic connectivity issue here that would be obvious if you were using dhcp on the WAN but it's being hidden by the static addressing. As a test try setting the wan to dhcp and connecting it to some dhcp server.

                          Steve

                          1 Reply Last reply Reply Quote 0
                          • P
                            pfsense-tester
                            last edited by

                            Sorry for the delayed reply. After reading this:

                            @Derelict:

                            This stuff just works.

                            (which were my thoughts precisely!) we exchanged cables, changed the patching, and did tons of other stuff… in the end we had the network guys check the built-in cabling in the room we were working in: there were only four network sockets, two (!) of which were faulty...! A week earlier they said they had tested and everything had been fine!?

                            So: thanks everyone for your help and your time and sorry about the waste of time on your parts.

                            Regards
                            Karl

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