Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Patrick Petermair <captain.nuke@gmx.at>
To: Netfilter Mailing List <netfilter@lists.samba.org>
Subject: Re: Url not found ....
Date: Sun, 7 Jul 2002 00:49:56 +0200	[thread overview]
Message-ID: <200207070049.56748.captain.nuke@gmx.at> (raw)
In-Reply-To: <20020706220349.HAZV16050.mta01-svc.ntlworld.com@there>

Am Sonntag, 7. Juli 2002 00:03 schrieb Antony Stone:

> What are the logging rules on your firewall ?

[....]
$IPTABLES -P INPUT DROP
$IPTABLES -F INPUT 
$IPTABLES -P OUTPUT ACCEPT
$IPTABLES -F OUTPUT 
$IPTABLES -P FORWARD DROP
$IPTABLES -F FORWARD 
$IPTABLES -t nat -F

#Allow only existing and related to INPUT
$IPTABLES -A INPUT -i $EXTIF -m state --state ESTABLISHED,RELATED -j ACCEPT

#Allow int. LAN to access firewall
$IPTABLES -A INPUT -i $INTIF -j ACCEPT

#Allow ADSL modem to talk to firewall (authentication)
$IPTABLES -A INPUT -i eth0 -s 10.0.0.138 -d 10.0.0.150 -j ACCEPT

#Allow loopback
$IPTABLES -A INPUT -i lo -s 127.0.0.1 -d 127.0.0.1 -j ACCEPT

#Log the rest
$IPTABLES -A INPUT -j LOG

#FWD: Allow all connections OUT and only existing and related ones IN
$IPTABLES -A FORWARD -i $EXTIF -o $INTIF -m state --state ESTABLISHED,RELATED 
-j ACCEPT
$IPTABLES -A FORWARD -i $INTIF -o $EXTIF -j ACCEPT
$IPTABLES -A FORWARD -j LOG

#Enable masquerading
$IPTABLES -t nat -A POSTROUTING -o $EXTIF -j MASQUERADE


The thing is that I get those log entries only at that specific page 
(stud4.tuwien.ac.at)...

Regards,
Patrick





  reply	other threads:[~2002-07-06 22:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-06 20:58 Url not found Patrick Petermair
2002-07-06 21:10 ` Antony Stone
2002-07-06 21:13 ` John Adams
2002-07-06 21:31   ` Antony Stone
2002-07-06 21:35     ` Dennis Cardinale
2002-07-06 22:03       ` Patrick Petermair
2002-07-06 22:03         ` Antony Stone
2002-07-06 22:49           ` Patrick Petermair [this message]
2002-07-06 23:09             ` Antony Stone

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=200207070049.56748.captain.nuke@gmx.at \
    --to=captain.nuke@gmx.at \
    --cc=netfilter@lists.samba.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