OPNsense Forum

Archive => 19.7 Legacy Series => Topic started by: darkness_08 on October 27, 2019, 12:17:47 PM

Title: [solved] Create WAN-Rule/NAT Rule (Port-Forwarding)
Post by: darkness_08 on October 27, 2019, 12:17:47 PM
Hey,

my Firewall is behind a Modem. Access from LAN to WAN works fine. But I've trouble with setting up Port-Fowarding.

I try to connect a loacel Server on Port 1082 (172.16.1.1)
I've  this Port-Forward Rule
WAN    TCP    *    *    *    1082    172.16.1.1/24    1082    

NAT reflection: disabled
Filter rule association: Rule NAT (a WAN-FW Rule was created).

With this setup I can't connect via Internet to Port 1082.

After changing Filter rule association to Pass everything works fine. But I'm not sure if this is the right way?

EDIT:
I did a mistake in the NAT-Setup. After Changing my Outbound NAT-Rule, Portforwarding works fine.