Re: HTTP redirect using iptables

From: Tom Swenson (tom@netconx.net)
Date: 12/12/01


From: "Tom Swenson" <tom@netconx.net>
Date: Wed, 12 Dec 2001 10:00:39 -0600

I'm sure the redirect is not getting to my other host. I have it set up on
that host that any request, even a port scan will generate an email to me.
I see nothing. I have also tried hostb on a different network and also
locally on my own. No difference. I'm beginning to wonder if this iptables
is working at all, but I have setup a rule to ignore icmp and it seems to
work just fine. Also, my web server on this machine is working fine. I have
tried having it enabled and disabled both. No difference. If I do a port
scan with the redirect enabled, should I see it listening?

Tom

> Hopefully, we'll do more than try. The next thing is to confirm that
> the redirected requests are getting to hostb. Can you do a tcpdump or
> check the web server logs and see incoming requests? You should. In
> any case, it sounds like it may be a routing problem. Possibly hostb
> doesn't have a good default route, and doesn't know what to do with the
> replies.
>
> Dave



Relevant Pages

  • Re: Danger to having Port 80 open on hardware firewall
    ... I was simply replying to the issue of getting http://fqdn/remote to redirect ... > port 80, consider upgrading to ISA. ... > at ISA and never touches the webserver. ... > requests never go any further. ...
    (microsoft.public.windows.server.sbs)
  • Re: Wierd 301 Moved Loop in OWA
    ... appears to be some sort of endless redirect loop. ... The server responds with a 301 ... a non standard port for regular HTTP and then the usual 443 port for ... redirects all requests to HTTPS. ...
    (microsoft.public.exchange.admin)
  • Re: Danger to having Port 80 open on hardware firewall
    ... Seems to me that if you don't port forward 80, then you are not going to get ... the ssl redirection <http <> https>. ... >> requests never go any further. ... I usually redirect ...
    (microsoft.public.windows.server.sbs)
  • Re: RS-232 File system
    ... system over an RS-232 port? ... Actually the Epson PX-8 does this to external disk, Commies do it, ... Speed is tied to serial line and seek time of the host. ... BIOS that gathers disk IO requests and passes them down the serial ...
    (comp.os.cpm)
  • Re: remote printing
    ... event log at the host end for messages about a missing driver. ... If you don't see such messages, then the port isn't being redirected, and I ... would try the registry change in the article about DOT4 printers. ... >>In my experience USBxxx redirect just fine. ...
    (microsoft.public.windowsxp.work_remotely)