OPNsense Forum

Archive => 24.1, 24.4 Legacy Series => Topic started by: dot1x on July 19, 2024, 01:20:21 AM

Title: double NAT and VPN access to endpoint in transfer lan
Post by: dot1x on July 19, 2024, 01:20:21 AM
Hey Guys!

Weird constellation here.

I have a dedicated machine with one external ip address forwarded to it's proxmox physical interface.

I configured an opnsense VM to function as the perimeter for the underlying VMs.

Everything works so far like port forwards for the servers, VPN etc. etc.

So i have the Public IP for example 123.45.67.89 facing on the proxmox host, wich redirects all traffic to the transfer net 10.0.0.0/30.

10.0.0.1 is the Proxmox host itself, wich is reachable by port 8006.
10.0.0.2 is the WAN interface of the opnsense vm.


i configured an openvpn server on the firewall and want to access the 10.0.0.1 address of the proxmox server wich is in the transfer net. Without any success.

The thing is, i can reach the 10.0.0.1 from the server wich is behind the Firewall on 192.168.10.0/24.

Route 10.0.0.0/30 is pushed to the vpn clients


Do you guys have any suggestions on how i can accomplish that?

regards
~Lukas
Title: Re: double NAT and VPN access to endpoint in transfer lan
Post by: dot1x on July 19, 2024, 10:15:20 AM
Ok i got it working.

Had to set a NAT rule in the outbound nat section, to translate VPN traffic destinating to 10.0.0.1.

regards