Koozali.org: home of the SME Server

2 e-smith servers

Micahel Anderson

2 e-smith servers
« on: August 02, 2000, 11:36:07 PM »
I have two e-smith servers setup on my network.  One is going to do gateway, while the other is going to do ftp/http.  I am having trouble with the port forwarding.  I am using the program recommended by ppl, redir.  I can forward the ports when I issue a command from a telent session but I can't get them to start automatically on boot up.  Some inside would be excellent.

Thanks,

Michael Anderson

Dan Brown

RE: 2 e-smith servers
« Reply #1 on: August 03, 2000, 02:12:55 AM »
I'd think it'd be best to put it in your masq script that runs on startup.
Go to /etc/e-smith/templates/etc/rc.d/init.d/masq and edit template-begin, adding the necessary redir commands, then run /sbin/e-smith/expand-template /etc/rc.d/init.d/masq.

Micahel Anderson

RE: 2 e-smith servers
« Reply #2 on: August 03, 2000, 06:35:50 AM »
Thanks,

I'll give that a try.


Michael Anderson