Hey, right now i am trying to setup a forwarding policy on backtrack 4.
i have done so:
Code:
echo 1 /proc/sys/net/ipv4/ip_forward
Code:
iptables -t nat -A PREROUTING -p tcp --destination-port 80 -j REDIRECT --to-port 8080
but nothing appears in the forward chain. am i missing something?
+ changing the ip_forward text file to 1 is not persistent through a reboot. maybe i am going wrong somewhere.