SuSE linux 8.0 & IPMasq

George Toft plug-discuss@lists.plug.phoenix.az.us
Sun, 25 Aug 2002 15:00:59 -0400


Hi Clayton,

The routing table you show here has 192.168.1.0 network, yet the
original problem indicated the 192.168.0.0 network was in use.

This table indicates it is using eth1 for localnet (127.0.0.0) traffic. 
This should be lo.

Your forwarding policy is drop, vice accept.  I don't think Computer A
will forward traffic that way (99.5% sure).  If anyone can show me an
example contradicting my thought, please do so.

Send  route -n   from both computers.  Send the iptable script as well.

Regards,

George



Clayton Stapleton wrote:
> 
> I am using the test IP Masquerade iptables.
> 
> I tried Michelle's suggestion with the following:
> With eth0 set as "static"
>  # route
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref   UseIface
> 192.168.1.0     *               255.255.255.0   U     0      0        0
> eth0
> localnet        *               255.255.255.0   U     0      0        0
> eth1
> default         loran.clasta    0.0.0.0         UG    0      0        0
> eth0
> This had no effect, still cannot reach the network.
> 
> George here is the iptables -list:
> 
> loran:/home/clay # iptables --list
> Chain INPUT (policy ACCEPT)
> target     prot opt source               destination
> 
> Chain FORWARD (policy DROP)
> target     prot opt source               destination
> ACCEPT     all  --  anywhere             anywhere           state
> RELATED,ESTABLISHED
> ACCEPT     all  --  anywhere             anywhere
> LOG        all  --  anywhere             anywhere           LOG level
> warning
> 
> Chain OUTPUT (policy ACCEPT)
> target     prot opt source               destination
> 
> I have to set eth0 to "DHCP" to be able to go on the internet.
> 
> Clayton
> 
> On Saturday 24 August 2002 11:03 pm, George Toft wrote:
> > If Michelle's suggestion doesn't work, it would help to post your
> > ipchains/iptables script.
> >
> > Regards,
> >
> > George
> 
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss