I have a VPS on which I run an openVPN server. My question is how to host a server(any server, let's take by example a minecraft server) on my home computer(the VPN client) through the VPN's ip? Is it possible? If yes, how? And another question, I'll be protected from ddos attacks if I'll run the server on that way?


Additional info: Yes, I can port-forward on my router and make a server with my external ip address if this helps in answering the question(but I don't know how), and yes, I tried to bind the server to the VPN's IP[while I was connected to my VPN through openVPN client, of course] but it wont work..

My VPS is running Ubuntu 18.04 and I am using Windows to host my server.

1 Answer 1


I can confirm it is possible if you set your virtual interface as TAP, not TUN. This way you get a layer 2 connection between your PCs, and it will behave like being in the same LAN.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .