From: "Alexis" <alexis@attla.net.ar>
To: netfilter@lists.netfilter.org
Subject: Fw: Iptables rules
Date: Wed, 14 Jan 2004 22:35:12 -0300 [thread overview]
Message-ID: <00fd01c3db07$d1afcfc0$0200000a@heretic> (raw)
----- Original Message -----
From: "Alexis" <alexis@attla.net.ar>
To: "Minh Cao" <caom@statsus.com>
Sent: Wednesday, January 14, 2004 10:08 PM
Subject: Re: Iptables rules
> echo 1 > /proc/sys/net/ipv4/ip_forward
>
>
>
>
> ----- Original Message -----
> From: "Minh Cao" <caom@statsus.com>
> To: <netfilter@lists.netfilter.org>
> Sent: Wednesday, January 14, 2004 10:04 PM
> Subject: Help: Iptables rules
>
>
> > Hi,
> >
> > I am new to iptables.
> > Please help me to create a rules, which allows everything in and out
both
> > interfaces.
> >
> > What I have but not worked:
> > iptables -A FORWARD -i $EXTIF -o $INTIF -j ACCEPT
> > iptables -A FORWARD -i $INTIF -o $EXTIF -j ACCEPT
> >
> > iptalbles -t nat -A POSTROUTING -o $EXTIF -j MASQUERADE
> >
> >
> > Thanks
> > Minh
> >
> >
> >
> >
>
reply other threads:[~2004-01-15 1:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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='00fd01c3db07$d1afcfc0$0200000a@heretic' \
--to=alexis@attla.net.ar \
--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