Re: [squid-users] redirect to an ip when request comes on port xxx

From: Joe Cooper <joe@dont-contact.us>
Date: Thu, 08 Aug 2002 06:30:52 -0500

Andreas Schlager wrote:
> Hi list,
>
> I have a very weried problem:
>
> I want to do the following: If the squid-proxy receives a request
> from a specified ip-address on a specified port, the request should
> be redirected to an outside IP-address with an other port.
>
> The background is this: I use a software for electronic banking, and
> this software does speak a own protocol. The only possibility to use
> this over a proxy is to send f.e. a request to the proxy on port
> 1234, and the proxy knows, that it has to redirect to outside ip
> 11.12.13.14, port 3456.

This doesn't sound quite right to me. What makes you think this is a
good solution to your problem? (I don't see how having the client come
in one port, and redirected to another IP:port is going to fix anything.
  If the protocol can't be proxied, just bypass the proxy for that
protocol.)

That said, you can use a redirector to alter the outgoing destination
port, I think. But I'm pretty certain you're barking up the wrong tree.

-- 
Joe Cooper <joe@swelltech.com>
Web caching appliances and support.
http://www.swelltech.com
Received on Thu Aug 08 2002 - 05:33:50 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:09:33 MST