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

    Can't get internett access with pfSense

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    34 Posts 4 Posters 7.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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator
      last edited by

      well if you client is connected to pfsense lan with an IP in the 192.168.1.0/24 network and using pfsense for dns (and pfsense gets a dns server to use) then it should be working and pfsense as its gateway.

      An intelligent man is sometimes forced to be drunk to spend time with his fools
      If you get confused: Listen to the Music Play
      Please don't Chat/PM me for help, unless mod related
      SG-4860 24.11 | Lab VMs 2.8, 24.11

      1 Reply Last reply Reply Quote 0
      • C
        cessnas
        last edited by

        Yeah. But what shuld i do to fix the problem i am having? I have connected the ethernet cable that goes into the pfSense computer into an router. Is this wrong? Shuld i connect it directly into the client internet box?

        1 Reply Last reply Reply Quote 0
        • johnpozJ
          johnpoz LAYER 8 Global Moderator
          last edited by

          What problem?  pfsense seems to have a public IP connection..  Any device that can talk to its lan IP, ie on its lan and using pfsense as its gateway should be able to use pfsense wan connection for internet.

          If you plugging pfsense lan into another router - which I would assume is NATTING, and quite possible could have pfsense lan network also on that routers lan - then yeah your going to have issues most likely and would be double natting.

          In a normal setup the pfsense lan interface would be connected to a normal switch - then devices connected to that switch would use pfsense as dhcp server, and dns and the gateway off the pfsense lan network.

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.8, 24.11

          1 Reply Last reply Reply Quote 0
          • C
            cessnas
            last edited by

            If you read longer up in the topic you wil see that i have problems getting internet trough the pfSense computer. I can connect to the pfSense WebUi but i can't go on the internet and search google.com.
            PS. i am a noob so please don't use so many advanced words…

            1 Reply Last reply Reply Quote 0
            • johnpozJ
              johnpoz LAYER 8 Global Moderator
              last edited by

              How are you connecting to the pfsense web gui?  How is that machine connected to pfsense?

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.8, 24.11

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

                You have clearly moved the WAN connection since you're now seeing a public IP rather than the 192.168.0.X address you had earlier but what you've changed to is correct as Johnpoz said.
                If the dashboard is not showing 'You are on the latest version' but instead says 'unable to check for updates' the you have have a connection issue on the WAN side. Is it receiving that address via DHCP from a some upstream device, a cable modem perhaps?
                Go to Status: Interfaces: in the WAN section is it showing the correct gateway address? Is it showing DNS servers? Copy and paste the info if you want.
                Try running some ping tests from Diagnostics: Ping: Try pinging 8.8.8.8. Try pinging google.com. If neither of those work what is the actual output, more useful than 'it didn't work'.

                Steve

                1 Reply Last reply Reply Quote 0
                • C
                  cessnas
                  last edited by

                  OK. Now i did what you said and restarted the firmweare. Now i have got internet! Thanks allot guys! But i still have one problem… The internet sucks in comparison of the router.
                  Is this because i am running the ethernet cable that goes into the pfSense computer from another router? How is your setup of the cables?

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

                    In what way does the internet suck? (too much spam, trolls etc  :P)

                    Check the system logs for errors.
                    Often a very slow connection is caused by a duplex mismatch. Check the Status: Interfaces: page, make sure that both WAN and LAN are reorting 100Mbps (or 1000) and full duplex.

                    Steve

                    1 Reply Last reply Reply Quote 0
                    • C
                      cessnas
                      last edited by

                      Both the WAN and LAN are running in full-duplex/ 100mb. But i ask you agian, how is your cable setup? I think i have set my cables up wrong.

                      1 Reply Last reply Reply Quote 0
                      • johnpozJ
                        johnpoz LAYER 8 Global Moderator
                        last edited by

                        cables setup wrong?

                        modem – wan pfsense lan -- switch - devices

                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                        If you get confused: Listen to the Music Play
                        Please don't Chat/PM me for help, unless mod related
                        SG-4860 24.11 | Lab VMs 2.8, 24.11

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

                          Yup same here. You might have a separate modem or a combination modem/router in bridge mode but you have managed to get your public IP onto the pfSense WAN and that's correct.

                          Is the connection slow?

                          Steve

                          1 Reply Last reply Reply Quote 0
                          • C
                            cessnas
                            last edited by

                            My setup is Modem -> Router -> pfSense computer -> main computer
                            Is this wrong?

                            1 Reply Last reply Reply Quote 0
                            • johnpozJ
                              johnpoz LAYER 8 Global Moderator
                              last edited by

                              and how is your pfsense getting a public IP if behind your router?

                              That setup is kind of pointless if you ask me, since pfsense is designed to be the edge firewall/router.

                              Are you just using your routers lan ports as a switch.. What are the make and model numbers of your modem and router?

                              So you computer is just directly connected to pfsense lan port?  Doing auto crossover, crossover cable?

                              Don't you have any other computes/devices that you want to connect to the internet - how are they going to get to the internet with that sort of setup?

                              An intelligent man is sometimes forced to be drunk to spend time with his fools
                              If you get confused: Listen to the Music Play
                              Please don't Chat/PM me for help, unless mod related
                              SG-4860 24.11 | Lab VMs 2.8, 24.11

                              1 Reply Last reply Reply Quote 0
                              • C
                                cessnas
                                last edited by

                                In my house we have an router to do the wifi stuff, but since my room is so far away from the router my internett is bad. So i wanted to use an old computer here up on my room to make my self an own internett. Thats were pfSense comes tyo good use. But i don't know witch LAN port i shud use to connect the pfSense computer to the internett.
                                So my modem is a thomson tcm 470, and my router ia an D-link dir-655.

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

                                  It would be better from a security and flexibility point of view to connect like this:

                                  TCM470 -> WAN-pfSense-LAN- -> DIR-655 (running as a switch/AP only) -> client machien

                                  However you may not be able to do that given the layout of your house. If you connect it like this:

                                  TCM470 -> WAN-DIR655-LAN -> WAN-pfSense-LAN- ->  client machine

                                  Then you will be double NATing as Johnpoz pointed out. Some things may cause problems but mostly it should work fine.

                                  You still haven't said what was bad about the connection when it worked?  :-\

                                  Steve

                                  1 Reply Last reply Reply Quote 0
                                  • C
                                    cessnas
                                    last edited by

                                    When the internet conection was bad i ment that if i was connecting to the router i vould have 10 ping and 22mb down but if i used the pfSense i had 21 ping and 11 mb down. But if i try the setup that you sudgested does i have to reinstall pfSense? I am also using those thing that takes your internet trough the powerline of the house so i can connect however you sudgest.

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

                                      No you don't have to re-install pfSense. You don't even have to reconfigure it since it's using DHCP for WAN in both cases.

                                      Those Ethernet over Powerline boxes can give trouble. I've seen both random disconnects and connection speed far less that advertised. You should try to setup a test with direct connections even if just temporarily. Have you been using them for some time are they also a new addition to your network?

                                      Steve

                                      1 Reply Last reply Reply Quote 0
                                      • C
                                        cessnas
                                        last edited by

                                        Yes the boxes are new. But do you sudgest that i go down stair with the pfSense computer and try to connect it directly into the TCM 470? And the powerline boxes are new but seem to work great.

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

                                          Yes, just as a test I would connect it directly without the powerline boxes. They may well work fine but when you change too many things at once you can never be sure what's causing problems.

                                          Steve

                                          1 Reply Last reply Reply Quote 0
                                          • johnpozJ
                                            johnpoz LAYER 8 Global Moderator
                                            last edited by

                                            "So i wanted to use an old computer here up on my room to make my self an own internett"

                                            What??  Juts run a connection from your router is all you need - you don't need another router to add a client to your network.

                                            You have NO need for pfsense to add a device to your network.

                                            An intelligent man is sometimes forced to be drunk to spend time with his fools
                                            If you get confused: Listen to the Music Play
                                            Please don't Chat/PM me for help, unless mod related
                                            SG-4860 24.11 | Lab VMs 2.8, 24.11

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