From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Carlo Florendo" Subject: Re: Help Required Date: Thu, 31 Jul 2003 08:34:07 +0800 Sender: netfilter-admin@lists.netfilter.org Message-ID: <00c001c356fb$73d64c70$200aa8c0@thorin> References: <20030730093120.M51327@vfmindia.biz> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: Sridhar Murthy , netfilter@lists.netfilter.org Hello, > From: "Sridhar Murthy" > Hi Team, > > I require help to my following setup: > > I have a Redhat 8 Server with squid,smtp & pop3 with iptables running. > > My requirement is we have a citrix server with local LAN ipaddress. People > from Internet will have to access this server from outside(my firewall is > having a public ipaddress which is dynamic assigned). I want to know what is > the rules that i have to add to allow the traffic which uses port number > 1494, to get into my network and access my citrix server which is having LAN > ip. Should any nat be added. > Yes. You need to do a DNAT. iptables -t nat --insert PREROUTING -i -p tcp --dport 1494 -j DNAT --to iptables --insert FORWARD -p tcp -i -d --dport 1494 -j ACCEPT > Thanks in advance. > > Regards, > > Sridhar > Best Regards, Carlo ------ Carlo Florendo Astra Philippines Inc. URL: http://www.hq.astra.ph/resources