redirection problem

Michael Meskes (
Thu, 15 May 1997 16:45:15 +0200 (CEST)

I cannot use the port redirection correctly it seems. Could it be that the
kernel always redirects to the wildcard port?

I'm running 2.0.30 with the following setting:

ipfwadm -I -a accept -D $ANYWHERE www -W $DEVINTERN -P tcp -r 81

This rule is correctly installed:

IP firewall input rules, default policy: deny
type prot source destination ports
acc/r tcp anywhere anywhere any -> www => 81

However, all redirections are done to port 80 not 81. If I do access 81
directly everything's fine, but if I try to access port 80 on the outside I
just get my own web server (port 80) instead of my proxy (81).

Does anyone know what to do to make this thing work again?


Dr. Michael Meskes, Projekt-Manager  |,
topsystem Systemhaus GmbH            | Phone: (+49) 2405/4670-44
Europark A2, Adenauerstr. 20         | Fax:   (+49) 2405/4670-10
52146 Wuerselen                      | Go SF 49ers! Use Debian GNU/Linux!