OPNsense Forum

English Forums => General Discussion => Topic started by: UnCoNoob on March 20, 2020, 11:34:01 PM

Title: Help with port forwarding.
Post by: UnCoNoob on March 20, 2020, 11:34:01 PM
Hello,

I am having trouble to get ports open with OPNsense, I created an alias for the different machines then set up the port forwarding in the NAT part. Have attached a screenshot of the setup please tell me what is wrong. I have tried WAN address, WAN net, This firewall and LAN address in destination none of them seem to work ports still stay closed and get strict NAT while gaming.

Any help would be good. Thanks
Title: Re: Help with port forwarding.
Post by: UnCoNoob on March 21, 2020, 04:39:52 AM
Ok I removed all rules as I think due to clicking copy rule it was not creating any firewall rules. Have added them all separately but still have no open ports. added all the ports to my windows firewall which should not matter as they worked fine before the only change was the OPNsense server.

Have attached some screenshots hopefully someone can see where I am going wrong.
Title: Re: Help with port forwarding.
Post by: meazz1 on March 23, 2020, 03:30:08 AM
Try this link.
This one got me going.

https://forum.opnsense.org/index.php?topic=8783.msg72203#msg72203 (https://forum.opnsense.org/index.php?topic=8783.msg72203#msg72203)
Title: Re: Help with port forwarding.
Post by: UnCoNoob on March 23, 2020, 06:35:30 AM
thanks tried that.

Got it fixed. Uninstalled OPnsense and installed PFsense all working now. Bit unfortunate it wouldn't work but was a lot faster doing that then just deleting and installing them to no end
Title: Re: Help with port forwarding.
Post by: Spoonman2002 on April 02, 2020, 02:45:27 PM
Quote from: UnCoNoob on March 20, 2020, 11:34:01 PM
Hello,

I am having trouble to get ports open with OPNsense, I created an alias for the different machines then set up the port forwarding in the NAT part. Have attached a screenshot of the setup please tell me what is wrong. I have tried WAN address, WAN net, This firewall and LAN address in destination none of them seem to work ports still stay closed and get strict NAT while gaming.

Any help would be good. Thanks

If you had put "WAN" as destination address instead of LAN/this firewall, it would have worked.
In your first NAT Port Forward screenshot there is no WAN allow access rule, so all access is blocked.
And "This Firewall" is local only, 127.0.0.1 if I'm not mistaken. Not usable with WAN rules.
- also try States Reset (Firewall > Diagnostics) when toubleshooting.
I have several Port Forward rules and they work fine this way.