Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 09-19-2015, 05:25 AM   #1
LQ Newbie
Registered: Sep 2015
Posts: 2

Rep: Reputation: Disabled
I need help making a dedicated server to "tunnel" traffic to a given IP.

Long story short.
I have a game that I'm building.
Now I'm experimenting with making a second dedicated host that will act like a proxy for all players.
I want this "traffic server" to receive data, and pass it on to the actual game and backwards.
It could be used as proxy, or just a way to in future to maybe hide where the actual IP to the game is by any weird reason.

However I've been trying for 3 days now, to make that "traffic server" to actually pass the traffic through and send it to the game server.

(IPS and ports are made up, to help you to understand what I want, and help me to understand which IP goes were in eventual commands needed)
This is how it works right now:

And this is how I want to to be once it's done:

Any help is appreciated!
it doesn't matter if it's a "route" or "iptables" or anything else, as far I can get it to work so I can keep experimenting and not being stuck at same problem for 3 days
Old 09-19-2015, 06:25 PM   #2
Registered: May 2009
Location: Fort Langley BC
Distribution: Kubuntu,Free BSD,OSX,Windows
Posts: 342

Rep: Reputation: 59
There are many ways to do this, but OpenVPN will do the trick.
OpenVPN 'server' on the game server, OpenVPN 'client' on the 'dedicated' server.
You give out your 'client' IP address to the gamers.

It is free, and should be available in your repo's.

It will take you less than three days to set it up
Actually the setup is fairly easy, lots of tutorials out there.

Good luck, and welcome to LQ !

Last edited by ceyx; 09-19-2015 at 06:27 PM.
Old 10-08-2015, 01:39 PM   #3
LQ Newbie
Registered: Sep 2014
Posts: 17

Rep: Reputation: Disabled
you can use OpenVPN / pptp.
i think you get all.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Making a Linux gateway ssh to tunnel the traffic iamomen Linux - Networking 1 10-06-2010 12:31 AM
Routing incoming traffic to NAT'ed VM on a hired dedicated server merlininthewood Linux - Networking 2 05-21-2010 03:30 PM
SSH Tunnel - Record Traffic through Server thegondola Linux - Networking 1 05-20-2010 01:17 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:35 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration