[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] iptables rule
- Subject: [ale] iptables rule
- From: cfowler at outpostsentinel.com (Chris Fowler)
- Date: Fri, 05 Nov 2010 21:06:16 -0400
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