[SOLVED] Ignore Geoip for one LAN address

Started by HenrysCat, April 19, 2022, 07:10:13 PM

Previous topic - Next topic
April 19, 2022, 07:10:13 PM Last Edit: April 19, 2022, 08:29:34 PM by HenrysCat
Title says it all really, just cant figure it out, I use GeoIP blocking to block all countries except my own, works great however I now need to allow all countries to access 192.168.0.126 on port 12345.
any ideas?
Thanks all
OPNsense 23.1.2-amd64
FreeBSD 13.1-RELEASE-p7
OpenSSL 1.1.1t 7 Feb 2023

April 19, 2022, 08:12:31 PM #1 Last Edit: April 19, 2022, 08:30:29 PM by HenrysCat
Think I figured it out Firewall: Rules: WAN as below.
Although I couldn't specify a port so I left it as *

EDIT: no that does not work, I need to add the port range but the option is shaded out ?

EDIT2: got it, changed protocol TCP/UDP  ;D

EDIT3: oh and moved the rule above GeoIP rule  ;)



OPNsense 23.1.2-amd64
FreeBSD 13.1-RELEASE-p7
OpenSSL 1.1.1t 7 Feb 2023