Article delegate-en/2599 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]

Newsgroups: mail-lists.delegate-en

[DeleGate-En] Can I use one port for multiple protocols
20 Apr 2004 18:15:22 GMT "Dan Higgins" <peufabdyi-bzt7uxznsgtr.ml@ml.delegate.org>


Here is more info on the config I'm trying, but I can't see why it doesn't
work. For this example, only port 8888 is open to the outside.

I've got 2 config files, the first:
--------BEGIN--------
-P8888
-vv
# Default server type if coming into :8888
# :8900 will be relay for HTTP
# :8901 will be relay for whatever is not HTTP
SERVER=delegate
FORWARD=tcprelay://localhost:8900-_-http:*:*
FORWARD=tcprelay://localhost:8901-_-*:*:*
--------END--------

And here's the second:
--------BEGIN--------
-Plocalhost:8900,localhost:8901
-f
# Was forwarded for HTTP (port 80)
SERVER=tcprelay://localhost:80:-:via=*:8900
# Was forwarded for non-HTTP (assume database, port 3306)
SERVER=tcprelay://localhost:3306:-:via=*:8901
--------END--------

At first I was putting everything into one file, but it seems you can't mix
"delegate" and other types of servers.

I run config 2 in the background with "delegated +=config2 &" then I run
config 1 in the foreground.

Thanks for any help,
-Dan


  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V