Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Felix Bauer <felixathome@gmx.net>
To: rhelms@mayn.de
Cc: netfilter@lists.netfilter.org
Subject: Re: firewall startup script
Date: Fri, 01 Aug 2003 14:24:41 +0200	[thread overview]
Message-ID: <3F2A5C09.7040602@gmx.net> (raw)
In-Reply-To: <1059738996.8263.4.camel@linux.local>

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
>------------------------------------------------
>
>
>
>  
>




      reply	other threads:[~2003-08-01 12:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-01 10:54 firewall startup script Felix Bauer
2003-08-01 11:56 ` Ruprecht Helms
2003-08-01 12:24   ` Felix Bauer [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=3F2A5C09.7040602@gmx.net \
    --to=felixathome@gmx.net \
    --cc=netfilter@lists.netfilter.org \
    --cc=rhelms@mayn.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox