1
General Discussion / NAT/Firewall + Port Forwarding to Webserver
« on: September 15, 2021, 02:35:15 pm »
Hi all,
Trying to pass web traffic through to a CentOS VM on my internal WLAN from a WAN address.
Devices on my WLAN (172.16.99.X) can access my webserver (172.16.99.27:801) fine.
When trying to access my WebServer externally, I can't even see requests (Firewall Live Log) been made from my mobile device on the WAN (102.X.X.X) to my web server.
I have set up a NAT rule:
Interface: WAN
Proto: TCP
Src Address: 102.X.X.X
Src Port: *
Des Address: 172.16.99.27
Des Port: *
NAT IP: 172.16.99.27
NAT Port: 801
Log: Enabled
NAT Reflectoin: Enabled
I even tried enabling NAT Reflection under Firewall -> Advance as per a perious article in OPNsense.
I am struggling to troubleshoot when I don't see any logs in Live View. Thanks in advance
System:
Versions OPNsense 21.7.1-amd64
FreeBSD 12.1-RELEASE-p19-HBSD
LibreSSL 3.3.3
Trying to pass web traffic through to a CentOS VM on my internal WLAN from a WAN address.
Devices on my WLAN (172.16.99.X) can access my webserver (172.16.99.27:801) fine.
When trying to access my WebServer externally, I can't even see requests (Firewall Live Log) been made from my mobile device on the WAN (102.X.X.X) to my web server.
I have set up a NAT rule:
Interface: WAN
Proto: TCP
Src Address: 102.X.X.X
Src Port: *
Des Address: 172.16.99.27
Des Port: *
NAT IP: 172.16.99.27
NAT Port: 801
Log: Enabled
NAT Reflectoin: Enabled
I even tried enabling NAT Reflection under Firewall -> Advance as per a perious article in OPNsense.
I am struggling to troubleshoot when I don't see any logs in Live View. Thanks in advance
System:
Versions OPNsense 21.7.1-amd64
FreeBSD 12.1-RELEASE-p19-HBSD
LibreSSL 3.3.3