RE: ipchains iproute2 and port based routing

Linux Advanced Routing and Traffic Control

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

 



Aigh!  I think I may have spotted the problem.

Your routing table number 10 doesn't know anything about 192.168.0.0/24 
does it?

Make sure that each routing table has routes for the destinations it is 
supposed to be able to reach!

 : ipchains -A input -p icmp -s 192.168.0.0/24 -m 2
 : ip ru add fwmark 2 table 10
 : ip route add default via x.x.x.x dev eth2 table 10
 : ipchains -A forward -s 192.168.0.0/24 -j MASQ
 : * x.x.x.x is the default gateway!

-Martin

-- 
Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com


_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux