[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

routing



Good day.

Could You please help me w/ routing?

I want to make working the following scheme:

host1 <-> eth <-> host2 <-> ppp

On host2 it seems that the route table is wrong somehow:

Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
10.10.10.10     *               255.255.255.255 UH    0      0        0
ppp0
192.168.0.0     *               255.255.255.0   U     0      0        0
eth0
default         *               0.0.0.0         U     0      0        0
ppp0

in iptables, chain FORWARD I have:
Chain FORWARD (policy DROP 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source
destination 0     0 ACCEPT     all  --  *      *
0.0.0.0/0            0.0.0.0/0           state RELATED,ESTABLISHED 129
10247 ACCEPT     all  --  eth0   *       192.168.0.3 0.0.0.0/0

cat /proc/sys/net/ipv4/ip_forward
1

Thank You for Your time.


Reply to: