[plug] IPV4 some advice

Brian Tombleson Brian at ParadigmIT.com.au
Wed Aug 9 08:58:04 WST 2000


From: "Mark Saxon" <mark at omninet.net.au>
Sent: Wednesday, August 09, 2000 8:30 AM

> Colin Muller wrote:
>
> > Mark Saxon wrote:
> > > echo 1 > /proc/sys/net/ipv4/ip_forward
> > > and
> > >  ipchains -P forward DENY
> > >  ipchains -A forward -s 192.168.246.2/255.255.255.0 -j MASQ

> > Should do. I wonder whether your routing is properly set up. What does
> > netstat -rn show?

> Kernel IP routing table
> Destination      Gateway         Genmask              Flags   MSS  Window
irtt     Iface
> 202.61.192.14   0.0.0.0      255.255.255.255   UH        0       0
0       ppp0
> 192.168.246.0   0.0.0.0      255.255.255.0       U          0        0
0       vmnet1
> 127.0.0.0           0.0.0.0      255.0.0.0              U           0
0                 0        lo
> 0.0.0.0               202.61.192.14   0.0.0.0        UG         0        0
0        ppp0

> Is something missing?

Looks ok.  Check the output of 'ipchains -L' but you have to run it as su,
and you may not want to post it for security reasons (your choice).

Check your ipchains documentation on each rule it shows to ensure each is
doing the right thing.

I've actuallt lost the train of thought as to what the current problem is ?
What's not working at the moment?

- Brian.





More information about the plug mailing list