1
General Discussion / Simple Block Rule Not Working
« on: August 01, 2024, 07:25:29 am »
I have a simple opnsense setup with all default/automatic rules. The only change is that I have setup a load balance and failover gateway. I have changed the Default allow LAN to any rule to use this gateway.
At the very top of LAN interface, I have made a block rule for testing. I want to block everyone on the lan from accessing a specific IP and port.
I have set the following:
Action : Block
Quick: ticked
Interface: LAN
Direction: in
TCP/IP: IPv4
Protocol: TCP
Source: any
Destination: Internal IP/32
Destination port range from/to: (other) PORT
Gateway: default
I have put this rule at the very top. I have reset the states also. But I can still access the IP:Port from the browser from any device connected to LAN.
Any help would be appreciated.
At the very top of LAN interface, I have made a block rule for testing. I want to block everyone on the lan from accessing a specific IP and port.
I have set the following:
Action : Block
Quick: ticked
Interface: LAN
Direction: in
TCP/IP: IPv4
Protocol: TCP
Source: any
Destination: Internal IP/32
Destination port range from/to: (other) PORT
Gateway: default
I have put this rule at the very top. I have reset the states also. But I can still access the IP:Port from the browser from any device connected to LAN.
Any help would be appreciated.