On 15 Jul 2004 05:35:27 -0700
fritz-(E-Mail Removed) (Fritz Bayer) wrote:
> Hi,
>
> here is my network setup:
>
> ADSL Router @ 192.168.1.1
> Windows 2000 PC @ 192.168.1.2
> Linux box @ 192.168.1.4
>
> I'm running a transparent http proxy on the linux box which forwards
> all requests to the router.
>
> I set the gateway of the windows 2000 pc to be my linux box and used
> the following iptable rule on the linux box to redirect HTTP request
> to the proxy:
>
> iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT
> --to-port 8000
>
> Now I would like to redirect SSL connections to the Router. However, I
> do not know how this can be done. The following did not work:
>
> iptables -t nat -A PREROUTING -i eth0 -p tcp --dport https -j DNAT
> --destination 192.168.1.1
>
> Do you know how the iptable rule would have to look like????
Don't you just want to define a HTTP-proxy on the WinBox and leave the routing alone?
Else you better define such rules on the Firewall.
Greets
Chris