I'm trying to setup NAT to an Address reachable through OpenVPN.

Site A is the VPN server and has Public IP, network and Site B is VPN Client and public IP, network

Goal is to have NAT Rule at Site A to in site B.

Everything in the VPN enviroment works. Both Sites can communicate with each other and I've already done the Outbound NAT on site B related with that IP so the reachs the Internet through Site B.

On Site A I've created a simple rule, NAT port 80 from WAN Address to

I've tried creating outbound NAT on Site B also but I guess it was not correct.

What am I missing?


You will need outbound NAT on site A

If you look at the automatic rules on outbound, the Source addresses won't include

Switch to hybrid mode.

Add a mapping Source network

You will also need routing on server, so reply to internet traffic goes via Site A.

I'm not sure how it would be possible to have server 33 or Site B gateway reply to internet connects through gw B and gw A at the same time. Perhaps NAT the openvpn again on node B, rather than the default routing, so it maintains connection state, and replies to correct place.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.