Dear all,<div>   Thanks very much for your kindly help! I use below codes to update the firewall, and it works now.</div><div>  </div><div>echo 1 > /proc/sys/net/ipv4/ip_forward</div><div>iptables -t nat  -A PREROUTING -d 192.168.1.250 -p tcp -m tcp --dport 8080 -j DNAT --to-destination a.b.c.d:8181</div><div>iptables -t nat -A POSTROUTING -d a.b.c.d -p tcp --dport 8181 -j SNAT --to-source 192.168.1.250</div><div><div></div><br><pre><br>At 2011-06-27£¬"John R Pierce" <pierce@hogranch.com> wrote:

>On 06/27/11 12:05 AM, muiz wrote:
>> [root@localhost ~]# /sbin/iptables -L
>
>note that doesn't show all the pertinent info. I prefer `iptable -L 
>-vn`, and it still doesn't show the nat tables, you also need `iptable 
>-L -vn -t nat` to see those chains, and `iptable -L -vn -t mangle` if 
>you're using any mangle entries.
>
>
>
>-- 
>john r pierce                            N 37, W 122
>santa cruz ca                         mid-left coast
>
</pre></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>