From mboxrd@z Thu Jan 1 00:00:00 1970 From: Felix Bauer Subject: Re: firewall startup script Date: Fri, 01 Aug 2003 14:24:41 +0200 Sender: netfilter-admin@lists.netfilter.org Message-ID: <3F2A5C09.7040602@gmx.net> References: <3F2A46F4.9070001@gmx.net> <1059738996.8263.4.camel@linux.local> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1059738996.8263.4.camel@linux.local> 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: rhelms@mayn.de Cc: netfilter@lists.netfilter.org There is a internetconnection of course and ppp0 uses that ip-adress. cheers fe Ruprecht Helms wrote: >On Fri, 2003-08-01 at 12:54, Felix Bauer wrote: > > >>Hi, >> >>if got a question about my script for my router-configuration. It should >>enable ip4warding, masquerade my local hosts, >>allow my local hosts everything and open some ports which should be >>external available but if I run this script >>it kinda stops after masquerading (I can read the output on the console >>but then everything is freezed since the local >>ports aren't open anymore and not reopend by the script). Is there any >>logical error I missed? >> >> > > > > >>... >> >> > > > >> #** setup Masquerading >> echo "Creating rule for Masquerading" >> $iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE >> >> > > > >>... >> >> > >You have to open a internetconnection and than pick up the ip-adress for >ppp0 from ifconfig and use it for ppp0. After this act you can start >your firewall. > >Regards, >Ruprecht > > >----------------------------------------------- >Ruprecht Helms IT-Service & Softwareentwicklung > >Tel./Fax +49[0]7621 16 99 16 >Homepage: http://www.rheyn.de >email: info@rheyn.de >------------------------------------------------ > > > > >