Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 May 2003 10:05:17 +0200
From:      Roberto Nunnari <nunnari@die.supsi.ch>
To:        Joshua Goodall <joshua@roughtrade.net>, Marc van Kempen <marc@bowtie.nl>
Cc:        freebsd-java@freebsd.org
Subject:   Re: tomcat on port 80 as user www:ww
Message-ID:  <3ED31C3D.9040105@die.supsi.ch>
References:  <3ED20627.6090308@die.supsi.ch> <3ED21473.9020506@bowtie.nl> <20030527042654.GB538@roughtrade.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Joshua and Marc,

Thank you very much for your helpful hints. I'm now running tomcat
as user www:www on port 8180 and accessing it through port 80!

Great!

Best regards.

Joshua Goodall wrote:
> On Mon, May 26, 2003 at 03:19:47PM +0200, Marc van Kempen wrote:
> 
>>Just run a port forwarder from 80 (ipfw can do it too) to 8080 (or 
>>whereever Tomcat lives). That way you don't have to trust it at all.
> 
> 
> worked example: let's say Tomcat is running on 127.0.0.1:8080
> and your outside IP is 192.0.34.166, then
> 
> # ipfw add fwd 127.0.0.1,8080 tcp from any to 192.0.34.166 80
> 
> should do the trick. You will need
> options         IPFIREWALL
> options         IPFIREWALL_FORWARD
> in your kernel config.
> 
> J
> 


-- 
               Roberto Nunnari -software engineer-
                 mailto:nunnari@die.supsi.ch
  Scuola Universitaria Professionale della Svizzera Italiana
            Dipartimento di Informatica e Elettronica
                   http://www.die.supsi.ch
  SUPSI-DIE
  Via Cantonale                        tel: +41-91-6108561
  6928 Manno                 """       fax: +41-91-6108570
  Switzerland               (o o)
=======================oOO==(_)==OOo========================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3ED31C3D.9040105>