Hi, I have multiple ppp interfaces that does not correspond to the same network usage. Do you know anything about trying to set definitively the ppp+ name ? or anything to adapt automagically iptables to the real network which is behind each ppp+ interface ? I''ve tooken a look into the IFNAME env var... but it doesn''t seems to work :c/ regards, -- BeTa
Tom Eastep
2003-Aug-13 15:01 UTC
[Shorewall-users] a solution to pppd random interface name ?
On Wed, 2003-08-13 at 14:55, BeTa wrote:> Hi, > > I have multiple ppp interfaces that does not correspond to the same > network usage. Do you know anything about trying to set definitively the > ppp+ name ? or anything to adapt automagically iptables to the real > network which is behind each ppp+ interface ? > > I''ve tooken a look into the IFNAME env var... but it doesn''t seems to > work :c/ >The Shorewall way is: /etc/shorewall/zones: vpn1 vpn2 ... /etc/shorewall/interfaces ppp+ - /etc/shorewall/hosts vpn1 ppp+:<network1> vpn2 ppp+:<network2> ... -Tom -- Tom Eastep \ Shorewall - iptables made easy Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net
> The Shorewall way is: > > /etc/shorewall/zones: > > vpn1 > vpn2 > ... > > /etc/shorewall/interfaces > > ppp+ - > > /etc/shorewall/hosts > > vpn1 ppp+:<network1> > vpn2 ppp+:<network2> > ...thx tom... you''re surely the best ;c) -- BeTa
Tom Eastep
2003-Aug-13 15:54 UTC
[Shorewall-users] a solution to pppd random interface name ?
On Wed, 2003-08-13 at 15:01, Tom Eastep wrote:> > /etc/shorewall/interfaces > > ppp+ - >That of course should have been: - ppp+ - -Tom -- Tom Eastep \ Shorewall - iptables made easy Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net