Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Subscribe to our newsletter

Advertise on LowEndTalk.com

Latest LowEndBox Offers

    Exposing port while connected to openvpn server
    New on LowEndTalk? Please read our 'Community Rules' by clicking on it in the right menu!

    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

    Sign In or Register to comment.