In message <_A2065@delegate-en.ML_>
on 01/06/03(01:05:46) you "Alan Jacobson" <email@example.com> wrote:
|stupid question, but how does DeleGate know which network interface is
|internal and which is external? For example, when you type:
| "firewall% delegated -P8080 SERVER=http"
|does it listen on port 8080 for both networks?
The full specification of the -P option is -Phost:port and
-Pport equals to -P*:port which means listening at port
on both (any) interfaces using wild card address (INADDR_ANY).
|If I want it to listen on
|port 80 on the external network and translate it to port 8080 on the
|internal network, how do I tell it which is which?
I'm not sure what you mean by "translate", but relaying from
external:80 to internal:8080 can be done like this (supposing
it is a HTTP server):
delegated -Pexternal:80 SERVER=http://internal:8080
@ @ Yutaka Sato <firstname.lastname@example.org> http://www.delegate.org/y.sato/
( - ) National Institute of Advanced Industrial Science and Technology (AIST)
_< >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
Do the more with the less -- B. Fuller