All of lore.kernel.org
 help / color / mirror / Atom feed
From: edwardspl@ita.org.mo
To: Jason Opperisano <opie@817west.com>
Cc: "netfilter@lists.netfilter.org" <netfilter@lists.netfilter.org>
Subject: Re: Server machines behind Firewall
Date: Sat, 08 Jan 2005 11:33:00 +0800	[thread overview]
Message-ID: <41DF546C.D18971B7@ita.org.mo> (raw)
In-Reply-To: 20050106163555.GA28547@bender.817west.com

Jason Opperisano wrote:

> On Thu, Jan 06, 2005 at 12:14:16AM +0800, edwardspl@ita.org.mo wrote:
> > Dear All,
> >
> > Is there a sample ( nat scripts ) for the title ?
>
> EXT_IF="eth0"
> INT_IF="eth1"
> SRV1="10.1.1.10"
>
> iptables -t nat -A PREROUTING -i $EXT_IF -p tcp --dport 80 \
>   -j DNAT --to-destination $SRV1
>
> iptables -A FORWARD -i $EXT_IF -o $INT_IF -p tcp --syn -d $SRV1 \
>   --dport 80 -j ACCEPT

Can we setup server machines behind firewall with same machine ?
Because there is only one machine allow to setup firewall + Internet
Server...

Edward.





  parent reply	other threads:[~2005-01-08  3:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-05 16:14 Server machines behind Firewall edwardspl
2005-01-06 16:35 ` Jason Opperisano
2005-01-07 14:48   ` edwardspl
2005-01-08  3:33   ` edwardspl [this message]
2005-01-06 23:48 ` Jose Maria Lopez

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=41DF546C.D18971B7@ita.org.mo \
    --to=edwardspl@ita.org.mo \
    --cc=netfilter@lists.netfilter.org \
    --cc=opie@817west.com \
    /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.