[plug] IPChains

Kai vk6ksj at siwa.com.au
Mon Sep 18 22:43:59 WST 2000


Hi Damion,
I put in two lines of text and that's it !!

route add default ppp0
ipfwadm -F -a m -S 192.168.0.0/24 -D 0.0.0.0/0

I have no problems.

The RH 6.2 equiv to that is:
route add default ppp0
ipchains -A forward -s 192.168.0.0/24 -j MASQ

Of course you need to be root to do that and you must make sure that your
internal address (the 192....) matches yours.
I hope this helps...

/Kai

----- Original Message -----
From: "Matt Kemner" <zombie at wasp.net.au>
To: "Perth Linux Users Group" <plug at plug.linux.org.au>
Sent: Monday, September 18, 2000 10:04 PM
Subject: Re: [plug] IPChains


> On Mon, 18 Sep 2000, Damion Hill wrote:
>
> > The one thing that needs attention is the setting for the IP address.  I
> > dial to iiNet who assign an ip depending on which port you've dialed in
> > to.
>
> What is in the script (and what does it do) and why does it need to know
> your IP address?
>
>  - Matt
>
>
>




More information about the plug mailing list