I configured some adminstrative pages on my DMZ server to be accessed only by some internal Green/Blue IPs or a configured OpenVPN network IP.
After connecting via roadwarrior to iPFire, I have - aside of the assigned WLAN IP which is then NATted to an external IP - an OpenVPN IP via tun0.
But it appears that when accessing my server in the DMZ just the external ip is shown in the logs but not the assigned OpenVPN IP.
As a result, I cannot access these restricted pages via roadwarrior connection from abroad.
I wonder if someone please could explain me how to let my client show/use the assigned OpenVPN roadwarrior IP within the iPFire network when connected.
This is not a problem with iPFire, rather it’s caused by setting real IP in my web server config in the orange DMZ.. This results in getting the roadwarrior OpenVPN IP stripped as well and that’s finally the cause why I cannot access these administrative pages.
I must investigate how to exclude the OpenVPN IP from this - however I’ll close this one, thank you.
Edit: I applied strikethrough as this above was an incorrect guess.
Hi, I temporarily disabled IPv6 but that didn’t help. But I was hinted by ChatGPT towards the solution: I didn’t enter the IPFire OpenVPN x.x.x.1 IP as DNS1 as part of the roadwarrior config; so when resolving www.mydomain.com just the external internet IP has been returned. After adding this DNS1 entry, the hostname is now resolved correctly to the local DMZ address and the web server behaves as planned and configured.