LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-12-2015, 09:04 PM   #1
mqduck
LQ Newbie
 
Registered: Jun 2015
Posts: 2

Rep: Reputation: Disabled
Routing all traffic on a port to an external IP


I'd like to be able to host a game on a Windows computer, which is behind a router I don't have control over, but allow people to connect to connect to it through a Linux server, which I do control. Right now I can route all network traffic on the Windows computer through a VPN connection with the server, but the game I'm hosting doesn't seem to be visible to the outside world. Is there a way to tell OpenVPN (or something else) to route all incoming traffic on a specific port to my Windows computer?

Last edited by mqduck; 06-12-2015 at 09:05 PM.
 
Old 06-13-2015, 03:09 PM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,334

Rep: Reputation: Disabled
There probably is, but if you only need one or two specific TCP and/or UDP ports, have you considered SSH tunneling?
 
Old 06-14-2015, 01:08 AM   #3
mqduck
LQ Newbie
 
Registered: Jun 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
Wouldn't that require me setting up a forward for the IP of each player that wants to connect to the server?
 
Old 06-14-2015, 02:33 PM   #4
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,334

Rep: Reputation: Disabled
No, remote SSH port forwarding simply forwards one or more specified ports on the remote system to (a) port(s) on the client side.
 
  


Reply



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
Routing incoming port 80 traffic to new port PygamePi Linux - Server 10 03-25-2014 04:39 AM
Routing traffic by port number to specific interface meekamoo Linux - Networking 3 01-17-2011 08:14 AM
port based routing for local traffic houska Linux - Networking 2 05-24-2009 07:10 AM
Routing internal traffic to external kzsolt Linux - Networking 7 05-21-2009 12:17 PM
routing traffic for multiple web servers through one port (443 preferably) miedward Linux - Software 3 05-04-2009 02:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:52 AM.

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