Linux Netfilter discussions
 help / color / mirror / Atom feed
* RE: Cannot Ping Local Network after Executing rc.firewall script
@ 2004-03-11 18:23 Daniel Chemko
  0 siblings, 0 replies; 6+ messages in thread
From: Daniel Chemko @ 2004-03-11 18:23 UTC (permalink / raw)
  To: Harish Sabnani, netfilter

[-- Attachment #1: Type: text/plain, Size: 953 bytes --]

Maybe you could actually show us the rules. 

	-----Original Message-----
	From: Harish Sabnani [mailto:hari76@omantel.net.om] 
	Sent: Thursday, March 11, 2004 10:08 PM
	To: netfilter@lists.netfilter.org
	Subject: Cannot Ping Local Network after Executing rc.firewall
script
	
	
	Hi All,
	 
	I am using Iptables with Ip Masquearde, with a simple
rc.firewall script to share my internet connection for the last so many
months, today I configured a new server with the same settings but after
the script executes I am not able to ping computers in my local network
and the moment I restart the Iptables I am able too?I just dont
understand where I am going wrong?Any pointers will be apprecaited.
	 
	I have enabled Ipforward!
	 
	Regards
	Harish
	 
	 
	"In all this world, there is only you
	When all else ceases, there is only you"  
	-- to my MASTER!
	    Harish
	harish@sabnanis.com 
	harish.sabnani@cyberhutoman.com 


[-- Attachment #2: Type: text/html, Size: 2245 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Cannot Ping Local Network after Executing rc.firewall script
  2004-03-12  6:08 Harish Sabnani
@ 2004-03-11 18:30 ` Rob Sterenborg
  0 siblings, 0 replies; 6+ messages in thread
From: Rob Sterenborg @ 2004-03-11 18:30 UTC (permalink / raw)
  To: netfilter

> I am using Iptables with Ip Masquearde, with a simple 
> rc.firewall script to share my internet connection for the 
> last so many months, today I configured a new server with the 
> same settings but after the script executes I am not able to 
> ping computers in my local network and the moment I restart 
> the Iptables I am able too?I just dont understand where I am 
> going wrong?Any pointers will be apprecaited.
>  
> I have enabled Ipforward!

We don't know what your script looks like so it's going to be hard.

If you can not ping from the firewall to the PC's then you should be
allowing INPUT traffic from your lan and OUTPUT traffic from the firewall.
Reading the above it seems to me that forwarding doesn't have anything to do
with this.
Not much more one can say without the rules.


Gr,
Rob



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Cannot Ping Local Network after Executing rc.firewall script
  2004-03-12  5:59 Cannot Ping Local Network after Executing rc.firewall script Harish Sabnani
@ 2004-03-11 23:15 ` Antony Stone
  2004-03-11 23:22   ` Ray Anderson
  0 siblings, 1 reply; 6+ messages in thread
From: Antony Stone @ 2004-03-11 23:15 UTC (permalink / raw)
  To: netfilter

On Friday 12 March 2004 5:59 am, Harish Sabnani wrote:

> Hi All,
>
> I am using Iptables with Ip Masquearde, with a simple rc.firewall script to
> share my internet connection for the last so many months, today I
> configured a new server with the same settings but after the script
> executes I am not able to ping computers in my local network and the moment
> I restart the Iptables I am able too?I just dont understand where I am
> going wrong?Any pointers will be apprecaited.

It sounds like your netfilter rules are not being loaded on startup.

Check your startup scripts (what, and where, they might be, depends entirely 
on your Linux distribution) to make sure that your ruleset is being loaded 
when the new system boots up.

Regards,

Antony.

-- 
If you can't find an Open Source solution for it, then it isn't a real 
problem.

                                                     Please reply to the list;
                                                           please don't CC me.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: Cannot Ping Local Network after Executing rc.firewall script
  2004-03-11 23:15 ` Antony Stone
@ 2004-03-11 23:22   ` Ray Anderson
  0 siblings, 0 replies; 6+ messages in thread
From: Ray Anderson @ 2004-03-11 23:22 UTC (permalink / raw)
  To: netfilter

The other thing to check is the ipv4_forward value.

In some linux distros, the ipforward option needs to be set up in the
/etc/sysconfig/network script, and isn't set automatically with iptables
restore.

-=Ray
+-----------------------------------------------------------+
|                         | Ray Anderson                    |
|           |             | Systems Development Manager     |
|           |             | 916.788.2444 (Office)           |
|          (O)            | 916.798.9439 (Mobile)           |
|X--------<_._>--------X  | PRIDE Industries                |
|         (___)           |                                 |
|                         | http://www.prideindustries.com  |
+-----------------------------------------------------------+
Clouds are very effective for evasive action....They're a good way to get
home when you're alone.
Lt. Colonel John C. Meyer, USAAF


> -----Original Message-----
> From: netfilter-admin@lists.netfilter.org 
> [mailto:netfilter-admin@lists.netfilter.org] On Behalf Of Antony Stone
> Sent: Thursday, March 11, 2004 3:15 PM
> To: netfilter@lists.netfilter.org
> Subject: Re: Cannot Ping Local Network after Executing 
> rc.firewall script
> 
> 
> On Friday 12 March 2004 5:59 am, Harish Sabnani wrote:
> 
> > Hi All,
> >
> > I am using Iptables with Ip Masquearde, with a simple 
> rc.firewall script to
> > share my internet connection for the last so many months, today I
> > configured a new server with the same settings but after the script
> > executes I am not able to ping computers in my local 
> network and the moment
> > I restart the Iptables I am able too?I just dont understand 
> where I am
> > going wrong?Any pointers will be apprecaited.
> 
> It sounds like your netfilter rules are not being loaded on startup.
> 
> Check your startup scripts (what, and where, they might be, 
> depends entirely 
> on your Linux distribution) to make sure that your ruleset is 
> being loaded 
> when the new system boots up.
> 
> Regards,
> 
> Antony.
> 
> -- 
> If you can't find an Open Source solution for it, then it 
> isn't a real 
> problem.
> 
>                                                      Please 
> reply to the list;
>                                                            
> please don't CC me.
> 
> 



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Cannot Ping Local Network after Executing rc.firewall script
@ 2004-03-12  5:59 Harish Sabnani
  2004-03-11 23:15 ` Antony Stone
  0 siblings, 1 reply; 6+ messages in thread
From: Harish Sabnani @ 2004-03-12  5:59 UTC (permalink / raw)
  To: netfilter

[-- Attachment #1: Type: text/plain, Size: 634 bytes --]

Hi All,

I am using Iptables with Ip Masquearde, with a simple rc.firewall script to share my internet connection for the last so many months, today I configured a new server with the same settings but after the script executes I am not able to ping computers in my local network and the moment I restart the Iptables I am able too?I just dont understand where I am going wrong?Any pointers will be apprecaited.

I have enabled Ipforward!

Regards
Harish


"In all this world, there is only you
When all else ceases, there is only you"  
-- to my MASTER!
    Harish
harish@sabnanis.com 
harish.sabnani@cyberhutoman.com 

[-- Attachment #2: Type: text/html, Size: 1571 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Cannot Ping Local Network after Executing rc.firewall script
@ 2004-03-12  6:08 Harish Sabnani
  2004-03-11 18:30 ` Rob Sterenborg
  0 siblings, 1 reply; 6+ messages in thread
From: Harish Sabnani @ 2004-03-12  6:08 UTC (permalink / raw)
  To: netfilter

[-- Attachment #1: Type: text/plain, Size: 620 bytes --]

Hi All,

I am using Iptables with Ip Masquearde, with a simple rc.firewall script to share my internet connection for the last so many months, today I configured a new server with the same settings but after the script executes I am not able to ping computers in my local network and the moment I restart the Iptables I am able too?I just dont understand where I am going wrong?Any pointers will be apprecaited.

I have enabled Ipforward!

Regards
Harish


"In all this world, there is only you
When all else ceases, there is only you"  
-- to my MASTER!
    Harish
harish@sabnanis.com 
harish.sabnani@cyberhutoman.com 

[-- Attachment #2: Type: text/html, Size: 1544 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-03-12  6:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-12  5:59 Cannot Ping Local Network after Executing rc.firewall script Harish Sabnani
2004-03-11 23:15 ` Antony Stone
2004-03-11 23:22   ` Ray Anderson
  -- strict thread matches above, loose matches on Subject: below --
2004-03-12  6:08 Harish Sabnani
2004-03-11 18:30 ` Rob Sterenborg
2004-03-11 18:23 Daniel Chemko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox