Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
NAT Loopback / Reflections not working
« previous
next »
Print
Pages: [
1
]
Author
Topic: NAT Loopback / Reflections not working (Read 1486 times)
ddt3
Newbie
Posts: 24
Karma: 0
NAT Loopback / Reflections not working
«
on:
February 19, 2022, 04:59:44 pm »
I am quite new to opnsense, moved from clearos to opnsense so on a crash course " how to configure opnsense".
I have configured ha_proxy to forward
www.familie-dokter.net
to a server on my lan. That works just fine. Now I also would like to use that same " external address" on my lan clients. That appeared to work, but then I changed the lan ip-address of the webserver (and probably other settings too) and now I can't get it to properly function again.
My network setup is quite simple:
Connecting to my webserver from the internet works (the blue line, so ha_proxy works, even after lan ip change).
Connecting to my server from the lan does not work (the red line)
I have enabled:
What am I doing wrong?
«
Last Edit: February 20, 2022, 10:36:16 am by ddt3
»
Logged
cookiemonster
Hero Member
Posts: 1823
Karma: 95
Re: NAT Loopback / Reflections not working
«
Reply #1 on:
February 21, 2022, 12:27:24 am »
Diagrams definitively help. It would be useful to explain what happens but I'd start with DNS, does the FQDN get resolved at your clients?
Logged
ddt3
Newbie
Posts: 24
Karma: 0
Re: NAT Loopback / Reflections not working
«
Reply #2 on:
February 21, 2022, 08:18:31 am »
I wanted to show you this output:
Code:
[Select]
> dig www.familie-dokter.net +short
82.197.218.159
Which triggered me to try a dns record that points
www.familie-dokter.net
to the WAN address of opnsense:
Code:
[Select]
>dig www.familie-dokter.net +short
192.168.1.5
And now it does work. But somehow leaving me more confused: I had tried this already...but hey: it does work :-D
Thanks for your reply!
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
NAT Loopback / Reflections not working