Linux Netfilter discussions
 help / color / mirror / Atom feed
From: /dev/rob0 <rob0@gmx.co.uk>
To: netfilter@lists.netfilter.org
Subject: Re: Configurationrequest for firewall with temporary ppp0-interface
Date: Thu, 30 Jun 2005 05:27:51 -0500	[thread overview]
Message-ID: <200506300527.51460.rob0@gmx.co.uk> (raw)
In-Reply-To: <42C3BA1B.6070004@my-mail.ch>

On Thursday 30 June 2005 04:23, Ruprecht Helms wrote:
> 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.

If this is your only ppp+ interface it is easy. You can add your rules 
to the existing firewall and leave them there.

If there are other ppp+ interfaces which should be more restricted, it 
is only slightly more difficult. pppd(8) has a feature to run scripts 
when an interface goes active and inactive, /etc/ppp/ip-{up,down} 
respectively. Put your rules to open the interface in ip-up and to 
close it in ip-down. (Some distributors use ip-{up,down}.local for 
local additions.)
-- 
    mail to this address is discarded unless "/dev/rob0"
    or "not-spam" is in Subject: header


  reply	other threads:[~2005-06-30 10:27 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 [this message]
2005-07-01  0:43 ` Christoph Georgi
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=200506300527.51460.rob0@gmx.co.uk \
    --to=rob0@gmx.co.uk \
    --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