Hello, I don’t know how to form my question for Google, so I am asking you here.

I have an OpenVPN Server running on an RPi4 in my home. Everything works as intended, so when I connect with my phone using an OpenVPN client, I can access internal services fine. But I want to do it the other way around. AFAIK for that I would need a router on which I can define custom routes. I don’t have one, I have only the one provided by my ISP and don’t want to get into OpenWRT, pfSense, etc. I have a remote client that I would need to access only a few ports on, so I’m asking how can i do it. The route would be like this:

RemoteServer(``10.8.0.11:80``) > MyOpenVPNServer(192.168.0.2:12345)

Could something like this be possible? AKA doing let’s call it “port forwarding” without a real router?

  • e60deluxe@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I dont understand what you are asking.

    But I want to do it the other way around.

    you want the Rpi to VPN to another site? I dont know what the “other way around” means

    can you back up and explain what you are trying to accomplish?