[thelist] change apache port on linux

Michael Pemberton evolt at mpember.net.au
Sun Aug 15 12:05:49 CDT 2004


Joel D Canfield wrote:
> I want to be able to connect to the web server on my linux box from
> outside my network. My router sends all port 80 traffic to my Windows
> web server. I'd like to have it send another port to the linux box's IP.

Can't you just use a different port on your router and keep port 80 on 
your linux setup?

I do this to trick inbound mail into going via my AV scanner.  Like this:

outside client -> gateway:25
gateway:25 -> scanning engine:26 (scanning engine listens on port 26)
scanning engine:26 -> mail server:25

This means that my internal mail clients can just use port 25 instead of 
having to go through the virus scaning engine.

In you case, you would just send gateway:8080 -> linux:80.

Hope this helps.

-- 
Michael Pemberton
evolt at mpember.net.au





More information about the thelist mailing list