On Thu, 2002-07-18 at 14:15, Tony Roberts wrote: > Has anyone figured out port forwarding in SME/e-smith 5.5? I have read through > the groups and mailing list and haven't found anything. I looked through the > scripts and couldn't figure it out either. I know D. May's portforward RPM > doesn't work in 5.5. I tried using ipmasqadm and it didn't work because it > blocked incoming connections. If anyone can be of any help, please reply or > send me an e-mail or both.
I was trying to map port 2022 to port 22 on another machine (203.42.87.217). I just extended /etc/xinetd.conf, like this... Create /etc/e-smith/templates/etc/xinetd.conf/70sshproxy service sshproxy { $OUT .= "{ flags = REUSE socket_type = stream wait = no user = nobody redirect = 203.42.87.217 22 disable = no port = 2022 }"; } Then /sbin/e-smith/expand-template /etc/xinetd.conf /etc/rc.d/init.d/xinetd restart Works for me and doesn't require any additional software. The latency is a little weird though. I really should use some variables from the configuration database. And make a pretty web interface. One day. > Thanks in advance, > Tony Roberts > > -- > Please report bugs to [EMAIL PROTECTED] > Please mail [EMAIL PROTECTED] (only) to discuss security issues > Support for registered customers and partners to [EMAIL PROTECTED] > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org > -- Regards, Greg Baker The Institute for Open Systems Technologies Email: [EMAIL PROTECTED] Phone Int'l: 61 500 545 856 (GMT +10/11) Phone Aus: 0500 545 856 This message has been digitally signed by its author.
signature.asc
Description: This is a digitally signed message part