NAT with Webserver behind a VPN Tunnel

Started by pleibling, June 13, 2023, 08:55:07 PM

Previous topic - Next topic
June 13, 2023, 08:55:07 PM Last Edit: June 13, 2023, 09:00:22 PM by pleibling
Hello,

i need a little help. I this configuration:

Homelab: OPNsense
IP: 192.168.33.253/24
Webserver: 192.168.33.2

Remotenetwork: OPNsense
External IP: 84.19.28.246
Virtual IP: 84.10.28.245
Internal Network: 192.168.230.0/24

There is an OpenVPN Tunnel between the sites, thats work - i can tracert from the Webserver the Internal IP/External IP/Virtual IP from the remotenetwork.

The Homelab has the Tunnel IP 10.1.1.1, so i create a Gateway with this IP and add a route for the virtual IP (after then i can ping the virtual IP from the Webserver in Homelab).

Now i want to NAT from external Webclient via 84.19.28.245 to 192.168.33.2:443

Live view looks god, but i get not the Webpage.

Can anybody tell me where the problem is?

Thanks for your help.