Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Port forward ports 80/443 from WAN to seperate nginx reverse proxy
« previous
next »
Print
Pages: [
1
]
Author
Topic: Port forward ports 80/443 from WAN to seperate nginx reverse proxy (Read 3399 times)
baz
Jr. Member
Posts: 52
Karma: 1
Port forward ports 80/443 from WAN to seperate nginx reverse proxy
«
on:
May 20, 2023, 05:06:28 am »
Hello,
I would like to port forward requests from the open internet (WAN) to an nginx reverse proxy on a separate machine. I setup the domain `files.domain.com` to point to the OPNSense public IP. Then I setup a port forward for ports 80 and 443 on WAN to point to the nginx machine, like so:
I also opened ports 80 and 443 on the firewall for the WAN:
However when I visit `files.domain.com` it never seems to reach the nginx box.
Any idea what I am doing wrong?
Logged
Fmslick
Newbie
Posts: 4
Karma: 0
Re: Port forward ports 80/443 from WAN to seperate nginx reverse proxy
«
Reply #1 on:
May 21, 2023, 02:00:17 am »
just stopping to say it looks like in your last screen shot you are missing "WAN address" in your settings. You may want to try and use Aliases for the ports, it makes life ez!
As-well you may want to set your OPNsense box to another port then 80 or 443 so you can use them ports with nginx. you can find it
System > settings > Administration: TCP port
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Port forward ports 80/443 from WAN to seperate nginx reverse proxy