All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Smith <tom@openadventures.org>
To: wdyck@gmx.net
Cc: netfilter@lists.netfilter.org
Subject: Re: PPP Routing
Date: Thu, 27 Feb 2003 08:23:18 -0700	[thread overview]
Message-ID: <3E5E2D66.1050603@openadventures.org> (raw)
In-Reply-To: <20030226225616.GA380@tekilla.homeip.net>

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

Thank you, this turned out to be the solution (ppp+).

Tom

Willi Dyck wrote:

>On Wed, Feb 26, 2003 at 10:59:38AM -0700, Tom Smith wrote:
>  
>
>>RedHat 7.3 Kernel 2.4.9-31
>>iptables 1.2.5
>>
>>I have a working Firewall/VPN. Problem is that I need to create a 
>>seperate set of rules for each ppp# connection. For example, ppp0's 
>>ruleset would be:
>>
>>$IPTABLES -A INPUT -i ppp0 -s $INTNET -d $INTNET -j ACCEPT
>>$IPTABLES -A OUTPUT -o ppp0 -s $INTNET -d $INTNET -j ACCEPT
>>$IPTABLES -A FORWARD -i ppp0 -d $INTNET -j ACCEPT
>>$IPTABLES -A FORWARD -o ppp0 -d $INTNET -j ACCEPT
>>
>>Is there a way to dynamically create the ppp# as new connections come 
>>and go?
>>    
>>
>
>You might try 'ppp+' instead of 'ppp0'. Although it might not be what
>you want, since it will not be loaded dynamically, but it will match
>dynamically for all ppp# interfaces. See the netfilter docs for further
>info. Hope that helps.
>
>Gruß/Regards -- Willi
>
>  
>

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

      parent reply	other threads:[~2003-02-27 15:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-26 17:59 PPP Routing Tom Smith
2003-02-26 22:56 ` Willi Dyck
2003-02-27  4:50   ` Miguel Angel Amador L.
2003-02-27 15:23   ` Tom Smith [this message]

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=3E5E2D66.1050603@openadventures.org \
    --to=tom@openadventures.org \
    --cc=netfilter@lists.netfilter.org \
    --cc=wdyck@gmx.net \
    /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.