I added an entry into my IPTABles using following command steps
1) iptables -A TRUSTED -s 192.168.2.0/24 -d 0/0 -p ALL -j ACCEPT
2) service iptables status
3) service iptables save
Everything is working fine. I can see my entry using
service iptables status
Entry can also be seen in /etc/sysconfig/iptables File
Problem: When I restart my Linux machine, the above entry is not seen when using
service iptables status.
I have to restart iptables again using below command.
service iptables restart.
Question: Will the below command help?
chkconfig iptables on
--- In dubailug@yahoogroups.com, "Nadeem M. Khan" <nadeem.m.khan@...> wrote:
>
> On Mon, Mar 16, 2009 at 3:56 PM, Varghese Panicker
> varghese_pr@... wrote:
> > Hi,
> >
> > We are using Redhat Fedoracore as proxy server (192.168.0.6 port 3128)
> > Lan series we are using is 192.168.0.0. and it is working fine.
> > Now we want to add one more series like 192.168.2.0. to connect internet in
> > an another location.
> >
> > We added 192.168.2.0 series in the route. we are able to ping proxy server
> > from the other location but are not able to access any sites.
> >
> > Firewall iptables are configured to accept all TCP traffic from 192.168.2.0
> >
> > Can anyone help me
>
> Varghese,
>
> You probably need to add squid acls to allow your new network http access.
>
> acl newnetwork src 192.168.2.0/255.255.255.0
> http_access allow newnetwork
>
> Add those two lines at the top of your acl section in squid.conf file
> and then run the command "squid -k reconfigure"
>
> Regards,
> NMK.
>