[root@~]# vi /etc/sysconfig/iptables

:PREROUTING ACCEPT [0:0]

## Internal network for port forwarding
-A PREROUTING -s 192.168.0.0/255.255.255.0 -d 203.198.153.123 -p tcp -m tcp -m multiport --dports 20,21,25,80,110,143,10000,60000:60100 -j DNAT --to-destination 192.168.0.10

## Public networt for port forwarding
-A PREROUTING -d 203.198.153.123 -p tcp -m tcp -m multiport --dports 20,21,25,80,110,143,10000,60000:60100 -j DNAT --to-destination 192.168.0.10

[root@~]# /etc/init.d/iptables restart



Server is hosted by Alanstudio
Linux Operating System

Recommend screen resolution 1024 x 768 / IE / FireFox
Alan Studio © 2007 by Alan Cheung Hin Lun. All rights reserved.