Can ping to LAN but not Web Configurator
-
Hi Guys
I've just installed pfsense, both WAN & LAN interface is up and running. However, I can't access Web Configurator when I type the LAN IP.
I can ping the LAN IP, but when I type the same IP in my browser it doesn't bring up the Web Configurator, just a page saying This page can't be displayed.
Any ideas?
Thanks
-
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
-
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.
-
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
-
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.
-
eeehm, 100% sure you didn't mix up the WAN/LAN? Just to test… ;-)
-
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
-
" 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.
-
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 …
-
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...
-
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…
-
"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.
-
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
-
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.1The 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
-
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..
-
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?
-
You have tried https yes?
Since you are seeing a pfsense favicon have you ever connected to another pfSense box at that address?
Steve
-
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.
-
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.255And 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>
-
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.