Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Network Troublshooting => General Networking Support in Linux => Topic started by: ronaldjayr_jover on September 04, 2005, 09:49:20 AM

Title: What NAT should I use to permit my outside clients....
Post by: ronaldjayr_jover on September 04, 2005, 09:49:20 AM
Good day to all,

   Just want to ask if  below NATTING permit my outside clients to passthrough my LINUX Firewall to my windows 2003 server(for citrix) via port 1494


-A PREROUTING -i eth -p tcp --dport 1494 -j DNAT --to 192.168.10.44

    Where 192.168.10.44 is my windows 2003 ip and it is behind a linux firewall, let say my xxx.xxx.xxx.xxx is the public ip of my linux box on eth0 and 192.168.10.43 on eth1 for my private network.

     Thank you. All helps will be gladly appreciated and will never be forgotten.

Jay
Title: What NAT should I use to permit my outside clients....
Post by: cyberjun on October 07, 2005, 04:03:27 AM
Hi,
        Yes. The rule you have written will work fine. However there are other things you must take care of. For clear understanding please go through:

http://iptables-tutorial.frozentux.net/iptables-tutorial.html#DNATTARGET

         There is a simple example which has been explained beautifully and caters to 90% of the port forwarding requirements.

--cyberjun