Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
20.1 Legacy Series
»
Nat reflection doesn`t work and outbound NAT has been failed.
« previous
next »
Print
Pages: [
1
]
Author
Topic: Nat reflection doesn`t work and outbound NAT has been failed. (Read 2039 times)
mervynsword
Newbie
Posts: 4
Karma: 0
Nat reflection doesn`t work and outbound NAT has been failed.
«
on:
August 08, 2020, 04:50:55 pm »
Hello everyone, I am trying to build a website with my own server in my home.
For example, the hostname is example.me, I have updated the hostname withthe WAN ip address(1.1.1.1 for example), and the server IP is 192.168.1.10. Sadly the 80 and 443 ports can`t be reachable due to my ISP policies, so I add two NAT rules, 1.1.1.1:10080-->192.168.1.10:80, 1.1.1.1:8443-->192.168.1.10:443.
Now I can access the website from the Internet by visiting
https://example.me:8443
, great, but it doesn`t work on the internal network.
So I disabled the NAT reflection and add a outbound NAT rule like this:
Interface-----------------------LAN
Source-------------------------LAN NET
Source Port--------------------ANY
Destination--------------------WAN Address
Dest Port-----------------------8443
Translation / target------------192.168.1.10
Translation / port:-------------443
It still doesn`t work.
Anyone, anyone can help me? I've been tormented by this problem for three hours.
«
Last Edit: August 08, 2020, 04:54:58 pm by mervynsword
»
Logged
terraping
Newbie
Posts: 9
Karma: 1
Re: Nat reflection doesn`t work and outbound NAT has been failed.
«
Reply #1 on:
August 12, 2020, 12:50:07 am »
Same problem, very frustrating. Might switch to PFsense or EdgeRouter because of this.
A workaround might be to use Unbound DNS and create an override entry for your web server's internal IP.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
20.1 Legacy Series
»
Nat reflection doesn`t work and outbound NAT has been failed.