Linode Forum Index Linode Forum
Linode Community Forums
 


iptables is not showing updated content

Click here to go to the original topic

 
       Linode Forum Index -> Linux Networking
Author Message
blino



Joined: 11 Oct 2010
Posts: 5

Posted: Tue Oct 12, 2010 5:13 am    Post subject: iptables is not showing updated content  

hello Linux gurus,
I tried altering iptables configuration, here is my commands
/sbin/iptables -F
/sbin/iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080

now when I say /sbin/iptables -L --> It does not show my latest configuration I added for port forward. Everything works fine but.

Any idea what I am missing.

cheers
Back to top  
carmp3fan



Joined: 14 Feb 2009
Posts: 116

Posted: Tue Oct 12, 2010 9:52 am    Post subject:  

Try using:

Code: iptables -t nat -L
Back to top  
blino



Joined: 11 Oct 2010
Posts: 5

Posted: Tue Oct 12, 2010 10:18 am    Post subject:  

That helped. cheers mate.
Back to top  
 
       Linode Forum Index -> Linux Networking
Page 1 of 1