Hi, need to edit the iptables config

vi /etc/sysconfig/iptables 

and remove the line " ... 192.168.0.0/xx ...drop"



-----Original Message-----
From: Eric Shubert [mailto:[EMAIL PROTECTED] 
Sent: Saturday, June 28, 2008 11:31 PM
To: [email protected]
Subject: Re: [qmailtoaster] please advice

Ahmed Shareef wrote:
> Dear All,
> 
> After I run *sh cnt5064-svcs.sh* my internal ip 192.168.1.xx is blocked
> by firewall please advice how can I edit iptable to allow very thing
> from internal IP   
> 
> Thanks
> 

In the firewall.sh script, find the first 2 lines below, then add the
following 3 lines:
## Drop all incoming fragments
iptables -A INPUT -i eth0 -f -j DROP
#
# shubes 5/16/06 - accept packets from local nets
iptables -A INPUT -s 192.168.1.0/255.255.255.0 -j ACCEPT

Then rerun the firewall.sh script.

-- 
-Eric 'shubes'

---------------------------------------------------------------------
     QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
     QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to