D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Network unreachable



On Monday 13 August 2001 11:26 pm, you wrote:
> I'm still struggling with a firewall / masquerading / gateway / problem.
>
>>

the problem was two fold - the masquerading box still had a local modem 
connection defined. (Duh!) From when I was testing the modem on this machine 
instead of the server it's on now!

Secondly, this was wrong - although I've yet to work out how to change it 
permanently:

>
> A snippet of ipchains -L shows:
> Chain forward (policy DENY):
> target     prot opt     source                destination           ports
> ACCEPT     all  ------  Linux.CodeHelp       Linux.CodeHelp        n/a
> ACCEPT     all  ------  ppp-1-xxx.xxxx-x.access.uk.worldonline.com anywhere
>          n/a
> MASQ       all  ------  Linux.CodeHelp       anywhere              n/a

I need to add:
ipchains -A forward -s 192.168.0.0/24 -j MASQ.

Can someone help explain why this keeps getting overridden when added to the 
firewall config files? Each time I restart the firewall, this line is 
overridden and the internet is closed off to the masquerading box!


-- 

Neil Williams
#-#-#-#-#-#-#-#-#
linux@xxxxxxxxxxxxxx
neil@xxxxxxxxxxxx
www.codehelp.co.uk

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.


Lynx friendly