From: varun_saa@vsnl.net
To: netfilter@lists.netfilter.org
Subject: iptables basics
Date: Sat, 07 May 2005 11:09:02 +0500 [thread overview]
Message-ID: <ecd92becfe57.ecfe57ecd92b@vsnl.net> (raw)
Hello,
My server is om Mandrake 10.1
eth0 is WAN with static IP connected to 512K DSL.
eth1 is LAN - 192.168.0.0/24 , 192.168.21.0/24
I and doing a nat on eth0 as follows :
# Generated by iptables-save v1.2.9 on Tue Apr 26 14:50:01 2005
*nat
:OUTPUT ACCEPT [0:0]
:PREROUTING ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
-A POSTROUTING -o eth0 -j MASQUERADE
What are the first rules that one would
write.I mean how and where to start.
What are the first rules that one would write.
Do you start by blocking all ? Or allow all ?
I am asking this just from the point of view
of understanding the basic strategy.
Basically clients will surf the net,
send/recieve mails and MSN/yahoo chat.
I would be using squid proxy.
Thanks
Varun
next reply other threads:[~2005-05-07 6:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-07 6:09 varun_saa [this message]
2005-05-07 15:05 ` iptables basics Jason Opperisano
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=ecd92becfe57.ecfe57ecd92b@vsnl.net \
--to=varun_saa@vsnl.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