Re: Is this correct in Ipchains?

From: Cedric Blancher (blancher@cartel-info.fr)
Date: 12/20/01


From: Cedric Blancher <blancher@cartel-info.fr>
Date: Thu, 20 Dec 2001 08:46:26 +0000 (UTC)

Dans sa prose, Ramesh Kumar Panithi (kumar_pro2@hotmail.com) nous ecrivait :
> I've added the following the line int ipchains:
> ipchains -A tcp -a input -s $extnet -d IP Address 80 -j ACCEPT
>
>
> I want to allow outside requests to my web site.
> If not correct? please give me the correct script.

No it is not. If you had tried it, you would have know : syntax is not
ok.

ipchains -A input -p tcp -s $extnet -d IP_Address 80 -j ACCEPT

will do the trick.

See ipchains HOWTO.

-- 
 sois un vrai fourbe lambert! tu n'as pas a avoir honte! apres tout ,
 une sorte de confrerie interplanetaire de mp3 pouah! des milliers de
 fideles partagant leur zic comme ca! beurk! ca me souleve le coeur moi!
 -+- Nono in <http://neuneu.mine.nu> : Le tropisme du concert -+-