View Single Post
  #11  
Old 4th January 2010, 16:36
dalitso dalitso is offline
Member
 
Join Date: Nov 2008
Location: South Africa
Posts: 43
Thanks: 3
Thanked 4 Times in 3 Posts
Send a message via Skype™ to dalitso
Default

Code:
root@wani:~# iptables -t nat -vnL
Chain PREROUTING (policy ACCEPT 4442 packets, 488K bytes)
 pkts bytes target     prot opt in     out     source               destination                                              
  602 29568 DNAT       tcp  --  eth1   *       0.0.0.0/0            0.0.0.0/0                                                        tcp dpt:80 to:192.168.1.20:3128

Chain POSTROUTING (policy ACCEPT 3255 packets, 226K bytes)
 pkts bytes target     prot opt in     out     source               destination                                              
 7094  611K MASQUERADE  all  --  *      eth0    0.0.0.0/0            0.0.0.0/0                                               

Chain OUTPUT (policy ACCEPT 6359 packets, 434K bytes)
 pkts bytes target     prot opt in     out     source               destination
Reply With Quote
Sponsored Links