All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gianni Pucciani <gp.puccio@tin.it>
To: Alexis <alexis@tpys.com.ar>, netfilter@lists.netfilter.org
Subject: Re: opening connection for Tomcat
Date: Thu, 08 Apr 2004 19:55:17 +0200	[thread overview]
Message-ID: <40759205.4000005@tin.it> (raw)
In-Reply-To: <006f01c41d86$c82d6d60$51a2fea9@heretic>


Alexis wrote:

>you must change to OUTPUT the first rule at least. you're filtering all
>outgoing packets.
>  
>
? The output chain has the ACCEPT policy, no packets are filtered, isn't it?

Gianni

>
>----- Original Message ----- 
>From: "Gianni Pucciani" <gp.puccio@tin.it>
>To: <netfilter@lists.netfilter.org>
>Sent: Thursday, April 08, 2004 12:13 PM
>Subject: opening connection for Tomcat
>
>
>  
>
>>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
>>
>>
>>
>>
>>    
>>
>
>
>
>  
>



      parent reply	other threads:[~2004-04-08 17:55 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

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=40759205.4000005@tin.it \
    --to=gp.puccio@tin.it \
    --cc=alexis@tpys.com.ar \
    --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 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.