Trying to setup an iptables port 80 to 8080 redirect on debian 6

view full story

http://serverfault.com – When trying to setup a redirect and save the iptables file via iptables-restore, i get the following error: iptables-restore v1.4.8: Line 31 seems to have a -t table option. Error occurred at line: 31 Here's the full file, with the line im trying to use to redirect at #31 *filter # Allows all loopback (lo0) traffic and drop all traffic to 127/8 that doesn't use lo0 -A INPUT -i lo -j ACCEPT -A INPUT ! -i lo -d -j REJECT # Accepts all established inbound connections -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT # Allows all outbound traffic # You could modify this t (HowTos)