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

    No internet connection

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 3 Posters 1.2k 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.
    • N Offline
      NickM
      last edited by

      Hi Guys,
      I have installed latest pfsense and this is the scenario:
      em0 - wan (DHCP)
      em1 - lan (192.168.0.1/24)

      WAN interface gets ip and gw from dhcp server, but for some reason it has no internet connection. While i try to ping my DHCP GW i get reply, as well as while pinging DNS servers (i have 3 on my network). Checked routes table and they are the default ones generated by pfsense.

      I have tested that network cable on another Vbox pfsense test machine and it worked like a charm.
      Can anyone think why internet is not working?

      1 Reply Last reply Reply Quote 0
      • KOMK Offline
        KOM
        last edited by

        Are you testing from WAN or LAN?  If LAN, make sure you do NOT have a gateway defined.  Very common mistake, and it breaks Internet connectivity.

        1 Reply Last reply Reply Quote 0
        • N Offline
          NickM
          last edited by

          @KOM:

          Are you testing from WAN or LAN?  If LAN, make sure you do NOT have a gateway defined.  Very common mistake, and it breaks Internet connectivity.

          I have another pc connected on the lan interface. PC gets IP, subnet, gw and dns from dhcp. I tested before and it worked fine.

          1 Reply Last reply Reply Quote 0
          • KOMK Offline
            KOM
            last edited by

            No, I meant in your pfSense LAN settings (Interfaces - LAN - Static IPv4 configuration - IPv4 Upstream Gateway).  It should be set to None.  From your pfSense box, can you:

            1. Ping 8.8.8.8 using Diagnostics - Ping.  Do you get a reply?
            2. Ping www.google.com using Diagnostics - Ping.  Do you get a reply?

            By default, LAN clients have full access out.  As long as you can ping from WAN, it should all just work as long as you didn't specify a LAN gateway in pfSense.

            1 Reply Last reply Reply Quote 0
            • ? This user is from outside of this forum
              Guest
              last edited by

              @NickM:

              Hi Guys,
              I have installed latest pfsense and this is the scenario:
              em0 - wan (DHCP)
              em1 - lan (192.168.0.1/24)

              WAN interface gets ip and gw from dhcp server, but for some reason it has no internet connection. While i try to ping my DHCP GW i get reply, as well as while pinging DNS servers (i have 3 on my network). Checked routes table and they are the default ones generated by pfsense.

              I have tested that network cable on another Vbox pfsense test machine and it worked like a charm.
              Can anyone think why internet is not working?

              Check you LAN interface setting. Make sure that LAN IPv4 is set to static and tracked is set in the next drop down menu. Other wise, rules to allow traffic of port 80 and 443 will not be automatically defined.

              If you add a 3rd interface, such as I did for use with a WiFi access point, that you do not have this interface set as tracked and you copy the NAT rules from the LAN interface to the additional interface.

              I struggled hard initially with this issue.

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