From: "Seferovic Edvin" Subject: RE: Netfilter and Poptop ( and stuff ... ) Date: Tue, 11 Oct 2005 19:33:44 +0200 Message-ID: <14930.5793609985$1129052165@news.gmane.org> References: <20051010151540.GA4468@linuxace.com> Reply-To: edvin.seferovic@kolp.at Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20051010151540.GA4468@linuxace.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii" To: netfilter@lists.netfilter.org Hi, thank you for any suggestions on my topic. Now Ive realized what is FW-Builder actually doing and I would like to hear your opinion. When I create interfaces in FW-Builder, the created script ( iptables script generated by fw-builder ) gets the IP address of the used interfaces by using ip -4 addr show dev "interface" which results as "no such interface" for a non-existing ppp tunnel end point! To use NAT for all packet from my ppp interfaces, fw-builder generates following -A POSTROUTING -o eth0 -s $i_ppp -j SNAT --to-source my_ext_ip This rule apparently works only with IP addresses after the "-s" option, right? Ive tried to use this rule for all my ppp interfaces by using -A POSTROUTING -o eth0 -s ppp+ -j SNAT.... but is says that ppp+ is unknown, so I suppose iptables require an ip/host entry here... can anyone tell me how to get all my PPP interfaces masqueraded on interface eth0? Regards, Edvin Seferovic -----Original Message----- From: poptop-server-admin@lists.sourceforge.net [mailto:poptop-server-admin@lists.sourceforge.net] On Behalf Of Phil Oester Sent: Montag, 10. Oktober 2005 17:16 To: Seferovic Edvin Cc: netfilter@lists.netfilter.org; poptop-server@lists.sourceforge.net Subject: Re: [Poptop-server] Netfilter and Poptop ( and stuff ... ) On Mon, Oct 10, 2005 at 08:28:37AM +0200, Seferovic Edvin wrote: > I wanted to make this easy as possible, but as always - I took the wrong > turn... probably by choosing Firewall Builder to help me get my firewall set > up. I achived everything, but I cannot configure ppp+ interfaces in > FW-Builder? Does anyone has a hint for me? Is this possible anyway ( please > don't tell me I have to configure 150 ppp interfaces in FW-Builder ) ??? If FW-Builder cannot handle the ppp+ syntax which is legal in iptables, I'd say that's a bug. Report it to maintainer. Phil ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl