1
General Discussion / Can't ping my public loopback from the internet
« on: March 13, 2023, 10:18:02 pm »
Hello,
I don't know if someone can help me but, I'm facing a problem.
I have setup correctly an public IP to my Lo1 interface. From this interface I can ping my gateway and internet (no problem with that).
root@FW-OVH-01:~ # ping -S 51.xx.xx.203 1.1.1.1
PING 1.1.1.1 (1.1.1.1) from 51.xx.28.203: 56 data bytes
64 bytes from 1.1.1.1: icmp_seq=0 ttl=53 time=4.929 ms
64 bytes from 1.1.1.1: icmp_seq=1 ttl=53 time=4.935 ms
64 bytes from 1.1.1.1: icmp_seq=2 ttl=53 time=4.961 ms
I want to use this loopback interface to do many things, but at first I want to ping it from anywhere, and I don't know why, but I can't manahe to do it.
I have setup a rule like that in the WAN Rules section :
Interface : WAN
Direction : In
TCP/IP : ipv4
Protocol : ICMP (any icmp)
Source : any
Destination : Lo1 address
Action : Pass
even if I do like that it's not working :
Interface : Lo1
Direction : In
TCP/IP : ipv4
Protocol : ICMP (any icmp)
Source : any
Destination : Lo1 address
Action : Pass
I don't know what I'm doing wrong but it's dosen't work. It's my first time testing OPNsense. Because it's a stateful FW, I normaly don't have to setup a out direction rule, so...
Thanks in advance to anyone who will take the time to help me.
I don't know if someone can help me but, I'm facing a problem.
I have setup correctly an public IP to my Lo1 interface. From this interface I can ping my gateway and internet (no problem with that).
root@FW-OVH-01:~ # ping -S 51.xx.xx.203 1.1.1.1
PING 1.1.1.1 (1.1.1.1) from 51.xx.28.203: 56 data bytes
64 bytes from 1.1.1.1: icmp_seq=0 ttl=53 time=4.929 ms
64 bytes from 1.1.1.1: icmp_seq=1 ttl=53 time=4.935 ms
64 bytes from 1.1.1.1: icmp_seq=2 ttl=53 time=4.961 ms
I want to use this loopback interface to do many things, but at first I want to ping it from anywhere, and I don't know why, but I can't manahe to do it.
I have setup a rule like that in the WAN Rules section :
Interface : WAN
Direction : In
TCP/IP : ipv4
Protocol : ICMP (any icmp)
Source : any
Destination : Lo1 address
Action : Pass
even if I do like that it's not working :
Interface : Lo1
Direction : In
TCP/IP : ipv4
Protocol : ICMP (any icmp)
Source : any
Destination : Lo1 address
Action : Pass
I don't know what I'm doing wrong but it's dosen't work. It's my first time testing OPNsense. Because it's a stateful FW, I normaly don't have to setup a out direction rule, so...
Thanks in advance to anyone who will take the time to help me.