From: Christoph Georgi <christoph.georgi@web.de>
To: rhelms@my-mail.ch
Cc: netfilter@lists.netfilter.org
Subject: Re: Configurationrequest for firewall with temporary ppp0-interface
Date: Fri, 01 Jul 2005 12:43:21 +1200 [thread overview]
Message-ID: <42C491A9.8070301@web.de> (raw)
In-Reply-To: <42C3BA1B.6070004@my-mail.ch>
Just create rules specifying ppp0 as incoming and outgoing interface (-i
and -o), e.g.
$IPTABLES -A FORWARD -i eth0 -o ppp0 -j ACCEPT
$IPTABLES -A FORWARD -o eth0 -i ppp0 -j ACCEPT
christoph
Ruprecht Helms wrote:
> Hi,
>
> I've the problem that I need some rules for a temporary ppp0 interface.
> This interface is only active then the admin has made a dial-up on the
> server and has activated a ppp-daemon.
>
> In the time the ppp0-Interface is up the connections should be able
> completely in both directions and through to clients. But this should
> only alowed for connections via ppp0.
>
> Connections via the normal isdn0 should be protected by the normal
> firewallroules (iptables).
>
> How have I to configure.
>
> Regards,
> Ruprecht
>
> ------------------------------------------------------------------------------------------
>
> Ruprecht Helms IT-Service & Softwareentwicklung
>
> Tel./Fax +49[0]7621 16 99 16
> Web: htp://www.rheyn.de
>
>
--
Christoph Georgi
-----------------------------
email. christoph.georgi@web.de
fon. +64 (0)9 815 8259
registered linux user #380268
ubuntu 5.04 (ubuntu.com)
next prev parent reply other threads:[~2005-07-01 0:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-30 9:23 Configurationrequest for firewall with temporary ppp0-interface Ruprecht Helms
2005-06-30 10:27 ` /dev/rob0
2005-07-01 0:43 ` Christoph Georgi [this message]
2005-07-01 17:40 ` Seferovic Edvin
2005-07-03 13:56 ` Jan Engelhardt
-- strict thread matches above, loose matches on Subject: below --
2005-06-30 12:49 Ruprecht Helms
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=42C491A9.8070301@web.de \
--to=christoph.georgi@web.de \
--cc=netfilter@lists.netfilter.org \
--cc=rhelms@my-mail.ch \
/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