From: "John Black" <black@arbbs.net>
To: netfilter@lists.netfilter.org
Subject: Re: netfilter question
Date: Thu, 19 Feb 2004 07:38:06 -0600 [thread overview]
Message-ID: <4034bc3e.3ecb.0@arbbs.net> (raw)
>Please post your complete ruleset, including the definitions >of variables such
>
here are the rule sets.
iptables -A FORWARD -i eth0 -o eth1 -m state --state \ESTABLISHED, RELATED -j
ACCEPT
iptables -A FORWARD -i eth1 -o eth0 -j ACCEPT
iptables -A FORWARD -j LOG
iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -o eth0 \
-d 161.x.x.x/21 -j SNAT --to 161.x.x.x
<iptables -L -nvx>
Chain INPUT (policy ACCEPT 127 packets, 9436 bytes)
pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 36 packets, 1709 bytes)
pkts bytes target prot opt in out source
destination
0 0 ACCEPT all -- eth0 eth1 0.0.0.0/0 0.0.0.0/0 state
RELATED, ESTABLISHED
0 0 ACCEPT all -- eth1 eth0 0.0.0.0/0 0.0.0.0/0
0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0
LOG flags 0 level 4
Chain OUTPUT (policy ACCEPT 74 packets, 8568 bytes)
pkts bytes target prot opt in out source destination
<iptables -t nat -L>
target prot opt source destination
SNAT all -- 192.168.0.0/24 161.x.x.x/21 to:161.x.x.x
John
http://www.arbbs.net/
next reply other threads:[~2004-02-19 13:38 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-19 13:38 John Black [this message]
2004-02-19 14:18 ` netfilter question Antony Stone
[not found] <cad49557-7c7a-83c9-d2b6-71d9624f0d52@miromedia.ca>
2016-11-16 13:33 ` Eric Dumazet
2016-11-16 15:02 ` Florian Westphal
2016-11-16 15:23 ` Eric Dumazet
2016-11-17 0:07 ` Florian Westphal
2016-11-17 2:34 ` Eric Dumazet
2016-11-17 15:49 ` Eric Desrochers
2016-11-20 6:33 ` Eric Dumazet
[not found] ` <CAGUFhKwQTRRJpfGi2fRkFfGdpLYMN-2F9G+dEsavM7UGbkjjdA@mail.gmail.com>
2016-11-20 17:31 ` Eric Dumazet
2016-11-20 17:55 ` Eric Dumazet
-- strict thread matches above, loose matches on Subject: below --
2012-12-10 20:12 Sri Ram Vemulpali
2012-12-10 20:12 ` Sri Ram Vemulpali
2005-02-08 7:50 netfilter & ipv6 Jonas Berlin
[not found] ` <53965.213.236.112.75.1107867276.squirrel@213.236.112.75>
2005-02-10 23:15 ` ULOG target for ipv6 Jonas Berlin
2005-02-11 22:10 ` netfilter question Pedro Fortuna
2004-02-19 20:25 John Black
2004-02-19 21:22 ` Antony Stone
2004-02-19 16:56 John Black
2004-02-19 16:23 John Black
2004-02-19 17:06 ` Antony Stone
2004-02-19 16:00 John Black
2004-02-19 14:13 John Black
2004-02-19 14:51 ` Alexis
2004-02-19 3:32 John Black
2004-02-19 8:19 ` Klemen Kecman
2004-02-19 9:22 ` Antony Stone
2004-02-19 13:06 ` John Black
2004-02-19 13:17 ` Antony Stone
2001-10-24 13:09 Netfilter Question Shiva Raman Pandey
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=4034bc3e.3ecb.0@arbbs.net \
--to=black@arbbs.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.