On Sat, Oct 10, 1998 at 10:30:29AM -0400, rich wrote: > > Trying to get a mail host to work behind a linux masq firewall and it won't > -- It should be simple -- everything is compiled in a loaded, including > forwarding, so what is wrong with this... (assume 123.45 is class B private > of course) > #!/bin/sh > # > ipfwadm -I -f > ipfwadm -O -f > ipfwadm -F -f > ipfwadm -F -p deny > ipfwadm -F -a m -S 123.45.0.0/16 -D 0.0.0.0/0 > ipportfw -Cipportfw -A -t106.142.44.9/23 -R 123.45.1.2/23 I assume that last line is really two lines, and that it doesn't really say "-Cipportfw." What does "it won't [work]" mean? Are there error messages when you run the ipportfw command? If not, what does ipportfw -L tell you about forwarded ports? Is there already something listening on port 23 on the masquerading box? And is port 23 the port you mean to forward? You say you're trying to get a mail host to work--port 23 is the telnet port. Perhaps you meant to say 25, for smtp. Chris --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For daily digest info, email [EMAIL PROTECTED]
