No internet connection



  • 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?



  • 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.



  • @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.



  • 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.



  • @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.