devinfo  

[e-smith-devinfo] IPChains drivers me crazy !

Brossin Pierrick
Fri, 24 Aug 2001 19:42:08 -0700

Hey gurus !

I'm trying to close the port 95 on eth1 (external network)
so user from the internet cant get connected to it.

Here is why I didnt and it actually didnt work :(

mkdir -p /etc/e-smith/templates-custom/etc/rc.d/init.d/masq
cp -rf /etc/e-smith/templates/etc/rc.d/init.d/masq
/etc/e-smith/templates-custom/etc/rc.d/init.d
vi 45DenyPort95
I wrote  "/sbin/ipchains -A input -p tcp -s $OUTERNET 95 -d 0/0 -j denylog"
I saved it
then /sbin/e-smith/expand-template /etc/rc.d/init.d/masq
then service masq restart.

But it's still accessible...

Any idea ?

Regards

-----
Un PC sans Windows c'est comme un gāteau au chocolat sans moutarde


--
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