lkml.org 
[lkml]   [1997]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Subjectredirection problem
    Date
    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?

    Michael
    --
    Dr. Michael Meskes, Projekt-Manager | meskes@topsystem.de, meskes@debian.org
    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!

    \
     
     \ /
      Last update: 2005-03-22 13:39    [W:0.019 / U:0.380 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site