LinuxQuestions.org
Visit Jeremy's Blog.
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 01-23-2006, 01:47 AM   #1
ciscohead
Member
 
Registered: Mar 2003
Distribution: redhad 7.3
Posts: 42

Rep: Reputation: 15
UML port forwarding


My friend set up a UML for me on a remote box specifically for testing some stuff. He setup login thru ssh on a high nonstandard port and access apache on a high nonstandard port as well. That all works and I am able to install software on it and what not.


Here is the problem I want an app in this UML to listen on port 3000 It would seem like he (who controls the host) would have to open up some port on the outside which I don't control and map it to 3000 on the inside...

So my question is simple: Do I have to ask him to do this for me if so no problem... I am inclined to think this is the case since I am chrooted basically to the inside. If I am wrong and I can do it myself and if so EXACTLY what commands do I run to do it and what does each command do?
 
Old 01-25-2006, 02:42 PM   #2
tlowk
Member
 
Registered: Nov 2003
Location: Belgium
Distribution: Slackware
Posts: 184

Rep: Reputation: 36
The only work-around I see is via the ssh command, this is possible with the
-L parameter

ssh -L 8080:localhost:80 -g umlIp

this will map the 8080 of your host to port 80 of the UML during the time you
are connected, apart from that I don't see an easy solution, since the uml has
no access in his setup to a public IP

regards,

tlowk
 
Old 01-25-2006, 06:54 PM   #3
ciscohead
Member
 
Registered: Mar 2003
Distribution: redhad 7.3
Posts: 42

Original Poster
Rep: Reputation: 15
thanks for the reply

I skirted the issue for the moment by shutting down apache (I didn't need it) and just having the server I want to whale on listen on port 80 and contacting it from the outside through the high port that's mapped to 80 on the inside. I'll ultimately need apache so whenever I need any other high ports open I'll just ask him.
 
  


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
IPCHAINS port forwarding and IPTABLES port forwarding ediestajr Linux - Networking 26 01-14-2007 07:35 PM
Simple Port Forwarding Firewall - not forwarding MadTurki Linux - Security 14 04-09-2006 12:08 PM
Port 80 forwarding to port 22 with iptables zahoo Linux - Networking 3 02-22-2005 07:22 AM
port forwarding and packet forwarding syrtsardo Linux - Newbie 2 07-03-2003 10:37 AM
port forwarding TimBeR Linux - Networking 1 10-12-2001 01:29 PM

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

All times are GMT -5. The time now is 09:34 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