iptables question
The man page mentioned a concept of 'redirect' but it doesn't sound useful.
EDIT What I was looking for:
iptables -t mangle -A PREROUTING -p tcp –dport 25 -j MARK --set-mark 1
ip rule add fwmark 1 table 10
ip route add table 10
The man page mentioned a concept of 'redirect' but it doesn't sound useful.
EDIT What I was looking for:
iptables -t mangle -A PREROUTING -p tcp –dport 25 -j MARK --set-mark 1
ip rule add fwmark 1 table 10
ip route add table 10