New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Exposing port while connected to openvpn server
Hey guys,
I'd like to know if it is possible to expose a port/service on the internal network while the host is connected to an external openvpn server.
So my setup looks as following:
Client A connects to services of Host B over the internal network. (This doesnt work for me)
Host B is always connected to OpenVPN Server C, which is outside of the internal network. (This is working fine)
Host B uses Debian Buster (10). I could use any other (free) distro too as long as it supports openvpn (obviously).
Lets say Host B has the following ip addresses:
On the internal network (same as Client A): 192.168.1.xxx
On the VPN: 10.8.0.x
So basically, I need a port exception.
I think this could be solved by using iptables or some routing (but I have no idea).
Thanks in advance