Linux Netfilter discussions
 help / color / mirror / Atom feed
* script firewall
@ 2004-04-13 21:28 Luis GUSTAVO
  2004-04-13 22:02 ` Antony Stone
  0 siblings, 1 reply; 10+ messages in thread
From: Luis GUSTAVO @ 2004-04-13 21:28 UTC (permalink / raw)
  To: netfilter

[-- Attachment #1: Type: text/plain, Size: 803 bytes --]

Hi,
 
i´m looking for a script for my adsl conection.
 
i found this
 
iptables -F
iptables -P INPUT DROP
iptables -P OUTPUT DROP
iptables -P FORWARD DROP
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A OUTPUT -p tcp --dport 22 -j ACCEPT
iptables -A OUTPUT -p udp --dport 53 -j ACCEPT
iptables -A OUTPUT -p tcp --dport 53 -j ACCEPT

 
when i apllyed this rules, my machines clients, don´t know acces my machine.
 
but it´s very complex and dificult.
 
 



Luis GUSTAVO         lgpcf@yahoo.com.br
+55 (21) 9891-3560    http://skafe.sites.uol.com.br
---------------------------------------------------------------------------------
 








---------------------------------
Yahoo! Messenger - Fale com seus amigos online. Instale agora!

[-- Attachment #2: Type: text/html, Size: 1482 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread
[parent not found: <20040414025241.57105.qmail@web40509.mail.yahoo.com>]
* script firewall
@ 2004-04-20 19:53 Luis GUSTAVO
  2004-04-20 20:10 ` Antony Stone
  0 siblings, 1 reply; 10+ messages in thread
From: Luis GUSTAVO @ 2004-04-20 19:53 UTC (permalink / raw)
  To: netfilter

[-- Attachment #1: Type: text/plain, Size: 437 bytes --]

I´m looking for a firewall script, for my ADSL conection, and share 
my conection.

And i want block ports 1024:65535

 
thank you



Luis GUSTAVO         lgpcf@yahoo.com.br
+55 (21) 9891-3560    http://skafe.sites.uol.com.br
---------------------------------------------------------------------------------
 








---------------------------------
Yahoo! Messenger - Fale com seus amigos online. Instale agora!

[-- Attachment #2: Type: text/html, Size: 973 bytes --]

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

end of thread, other threads:[~2004-04-20 20:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-13 21:28 script firewall Luis GUSTAVO
2004-04-13 22:02 ` Antony Stone
2004-04-13 23:23   ` script firewall -- munged to OT -- very OT Unknown, Alistair Tonner
     [not found]   ` <200404131923.23985.Alistair Tonner <>
2004-04-14  0:05     ` Antony Stone
2004-04-14  0:53       ` Unknown, Alistair Tonner
     [not found] <20040414025241.57105.qmail@web40509.mail.yahoo.com>
2004-04-14  8:30 ` script firewall Antony Stone
  -- strict thread matches above, loose matches on Subject: below --
2004-04-20 19:53 Luis GUSTAVO
2004-04-20 20:10 ` Antony Stone
2004-04-20 20:21   ` Luis GUSTAVO
2004-04-20 20:32     ` Antony Stone

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