Cannot Ping WAN Interface
-
Hello. I have pfsense installed on a VM (ESXI 6.5). Pfsense version is 2.4.5-RELEASE (amd64).
I have configured 2 Interfaces.
LAN: 10.1.12.160/24 (no gateway)
WAN: 10.1.100.130/24 - Gateway: 10.1.100.1Of course the Interfaces are on the right VM network.
I can ping the LAN interface but I cannot ping the WAN IP, and i cannot ping the WAN gateway from the WAN Interface.
I have created any-any rules on the LAN and WAN.
I don't have any NAT configured (1:1, port forward). The outbound NAT is set to auto (i tried all options there with no luck).
WAN gateway is the default. I don't have any static routes.
I can ping Internet addresses.Block private networks and loopback addresses on the WAN interface is disabled.!login-to-view login-to-view
Thoughts? -
In Status/System Logs/Settings, check "Log packets matched from the default block rules in the ruleset" and see if the default block rule is blocking you. If so you need a firewall rule to match your traffic.
-
@teamits Thank you for your answer...I have a any-any rule under WAN...do I still need to create another rule?
-
@andy10 said in Cannot Ping WAN Interface:
Thoughts?
Your "any to any rule on WAN" is just temporary to make ICMP work, right ? What about, at least, limiting this "IPv4*" protocols to "ICMP" ?
DO NOT keep it rule.
Or change pfSense for a switch to have close to identical results, and zero admin efforts. -
@Gertjan yes itβs a temp rule...i need to figure out first why i cannot ping my WAN IP...
-
Using what ? From where ? Through which other upstream devices - the ones between you and pfSense ?
@andy10 said in Cannot Ping WAN Interface:
I can ping the LAN interface but I cannot ping the WAN IP
From where ?
You have already a pass all rule - that's ok for testing purposes.
You know now that ant traffic coming into WAN will be 'seen' by the network stack. At that level, ICMP is handled.
You should fire up tcpdump (packet capture), select WAN as the interface and ICMP for the type of protocol.
Now you ping from where ever you ping.
Stop the capturing : if it's empty, the traffic never reached pfSense.Most often this is explained easily : right after you discover that the ISP router is also a router (...) it becomes clear that router should a) also reply to ICMP (because this router has the actual WAN IP, not pfSense, which uses a RFC1819 type IP), or b) pass the ICMP requests through.
Are you trying to ping from pfSense's LAN the WAN IP ? What are your LAN rule(s) ?
Your WAN IP is a RFC1918 type ? -
@andy10 I was assuming you were pinging from LAN. If no block is logged by the default block rule then it's not being blocked, meaning it's generally a routing or some other issue.
-
I am pinging from another server on the LAN network.
-
@Gertjan
From where ?You have already a pass all rule - that's ok for testing purposes.
You know now that ant traffic coming into WAN will be 'seen' by the network stack. At that level, ICMP is handled.
You should fire up tcpdump (packet capture), select WAN as the interface and ICMP for the type of protocol.
Now you ping from where ever you ping.
Stop the capturing : if it's empty, the traffic never reached pfSense. colored text please see screenshotMost often this is explained easily : right after you discover that the ISP router is also a router (...) it becomes clear that router should a) also reply to ICMP (because this router has the actual WAN IP, not pfSense, which uses a RFC1819 type IP), or b) pass the ICMP requests through.
ISP is not involved here...it's installed on a VM which is behind a Palo Alto firewall...
Are you trying to ping from pfSense's LAN the WAN IP ? What are your LAN rule(s) ? trying to ping from 2 servers on the LAN and WAN networks...both fail
Your WAN IP is a RFC1918 type ?colored text 10.1.100.110/24 -
@andy10 Does the server you're pinging from have a firewall rule that is blocking the replies?
If you're pinging from LAN the WAN rule shouldn't be used. -
@teamits no..the windows firewall is off....the weird thing is that when i reboot pfsense...and run a continuous ping to the WAN interface...i get responses right before it shuts down ...could it be a bug ?
-
I reinstalled pfsense on another VM and i can ping the interfaces now...could be a bug! Issue resolved. Thanks!
-
Bug ?
Setup !pfSense handles ICMP as per user settings.
If not, this forum would be swamped by angry user posts ^^