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

inetd able to start programms on distant machines?



Maybe I should begin with the idea that's behind my question.

I want to give some persons access via ssh to a machine behind my
firewall. Therefor I installed dns2go and run it from the $targe_host.
Naturally dns2go resolves the official IP of my firewall because it
has also the funtion of my router and gateway (simply to few pc's at home).

My problem is now how to route externally incoming ssh traffic to 
$target_host? As far as I understood ipchains (yes, 2.2er Kernel and
please don't tell me to change to 2.4 until it's not possible to solve the
problem with 2.2) I can't use redirect for my problem, correct? 

Another solution seems to be NAT but I'm a completely blank sheet of
paper to that. 

So I thought about the fact how incoming services are started. And there
just inetd came into my mind. Would an entry like

#:OTHER: Other services
ssh	stream	tcp	nowait	root	root@$target_host:/usr/sbin/sshd

help me out of here?

Not really I guess, because I feel that I'm so lack of authentication...?

Frank.
-- 
			$ Hello World!
		      $ I am [Ff]rank ;)
1024D/EC4CE5CC 2002-05-14 Frank Brodbeck <oakenshield@gmx.net>
fingerprint = 193D 62EC 03A5 1066 A951  4DA3 947A D578 EC4C E5CC

Attachment: pgpfwejy7U6B4.pgp
Description: PGP signature


Reply to: