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

    Can ping to LAN but not Web Configurator

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    48 Posts 9 Posters 65.6k 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.
    • BBcan177B
      BBcan177 Moderator
      last edited by

      Did you enable http or https or did you change the default port? You can look at the console and it will show you what the address and port is set to. You are also able to change it there.

      http(s)://x.x.x.x:xx

      "Experience is something you don't get until just after you need it."

      Website: http://pfBlockerNG.com
      Twitter: @BBcan177  #pfBlockerNG
      Reddit: https://www.reddit.com/r/pfBlockerNG/new/

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

        As other possible problem - you sure the IP your pinging is pfsense and not some other box?  Validate the mac your seeing for that IP your pinging.

        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
        • S
          SKT174
          last edited by

          I didn't change the default port, in fact, I did a Reset to Factory Deafault on the console, I tried the IP it had given me, also the same result, can PING but can't access via Web.

          I'm 100% sure I'm not pinging the wrong machine, the entire setup is right in front of me, Laptop to switch, pfsense LAN interface to switch, WAN interface to router.  I started the ping -t on my laptop and as soon as I unplug the cable on the LAN interface LAN port, it stopped responding and starts to respond when I plug the cable back into the LAN interface LAN port.

          I'm not sure is it because I'm using the Intel NUC unit with two USB network adapter for the LAN/WAN interfaces would cause some problems, but both USB network adapter can be recognized by pfsense.

          Thanks for the reply

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

            Ok other thing I could see as problem is that your set to use a proxy on your browser.. and can not get to the proxy or the proxy can not get to the IP your going to, etc.

            I would think maybe your actually connected to wan vs lan sort of thing - but out of the box the wan would not answer ping, etc.

            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
            • ?
              Guest
              last edited by

              eeehm, 100% sure you didn't mix up the WAN/LAN? Just to test… ;-)

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

                Wouldn't be the first time wan and lan have been mixed up. However you shouldn't be able ping the wan (or lan through the wan) and if you're using dhcp on lan it should be obvious you're connected to the correct interface.
                Do you have a subnet conflict?

                Steve

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

                  " if you're using dhcp on lan it should be obvious you're connected to the correct interface"

                  Agree - but if his wan of his pfsense is actually a network where there is another dhcp server, and quite possible its a common 192.168 network since he didn't give us the details of what IP he is trying to connected too.

                  To the subnet conflict – hmm he states this "Laptop to switch, pfsense LAN interface to switch, WAN interface to router."

                  You don't have the router connected to this switch as well do you?  Where you run into the issue where you have both wan and lan on the same network?

                  What browser are you using - I think there was some issues when firefox 31 came out and the cert used for web gui being marked as ca cert?  Also what version of pfsense are you using just so we have full details, etc.

                  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
                  • S
                    SKT174
                    last edited by

                    Thanks for all the reply.

                    To make things more simple.  I even disconnected WAN interface.

                    So only the LAN interface has a cable connected to the switch.

                    It is a very simple setup now, there are only 2 cables to the switch, one from Laptop, one from Pfsense LAN interface.

                    LAN interface IP is 10.0.0.1 , Laptop gets it's IP from Pfsense DHCP , which is 10.0.0.50 (i've set the range from 10.0.0.50-10.0.0.100)

                    Laptop can Ping 10.0.0.1 , and from Pfsense console I can also ping 10.0.0.50

                    I've tried using IE and Chrome to access 10.0.0.1 but both returned Page is not available

                    I've not change the default port at all

                    It is very strange …

                    1 Reply Last reply Reply Quote 0
                    • I
                      italics
                      last edited by

                      Would you mind showing us the output of ipconfig /all or, if you are using linux, ifconfig ? Also, would you mind showing the IP and cidr of the PFSense interface? That would help a lot.. it sort of sounds like dhcp is handing out the incorrect subnet or something similar.. also, are you trying to connect to the web interface using a dns name, or the ip address directly? (I know a lot of these questions sound pointlessly simple, but they would help rule out a few things..)

                      Also, have you tried setting the IP address of your laptop statically and connecting to the pfsense machine? Also, have you enabled SSH and tried connecting through ssh? If you did connect through SSH (or even could connect to ssh using telnet as a test.. ex: telnet 192.168.1.1 22) it would definitely show that you've only having issues with the web interface and not ip/tcp communication..

                      Something to mention.. I've run into this issue once before actually. I ended up backing up the configs, setting it to factory defaults, loading just the firewall, nat, and alias configs and then set up wan/lan all over again… Just doing a factory reset and restoring the whole thing didn't fix the problem. To this day I've no idea what the issue could have been, as I am 1000% positive that the basic settings like IP/subnet were identical before and after. It really was beyond frustrating and annoying since I spent 5+ hours on it before I got to the point of re installing. That box is now running like a champ for a 120 user company in the transportation industry, serving out vpn connections and all. :) So don't let this discourage you...

                      1 Reply Last reply Reply Quote 0
                      • ?
                        Guest
                        last edited by

                        I had this once on a fresh install. I re-assigned interface in the console, tried to re-start the web interface in the console without success. Then I simply did a fresh install and the problem was solved…

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

                          "LAN interface IP is 10.0.0.1"

                          Why are you changing the lan IP during the install process?  When did you change it to that..  Did you restart the web from console.  I would suggest fresh install..  Let it come up on default which would be 192.168.0.1 I believe - and then try and get to the web gui.  Once you finish the setup then try changing the IP of your lan interface on pfsense to your 10 address you want.

                          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

                            I agree. There have been issues with changing the LAN subnet during initial install, though I've never seen that personally. The symptoms seem to indicate the webserver is not listening/responding on the correct address/port for whatever reason. It may be possible to diagnose that but it's probably easier to re-install to the standard values and then change it later as John suggests.

                            Steve

                            1 Reply Last reply Reply Quote 0
                            • S
                              SKT174
                              last edited by

                              Hi Guys

                              Terribly sorry for not getting back sooner, I've been away.

                              I've taken some photos of my setup

                              As you can see

                              WAN is set to UE0 interface with IP 192.168.16.204
                              LAN is set to UE1 interface with Default IP 192.168.1.1

                              The RED cable is WAN connection
                              The BLUE cable is LAN connection, it connects to a switch.  My notebook connects to the same switch.

                              The notebook gets IP from PFSense DHCP  with the range from  192.168.1.100 - 192.168.1.150

                              I can select option 7 from PFSense console to ping my Laptop.

                              As you can see on my notebook screen .. I can also ping the PFSense box, but when I tried the Web Config page 192.168.1.1, I get the error message, if you look  closely to the browser tab, you can actually see the PFSense logo.

                              Any idea what might have caused this?  The notebook firewall has been switched off to make things easier.

                              Thanks in advance

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

                                And is your browser using a proxy..  And not set to bypass on local networks that would explain why it can not get to a local address..  If you have not set a proxy, then you have an infection would be my guess.

                                Fire up wireshark on the box - what does it show going on the wire..

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

                                  Maybe I just got lost in the reading…

                                  But if you are trying to reach the web gui on 10.0.0.1

                                  and your lan address on pfsense is 192.168.1.1

                                  You will never succeed.

                                  Can you please attach a photo of the browser error you get when you try to access the web gui also?

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

                                    You have tried https yes?

                                    Since you are seeing a pfsense favicon have you ever connected to another pfSense box at that address?

                                    Steve

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

                                      You know - Something very basic has to be wrong because in default setup, pfsense just works.

                                      I suggest a reinstall from scratch and maybe even try another computer as client.

                                      Also, check your cables.

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

                                        I have setup pfsense I don't know how many times going back to very early version 1.x - running devolpment versions, etc. etc.  Hardware and VM from everything to virtualbox, to vmware server 1, vmware server 2, esxi version 3.5 through 5.5

                                        Have never seen it not just work out of the box.  So here is the thing - is anything else connected to this switch, does the switch have an IP on it or just dumb switch.

                                        Validate the MAC address pfsense has for its lan interface, and the mac address your pinging.  On pfsense do a netstat do you see the web gui running?

                                        [2.1.5-RELEASE][root@pfsense.local.lan]/root(7): ps -ax | grep lighty
                                        46888  ??  S      0:17.64 /usr/local/sbin/lighttpd -f /var/etc/lighty-webConfigurator.conf

                                        [2.1.5-RELEASE][root@pfsense.local.lan]/root(9): netstat -an | grep .80
                                        tcp6      0      0 *.80                  .                    LISTEN
                                        tcp4      0      0 *.80                  .                    LISTEN

                                        [2.1.5-RELEASE][root@pfsense.local.lan]/root(10): ifconfig

                                        vmx3f1: flags=8843 <up,broadcast,running,simplex,multicast>metric 0 mtu 1500
                                                options=403bb <rxcsum,txcsum,vlan_mtu,vlan_hwtagging,jumbo_mtu,vlan_hwcsum,tso4,tso6,vlan_hwtso>ether 00:0c:29:1e:18:ae
                                                inet 192.168.1.253 netmask 0xffffff00 broadcast 192.168.1.255

                                        And again - run wireshark on the box your trying to connect to pfsense on.. What does it show?  I would really look to your browser being setup to use a proxy, and not set to bypass for local network, or infected.  You don't have anything installed on this pfsense install like squid or snort, etc.?  Its clean - and your saying its routing internet traffic - but you can not connect to even run the first setup wizard and change the pfsense password, etc.</rxcsum,txcsum,vlan_mtu,vlan_hwtagging,jumbo_mtu,vlan_hwcsum,tso4,tso6,vlan_hwtso></up,broadcast,running,simplex,multicast>

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

                                          Interesting idea that maybe something else is interfering…

                                          Unplug the switch.  Plug the computer directly into the pfsense LAN with nothing else attached then give it a try.

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

                                            ^ for all we know for his switch he is using some soho routers switch ports and it has an IP of 192.168.1.1, which you would think he would get that web gui.  But when something doesn't work that you think should be working, it takes 2 seconds to validate your actually talking to the correct something.  Have run into duplicate IPs too many times to not validate the mac.

                                            I would think more likely reason is that his browser is just using some proxy..

                                            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.