All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Carlo Florendo" <carlo@hq.astra.ph>
To: Sridhar Murthy <sridhar@vfmindia.biz>, netfilter@lists.netfilter.org
Subject: Re: Help Required
Date: Thu, 31 Jul 2003 08:34:07 +0800	[thread overview]
Message-ID: <00c001c356fb$73d64c70$200aa8c0@thorin> (raw)
In-Reply-To: 20030730093120.M51327@vfmindia.biz

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 <external_interface> -p tcp --dport  1494 -j DNAT --to  <citrix_ip_address>
iptables --insert FORWARD -p tcp -i <external_interface> -d <citrix_ip_address> --dport 1494 -j ACCEPT

> Thanks in advance.
> 
> Regards,
> 
> Sridhar
> 


Best Regards,

Carlo
------
Carlo Florendo
Astra Philippines Inc.
URL: http://www.hq.astra.ph/resources




  parent reply	other threads:[~2003-07-31  0:34 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-30  9:40 Help Required Sridhar Murthy
2003-07-30 14:29 ` [iptables] " Paul Cousins
2003-07-30 15:28   ` Paul Cousins
2003-07-31  0:34 ` Carlo Florendo [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-07-03  5:28 Help required Vishwanatha Hattera
     [not found] <1090537990.3506.6.camel@coati>
2004-07-23 12:46 ` Muhammad R. Sami
2004-07-23 13:19   ` Patrick McHardy
2004-05-20 11:29 Venkatesharao, Lakshmesha
2004-05-20 11:51 ` Alphex Kaanoken
2004-05-20 16:23 ` Jan-Benedict Glaw
2003-11-09 12:37 help required venky b
2003-11-09 15:20 ` SBlaze
2003-11-09 16:11   ` venky b
2003-11-10  3:38     ` Venkatesh. K
2003-07-18  3:27 Help Required Sridhar Murthy
2003-07-18  5:07 ` Dharmendra.T
2003-07-17 12:47 Sridhar Murthy
2003-07-19  9:07 ` George Vieira
2002-08-09  8:40 Help required Samarth  Sharma
2002-08-09 17:31 ` Russell Coker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='00c001c356fb$73d64c70$200aa8c0@thorin' \
    --to=carlo@hq.astra.ph \
    --cc=netfilter@lists.netfilter.org \
    --cc=sridhar@vfmindia.biz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.