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

Re: PROPOSAL: simple masquerading and filtering firewall setup



Hi,

	Well, depending on how far one whants to go, one may create
 other .def files that are conditionally turned on. For example, a
 script that turns on access to port 80 (allow access to your web
 site) called in20web.def may have this at the TOP:

 STATE=Off
 if [ "X$STATE" = "XOFF" ]; then
    exit 0;
 fi


	In the post inst, ask if the the installer wants to allow web
 access; and if yes, s/STATE=OFF/STATE=ON/. You can even have a
 ipmasqconfig. The possibilities are endless ;-)

	manoj
-- 
 "It's Woody Allen's fault," he had said, squeezing his bottle of
 Rolling Rock as if it were a hand grip.  "He had to go and ruin
 romantic love for all the rest of us for all time with his goddamn
 lobsters." Ann Beattie
Manoj Srivastava  <srivasta@acm.org> <http://www.datasync.com/%7Esrivasta/>
Key C7261095 fingerprint = CB D9 F4 12 68 07 E4 05  CC 2D 27 12 1D F5 E8 6E


--  
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: