How can I publish 2 internal IP's behind a NAT firewall (router with dynamic firewall)?
I have 2 external IP's, 99.52.156.5 and 46.113.5.88, and I would publish two separate internal services on port 443(behind my home network, NAT, dynamic IP) over the external IP's.
My opinion is, that I should setup a OpenVPN server on a Linux machine with the 2 IP's (99.52.156.5, 46.113.5.88) assigned.
Also I must setup a local OpenVPN client Linux machine. That client should connect to the remote OpenVPN server.
Then all traffic from the 2 IP's (99.52.156.5, 46.113.5.88) should be routed through the VPN tunnel.
- My local network is a 10.0.0.0/8 network
- The NAT router has the IP 10.254.254.254
- The local OpenVPN client has the IP 10.200.100.50
- The local service 1 who should response to the external IP 99.52.156.5 has the IP 10.200.100.80
- The local service 2 who should response to the external IP 46.113.5.88 has the IP 10.200.100.90
Can anybody show me a working OpenVPN configuration. Sorry, but I am not a admin... Only a developer.
Many thanks!