[plug] IPV4 some advice

Mark Saxon mark at omninet.net.au
Wed Aug 9 08:30:42 WST 2000


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
> >
> > does this look right?
>
> 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?

Mark

>
> Colin




More information about the plug mailing list