From: Janos Makadi <maki@freemail.hu>
To: netfilter@lists.netfilter.org
Subject: masquerade
Date: Wed, 13 Oct 2004 18:41:52 +0200 [thread overview]
Message-ID: <416D5AD0.6040405@freemail.hu> (raw)
Hi,
I`m absoulte newbie to netfilter, but last year I set up my debian
firewall. I tought it`s configuration is correct, but yesterday I found
http://audiymypc.com which shows my real ip address which I wanted to
hide. It shows the correct address too, but it seems my real local
address is visible on the internet somehow.
This is my configuration:
# Generated by iptables-save v1.2.8 on Thu Nov 27 22:19:07 2003
*nat
:PREROUTING ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
[0:0] -A POSTROUTING -o eth1 -j MASQUERADE
COMMIT
# Completed on Thu Nov 27 22:19:07 2003
# Generated by iptables-save v1.2.8 on Thu Nov 27 22:19:07 2003
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:block - [0:0]
[0:0] -A INPUT -j block
[0:0] -A FORWARD -j block
[0:0] -A block -i eth1 -p TCP -m state --state NEW -j ULOG
--ulog-nlgroup 1 --ulog-prefix "Dropped TCP packet:"
[0:0] -A block -i eth1 -p ICMP -m state --state NEW,RELATED -j ULOG
--ulog-nlgroup 1 --ulog-prefix "Dropped ICMP packet:"
[0:0] -A block -m state --state RELATED,ESTABLISHED -j ACCEPT
[0:0] -A block -i ! eth1 -m state --state NEW -j ACCEPT
[0:0] -A block -j DROP
COMMIT
# Completed on Thu Nov 27 22:19:07 2003
What did I wrong?
THX
kernel is vanilla 2.4.25-rc2
iptables is 1.2.9
next reply other threads:[~2004-10-13 16:41 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-13 16:41 Janos Makadi [this message]
2004-10-14 12:36 ` masquerade Jason Opperisano
2004-10-14 17:19 ` masquerade Makadi Janos
-- strict thread matches above, loose matches on Subject: below --
2020-02-05 15:20 masquerade Serguei Bezverkhi (sbezverk)
2020-02-05 15:41 ` masquerade Florian Westphal
2004-10-14 20:08 masquerade Hudson Delbert J Contr 61 CS/SCBN
2004-07-09 3:49 MASQUERADE Payal Rathod
2004-07-09 10:35 ` MASQUERADE Erik Wikström
2004-07-09 10:51 ` MASQUERADE Antony Stone
2004-07-09 11:25 ` MASQUERADE Wilfried
2004-07-12 18:45 ` MASQUERADE Payal Rathod
2004-07-09 15:48 ` MASQUERADE Payal Rathod
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=416D5AD0.6040405@freemail.hu \
--to=maki@freemail.hu \
--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.