[ale] iptables rule
Chris Fowler
cfowler at outpostsentinel.com
Fri Nov 5 21:06:16 EDT 2010
This is weird:
This works:
iptables -t nat -A PREROUTING -p tcp -s 208.50.120.138/32 --dport 80 -j
REDIRECT --to-ports 5000
iptables -t nat -A PREROUTING -p tcp -s 0.0.0.0/0 --dport 81 -j
REDIRECT --to-ports 5000
This does not:
iptables -t nat -A PREROUTING -p tcp -s 0.0.0.0/0 --dport 81 -j
REDIRECT --to-ports 5000
iptables -t nat -A PREROUTING -p tcp -s 208.50.120.138/32 --dport 80 -j
REDIRECT --to-ports 5000
In the 2nd rule it is as if it was never applied on eth0. What is weird
is that it fails on eth0 but works fine on ppp+ interfaces. Possibly a
fluke?
Chris
More information about the Ale
mailing list