Linux Netfilter discussions
 help / color / mirror / Atom feed
From: <netfilter@sbgit.com>
To: netfilter@lists.netfilter.org
Subject: How to build an good and secure firewall script?
Date: 16 Mar 2004 12:52:20 UT	[thread overview]
Message-ID: <DIIE.0000011900002AC1@sbgit.com> (raw)

Hi there,
after i postet some script idears (these are not my scripts) i want to
create my own and custom script for iptables.

So how to build my own and custom script?

I need the fallowing capatibilities:
VPN Redidirection to my Internal VPN Server (PPTP)
EDONKEY Redirection to my own Workstation
SMTP Accept on the Firewall Server
HTTP Redirection to my internal HTTP Server
Active FTP Transfer for internal Clients 
Ping from internal to outside nets but not from extern to intern

Maybe there exiting some tamplates where i can insert my custom rules?
And maybe there existing some rule tamplates, for vpn ... ?

I have installed the newest iptables version!

My Network Design looks like this:

internet <-> router <-> firewall <-> lokal net (192.168.1.0)
            |      |    |       |
         dyn IP    |    |       |
               10.0.0.1 |       |
                        |       |
                     10.0.0.2   |
                       (eth0)   |
                                |
                          192.168.1.221
                               (eth1)

Sorry, but i'm realy confused in building fw script, i tried some 
script from the internet, but all having errors in the syntax.

Thanx for any help and good idears.
Peter



             reply	other threads:[~2004-03-16 12:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-16 12:52 netfilter [this message]
2004-03-16 13:16 ` How to build an good and secure firewall script? Sasa Stupar

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=DIIE.0000011900002AC1@sbgit.com \
    --to=netfilter@sbgit.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox