I'm not really sure what my problem/request is called, but this is my situation:
I run an OpenVPN Access Server server. It's configured to operate on layer 3. The private subnet it can operate on is defined as 10.129.0.0/16
. Its own IP is 10.129.1.1
(interface=eth1
). When connected to the VPN, I can SSH/connect to every server in the 10.129.*.*
range -- for example, 10.129.20.20
. As long as the firewall on 10.129.20.20
permits access originating from 10.129.1.1
, access is granted.
Now, there's a set of servers I want to connect to, with requests originating from my VPN its public facing interface (eth0
). When connecting to 188.188.188.188
, I'd like my VPN server to route its traffic through its other interface, so it seems like the request is originating from the VPN server itself. That way, the external server can open its firewall to only my VPN its public IP.
As per the answer below, I reckon I'm looking for a jump host or bastion server.