OPNsense Forum
Archive => 18.7 Legacy Series => Topic started by: cyberganny on November 29, 2018, 11:49:26 am
-
Hi all,
OPNSense runs fine but I have the Problem that I am not able to ping the FW LAN Interface (10.1.1.1) from within the local Network.
The Ping ist routed through the WAN Interface! Why?
Login in on the OPNSense Admin Interface at 10.1.1.1 works fine.
Here the traceroute:
traceroute to 10.1.1.1 (10.1.1.1), 30 hops max, 60 byte packets
1 10.1.1.1 (10.1.1.1) 0.672 ms 0.446 ms 0.490 ms
2 192.168.0.1 (192.168.0.1) 0.855 ms 0.877 ms 0.790 ms
3 213-146-234-185.skytron.de (213.146.234.185) 3.467 ms 2.431 ms 2.202 ms
4 10.255.2.116 (10.255.2.116) 3.402 ms 3.312 ms 3.223 ms
5 10.255.7.97 (10.255.7.97) 3.156 ms !H 4.818 ms !H 4.734 ms !H
Any ideas?
-
Hi all,
OPNSense runs fine but I have the Problem that I am not able to ping the FW LAN Interface (10.1.1.1) from within the local Network.
The Ping ist routed through the WAN Interface! Why?
Login in on the OPNSense Admin Interface at 10.1.1.1 works fine.
Here the traceroute:
traceroute to 10.1.1.1 (10.1.1.1), 30 hops max, 60 byte packets
1 10.1.1.1 (10.1.1.1) 0.672 ms 0.446 ms 0.490 ms
2 192.168.0.1 (192.168.0.1) 0.855 ms 0.877 ms 0.790 ms
3 213-146-234-185.skytron.de (213.146.234.185) 3.467 ms 2.431 ms 2.202 ms
4 10.255.2.116 (10.255.2.116) 3.402 ms 3.312 ms 3.223 ms
5 10.255.7.97 (10.255.7.97) 3.156 ms !H 4.818 ms !H 4.734 ms !H
Any ideas?
please provide more info so we can help.
are you on a VPN ?
10.1.1.1 ??? is this your lan ?
192.168.0.1 ??? what is this ?
-
I am not on VPN
LAN (10.1.1.0) <-> 10.1.1.1 (LAN Interface) OPNSense (WAN Interface) 192.168.0.1
all other IPs in the traceroute are on Provider Site
I can not ping the 10.1.1.1 out of the LAN (10.1.1.0).
-
Can you describe your scenario ?
is opnsense between your ISP modem ?
ISP Router >>>>>> OPNSENSE >>>>>> LAN NETWORK ?
have you checked your firewall rules ? on the LAN ?
-
+----------+ +-------------------------------------------+ +--------------+
| Client | | Lan intf. | | WAN intf. | | ISP Router |
| | -> ICMP -> | 10.1.1.1 | OPNSense | 192.168.0.100 | -> | 192.168.0.1| -> ISP Net
| 10.1.1.5 | | | | |
+----------+ +-------------------------------------------+ +--------------+
-
I checked the firewall rules all traffic to LAN Interface ist allowed
-
What are you outband rules ?
where are you ping to where ?
-
I guess the IP range 10.0.0.0/8 is something in your providers network or some kind of management network of your modem. Because in the tracerout we can see your WAN address and after that you get an answer from 10.255.x.x. This address is also an part of 10.0.0.0/8.
Do you see any dynamic or static route on your OPNsense for 10.x.y.z networks? Any policy-based routing?
-
Yes my Provider seems also to you use 10.x.x.x Network.
10.255.7.97 is an IP of my provider.
How can I stop routing of 10.x.x.x target adresses out of my internal Network.
-
Normaly this should not happen because 10.1.1.1 is in your LAN and the next hop from your clients view.
Please check and post the routing and also the subnet masks of your client and OPNsense LAN interface.
-
find attached the screenshot of the LAN interface config
-
find attached the screenshot of the recent routing table
-
Subnetmask of the clients is always /24
-
Mmhh, looks fine :)
Do you have any firewall rule for ICMP on the LAN interface where you've select an gateway?
-
Nope no Rules for ICMP in general
-
One thing is conspicuous in the routes overview
why is 10.1.1.1/32 mapped to Interface lo0 and not to the physikal interface em0 like 10.1.1.0/24
-
Are you blocking Block private networks / Block begon networks on the WAN side ? this mostly the cause.
if you do, remove the block and stuff works.
-
yes I blocked Bogon Networks. Unchecked all blocks.
But no change in behavior, still not able to ping Lan interface
-
yes I blocked Bogon Networks. Unchecked all blocks.
But no change in behavior, still not able to ping Lan interface
Can share a screenshot of your firewall rules on the WAN side ?
-
No rule on WAN Side