From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Smith Subject: PPP Routing Date: Wed, 26 Feb 2003 10:59:38 -0700 Sender: netfilter-admin@lists.netfilter.org Message-ID: <3E5D008A.7070804@openadventures.org> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: netfilter@lists.netfilter.org 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? Tom tom@openadventures.org