All of lore.kernel.org
 help / color / mirror / Atom feed
From: "thomas krause" <thomas.krause@mmonline.de>
To: netfilter@lists.netfilter.org
Subject: Public Webserver behind IPtables Router
Date: Fri, 18 Jul 2003 23:41:16 +0200	[thread overview]
Message-ID: <001c01c34d75$51848ea0$5001a8c0@linux> (raw)

[-- Attachment #1: Type: text/plain, Size: 654 bytes --]

Hello , i tried to set up an IPTables Router for my Webserver. All hosts have has an official IP Adress. The eth0 of the Router is in a seperate Net.

The config on the Router  is like this :


---------<Router>----------------------<WEBServer>
eth0               eth1                  eth0




# Allow ssh ( 0.0.0.0/0 is replaced by my own client IP )
iptables -P INCOMING DROP
iptables -A INCOMING -s 0.0.0.0/0 -p tcp --dport 22 -j ACCEPT


iptables -P FORWARD DROP
iptables -A FORWARD -s 0.0.0.0/0 -p tcp --dport 80 -j ACCEPT

iptables -P OUTPUT ALLOW


Will this work ? O.K. Iam a Newbie but i will learn !


MfG Thomas



[-- Attachment #2: Type: text/html, Size: 1955 bytes --]

             reply	other threads:[~2003-07-18 21:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-18 21:41 thomas krause [this message]
2003-07-18 21:50 ` Public Webserver behind IPtables Router Eric Leblond

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='001c01c34d75$51848ea0$5001a8c0@linux' \
    --to=thomas.krause@mmonline.de \
    --cc=netfilter@lists.netfilter.org \
    /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.