All of lore.kernel.org
 help / color / mirror / Atom feed
* opening connection for Tomcat
@ 2004-04-08 15:13 Gianni Pucciani
  2004-04-08 16:01 ` ro0ot
  2004-04-08 16:30 ` Alexis
  0 siblings, 2 replies; 15+ messages in thread
From: Gianni Pucciani @ 2004-04-08 15:13 UTC (permalink / raw)
  To: netfilter

Hi all,
I was in trouble opening a port for services with tomcat:
Is this rule right? I'm behind an adsl router that forward every 
connection on port 8080 to <myprivateip>.

iptables -P INPUT DROP
iptables -P OUTPUT ACCEPT
iptables -P FORWARD DROP

iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A INPUT -p tcp -d <myprivateip> --dport 8080 -s 0.0.0.0 -m 
state --state NEW -j ACCEPT




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

end of thread, other threads:[~2004-04-09 22:59 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-08 15:13 opening connection for Tomcat Gianni Pucciani
2004-04-08 16:01 ` ro0ot
2004-04-08 16:30 ` Alexis
2004-04-08 17:50   ` Rob Sterenborg
2004-04-08 18:08     ` Alexis
2004-04-08 20:13     ` Gianni Pucciani
2004-04-08 21:53       ` Antony Stone
2004-04-08 23:18         ` Frank Gruellich
2004-04-09  6:28         ` Gianni Pucciani
2004-04-09  6:56           ` giorgio.zarrelli
2004-04-09 22:59             ` Antony Stone
2004-04-09  7:23           ` Rob Sterenborg
2004-04-09 13:50           ` Alexis
2004-04-09  1:05       ` Alexis
2004-04-08 17:55   ` Gianni Pucciani

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.