OPNsense Forum

English Forums => General Discussion => Topic started by: tilera on February 10, 2021, 10:48:27 PM

Title: Port Forwarding not working
Post by: tilera on February 10, 2021, 10:48:27 PM
I have a problem, port forwarding is not working with my opnsense instance. I attach an image of the port forwarding rule configuration. It is enabled and also applied and I already googled the problem but found no solution.
Title: Re: Port Forwarding not working
Post by: tilera on February 10, 2021, 10:50:45 PM
Seems like the attachment didn't worked so I try it again
Title: Re: Port Forwarding not working
Post by: annoniempjuh on February 11, 2021, 11:18:02 AM
change the destination to "this firewall" instead of "Wan address", its works for me ;)
Title: Re: Port Forwarding not working
Post by: Greelan on February 11, 2021, 12:06:02 PM
WAN address should work fine. Is your ISP blocking port 443 inbound?
Title: Re: Port Forwarding not working
Post by: tilera on February 11, 2021, 12:10:35 PM
Quote from: Greelan on February 11, 2021, 12:06:02 PM
WAN address should work fine. Is your ISP blocking port 443 inbound?
No, the problem is also with other ports and the same IP worked fine with another virtual machine before
Title: Re: Port Forwarding not working
Post by: Greelan on February 11, 2021, 12:13:28 PM
Assume that you've kept the default setting to create an associated firewall rule (under Filter rule association in the rule)?
Title: Re: Port Forwarding not working
Post by: tilera on February 11, 2021, 12:32:54 PM
Quote from: Greelan on February 11, 2021, 12:13:28 PM
Assume that you've kept the default setting to create an associated firewall rule (under Filter rule association in the rule)?
Yes, there I changed nothing. It looks like this
Title: Re: Port Forwarding not working
Post by: Greelan on February 11, 2021, 12:36:56 PM
Hmm, odd. How are you testing to see if the PF works?
Title: Re: Port Forwarding not working
Post by: tilera on February 11, 2021, 12:39:02 PM
Quote from: Greelan on February 11, 2021, 12:36:56 PM
Hmm, odd. How are you testing to see if the PF works?
I try to connect via browser
Title: Re: Port Forwarding not working
Post by: Greelan on February 11, 2021, 12:39:51 PM
From inside your LAN? If so could be a NAT reflection issue
Title: Re: Port Forwarding not working
Post by: tilera on February 11, 2021, 12:42:17 PM
Quote from: Greelan on February 11, 2021, 12:39:51 PM
From inside your LAN? If so could be a NAT reflection issue
No, from outside
Title: Re: Port Forwarding not working
Post by: Fright on February 11, 2021, 08:13:00 PM
hi!
any clue in logs?
is it the only non-default rules?
can you share all your rules?
Title: Re: Port Forwarding not working
Post by: tilera on February 13, 2021, 12:13:46 PM
Quote from: Fright on February 11, 2021, 08:13:00 PM
hi!
any clue in logs?
is it the only non-default rules?
can you share all your rules?

Yes, it is the only non-default rule. Where I can find the logs?
Title: Re: Port Forwarding not working
Post by: Fright on February 13, 2021, 01:42:40 PM
you can enable logging on rule and look in "Firewall: Log Files: Live View" while checking connection in browser.
can you connect to 192.168.1.4 from OPN itself (eg ' openssl s_client -connect 192.168.1.4:443')?