[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

interfaces lo:1 lo:2 lo:3? (for remote ssh tunnels)



can linux have multiple 127.0.0.1 interfaces? if so, how?


okay -- not sure how to word this, but here goes...

a friend of mine is working with a college to establish
remote-to-local ssh tunnels -- we've got an application that
runs on office computers that listens for a connection from the
server, so it can handle the menuing on campus. the
linux/database server says "here, run the menu" and the client
machine says "okie dokie".

we want the staff to be able to do this remotely, and tunnelling
tcp ports (remote-to-local) seems the way to go. works like a
champ, except--

	only one process can seize the server's port 9999 at a time.
	pooh.

so one client connects, tunnels server port 9999 to client's
"localhost:9999". fine and dandy.

then the next tries connecting, and when hooking up to the
server, the server's ssh daemon can't seize port 9999 as it's
already locked down by the first user.

if there were a way to have more than one "localhost" interface,
it would be the way around this. what's needed to implement
something like that? (lo:1 lo:2 etc?)

-- 
I use Debian/GNU Linux version 3.0;
Linux boss 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002 i586 unknown
 
DEBIAN NEWBIE TIP #125 from Colin Watson <cjwatson@debian.org>
:
Ever wondered about confirming WHICH CPU, KERNEL OR DEBIAN
VERSION YOU HAVE?  It's easy:
	cat /proc/cpuinfo
There's lots of other neat stuff under /proc, too.
(You guessed it -- "man proc" will tell you more.)
For kernel and Debian data, try
	uname -a
	cat /etc/debian_version

Also see http://newbieDoc.sourceForge.net/ ...



Reply to: