Linux Netfilter discussions
 help / color / mirror / Atom feed
* iptables basics
@ 2005-05-07  6:09 varun_saa
  2005-05-07 15:05 ` Jason Opperisano
  0 siblings, 1 reply; 2+ messages in thread
From: varun_saa @ 2005-05-07  6:09 UTC (permalink / raw)
  To: netfilter

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-07 15:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-07  6:09 iptables basics varun_saa
2005-05-07 15:05 ` Jason Opperisano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox