November 22, 2024, 08:47:31 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: What NAT should I use to permit my outside clients....  (Read 5034 times)

Offline ronaldjayr_jover

  • Linux Noob !
  • *
  • Posts: 29
What NAT should I use to permit my outside clients....
« 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

Offline cyberjun

  • Linux Noob !
  • *
  • Posts: 4
What NAT should I use to permit my outside clients....
« Reply #1 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