From: Wilson A. G. Jr. <wil...@gm...> - 2008-04-28 19:12:06
|
Hello. I have to reproduce this 2 rules on shorewall. How i can do this? Rule1: iptables -t nat -A PREROUTING -p tcp --destination-port 1863 -j REDIRECT --to-ports 16667 Rule2: iptables -t nat -A OUTPUT -p tcp --destination-port 1863 -m owner --uid-owner 100 -j REDIRECT --to-ports 16667 The first rule i´m do with this: REDIRECT loc 16667 tcp 1863 But to the second i don´t now how to do. Thanks for any help, Wilson Galafassi |