Date: Tue, 17 Apr 2001 15:42:44 -0700 From: "Michael O'Henly" <michael@tenzo.com> To: freebsd-questions@freebsd.org Subject: Three easy questions about ipfw... Message-ID: <01041713553100.23795@h24-69-46-74.gv.shawcable.net>
next in thread | raw e-mail | index | archive | help
Hi... 1. If I'm running sendmail but use it for outgoing mail only, should I make port 25 open on the external interface? For instance, would my machine need to receive responses confirming that outgoing mail has been successfully delivered? 2. If I describe $onet as being equal to $oip, ipfw seems to be able to figure out the bitmask for $onet by looking at the netmask. (I know this because I can see what $onet is expanded to when I do a 'ipfw list'.) Is this acceptable or should I be using something like: onet=`ifconfig rl0 | grep "inet " | awk '{print $2 "/23"}'` 3. If describing $onet as being equal to $oip _is_ acceptable, would it be more efficient to enter it as... onet=`ifconfig rl0 | grep "inet " | awk '{print $2}'` omask="255.255.254.0" oip=onet Or better yet, to just replace all occurrences of $onet in rc.firewall with $oip? Thanks. M. -- Michael O'Henly TENZO Design To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01041713553100.23795>