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

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 11:56 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 [this message]
2003-08-01 12:24   ` Felix Bauer

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=1059738996.8263.4.camel@linux.local \
    --to=rhelms@mayn.de \
    --cc=felixathome@gmx.net \
    --cc=netfilter@lists.netfilter.org \
    /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