OPNsense Forum

Archive => 21.7 Legacy Series => Topic started by: HenrysCat on May 10, 2022, 08:57:28 pm

Title: Help with firewall rules
Post by: HenrysCat on May 10, 2022, 08:57:28 pm
I need to pass port 44158 to 192.168.0.126, so I set up a rule under, Firewall: Rules: WAN
Making sure it is at the top of the list above GeoIP

(https://i.x1973.net/images/2022/05/10/Rule.md.png)

Now some connections are passed as below

(https://i.x1973.net/images/2022/05/10/Passed.md.png)

And some are blocked by GeoIP as below

(https://i.x1973.net/images/2022/05/10/Blocked.md.png)

Any ideas what I have done wrong?

Thank all
Title: Re: Help with firewall rules
Post by: Patrick M. Hausen on May 10, 2022, 09:42:52 pm
Is your WAN interface your public IP address? If yes, you need to use NAT Port Forward instead of firewall rules.
Title: Re: Help with firewall rules
Post by: HenrysCat on May 11, 2022, 09:55:13 am
Yes port forwarding is in place for 44158 under Firewall: NAT: Port Forward, port is confirmed as open, it's just odd how sometime its allowed and other time blocked.