Quantcast
Channel: Active questions tagged openvpn - Unix & Linux Stack Exchange
Viewing all articles
Browse latest Browse all 823

Remote Port forwarding using openvpn

$
0
0

So I am trying to setup remote port forwarding as is shown here and using the accepted solution to just use the openvpn access server admin panel and create a dmz. I am trying to host a rust server behind this so I need 2 ports open, 28015 udp and 28016 tcp.

My config for the rustserver user is as shown here but when I attempt to connect to the vpn server address on port 28015 in rust it refuses to connect. I am not sure if the client is getting the request or not; the server shell looks like this while running the openvpn connection.

I am amicable to doing a bunch of iptables voodoo if I have to instead of just trying to use the control panel, but it appears that it could potentially be as easy as just settings in the control panel? It would also be nice to just background the openvpn connection and snoop on traffic to see if it even hits the client but not exactly sure what would be the proper utility to do so.

The openvpn server is running the application snapshot provided by default by Vultr, and the rust game server is running on a server inside of my own home. The vultr server runs ubuntu 18.04 and I run ubuntu 16.04 at home. Ideally I need anyone to be able to hit my server at port 28015 and the udp packets get transferred to my client and then routed back through the openvpn server to whoever originally sent the request.


Viewing all articles
Browse latest Browse all 823

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>