Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Clemens <clemens.schaefer@gmx.de>
To: netfilter@lists.netfilter.org
Subject: Re: How to configure firewall rules through a website
Date: Wed, 08 Nov 2006 23:33:13 +0100	[thread overview]
Message-ID: <45525B29.1050304@gmx.de> (raw)
In-Reply-To: <4550B5B8020000930000417A@DBNSMTP.UKZN.AC.ZA>

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

> I've just been introduced to netfilter. I would like to know if it is
> possible to configure the firewall rules from a text file that is
> written to by some script attached to a website. I am trying to
> configure a firewall on Snapgear linux which is hosting a website which
> is supposed to alllow a user to enter configuration rules. I hope to
> save these to a text file from which i would like the netfilter program
> to read from. Is this possible. I only have a week to get this done, so
> any help is greatly appreciated.


iptables-restore and iptables-save is exactly what you want :)


greets, clemens


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

  reply	other threads:[~2006-11-08 22:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-07 14:35 How to configure firewall rules through a website Satvika Bejai
2006-11-08 22:33 ` Clemens [this message]
     [not found] <362910564.24851@mail.nankai.edu.cn>
     [not found] ` <4552B1BD.8000303@mail.nankai.edu.cn>
2006-11-09  4:42   ` Bo Yang

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=45525B29.1050304@gmx.de \
    --to=clemens.schaefer@gmx.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox