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

    Linux cannot connect to net

    Scheduled Pinned Locked Moved General pfSense Questions
    6 Posts 3 Posters 620 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
      NotMexican
      last edited by

      Hi new to the forum, I apologize if I'm missing something!

      I have a network with pfSense as it's gateway and am encountering a strange issue.

      All Linux distros won't connect to the net, internal or external. This includes the Windows Subsystem for Linux. Using my ISPs router without bridging resolves this, so I am unsure if I have a config error in my gateway preventing anything presenting as a Linux box from getting an IP address.

      I'm probably looking at this wrong consider me a noob. Any input is appreciated

      N 1 Reply Last reply Reply Quote 0
      • N
        NotMexican @NotMexican
        last edited by

        I must add that it actually only affects ONE machine, in Windows it behaves normally (except wsl oddities) but if I boot into Arch or Ubuntu it fails to talk to anything

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

          How do you have the client configured? Is it running DHCP?

          Is it failing to pull a DHCP lease from pfSense?

          How are you testing to connectivity? What is the failure result?

          Steve

          N 1 Reply Last reply Reply Quote 0
          • N
            NotMexican @stephenw10
            last edited by

            @stephenw10 Hi Steve, thanks for the reply

            The PC is failing to pull a DHCP lease. When attempting to ping google I get cannot resolve unknown host error, when attempting to ping my NAS I also get resolution errors.

            ifconfig shows eth0 as not having an ip address

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

              Ok, do you see anything logged in the pfSense dhcp logs at the time?

              Is Windows also using DHCP?

              1 Reply Last reply Reply Quote 0
              • ?
                A Former User
                last edited by

                All Linux distros won't connect to the net, internal or external.

                From internal it could be based on many points here, vlans, firewall rules and and and....

                From external it must be over VPN or if you talk about your servers inside of the DMZ it is another point we should now first.

                It might be sounding strange, but you should be providing us perhaps with some more informations, that we not have to "digging all out of your nose". VLANs, DMZ, LAN or 2 DMZs, who is doing the DCHP job, if more the than one, were all the others set up as a DHCP-Relay or not?
                What is all installed and activated?

                • pfBlocker-NG
                • Snort & Suricata
                • lightSquid, Squid & SquidGuard
                • Is there another router in front of pfSense? That must be accepting then the private IPs at the WAN, and so on.
                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.