Displaying 1 result from an estimated 1 matches for "maqerad".
Did you mean:
manera
2002 Oct 09
7
ipchains iproute2 and port based routing
...2
second, i added two rules:
echo 200 t-dsl >> /etc/iproute2/rt_tables
echo 201 s-dsl >> /etc/iproute2/rt_tables
ip ru add fwmark 1 table s-dsl
ip ru add fwmark 2 table a-dsl
at last, i setup the routes:
ip ro add 0/0 dev eth2 table s-dsl
ip ro add 0/0 dev ppp0 table a-dsl
The maqerading is also setup:
ipchains -A forward -s 192.168.0.0/24 -j MASQ
There nothing happens. If i try to connect with ssh or http from a other
host, nothing happens.
If a setup this with two "desternation host rules" it works.
I think there is something wrong with ipchains and the marking of...