tomcat on port 80 as user www:ww

Roberto Nunnari nunnari at die.supsi.ch
Tue May 27 01:05:42 PDT 2003


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 at 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========================



More information about the freebsd-java mailing list