Web Hosting Talk







View Full Version : Help with getting around a proxy server...


Russell
02-02-2002, 02:34 PM
Ok here is the scoop...

At work our internet connection is throuh a proxy server which only allows port 80 and 443 (for obvious reasons). The problem comes from the fact that I am running a server which has Plesk installed on it. In order to manage the server I need to go to port 8443, but due to the proxy server cannot reach it.

What I'm wondering is how to setup my Red Hat Linux 7.1 box or Sun Solaris 8 box to route all incoming requests on 192.168.0.1, port 443 to say 192.168.0.1 8443, and vice versa. This way when I access https://192.168.0.1/, I'll be able to get out of the proxy, and access the Plesk admin page.

Thus:

My puter 443 -------> 443 Proxy 443 -------> 443 Server 1 8443 -----> 8433 Plesk server

Plesk server 8433 ----> 8443 Server 1 443 ----------> 443 Proxy 443 ------> 443 My puter

There are also other clients of mine who are behind proxies as well, and can not access the admin interface too, so this would benefit them as well.

Thanks :)

-Russell

Russell
02-02-2002, 02:51 PM
Kernel version for RH 7.1 server is 2.4-9-12

Sun server is Solaris 8.

A method on doing this for either OS would be great.

I think with RH you can use iptables, but im not sure how to do the syntax for this.

Thanks for any help :)

bitserve
02-03-2002, 02:46 AM
Is your plesk server behind a NAT?

Anyway, I use ipvsadm on Linux for port forwarding.

I could give you more specific instructions maybe if you could provide a network diagram of where the Linux box the Solaris box, and the proxy server are in relation to eachother.

Russell
02-03-2002, 02:51 AM
I dont have full detailed network info but here is what I can give you.

The proxy server I'm going through is located in Japan (where I'm at as well). Then from there it goes to the US through the internet. Once it reaches the data center, it comes in through the Router there, then to a master switch, to my switch, and then to my server.

Me ---> Proxy ----> [ internet ] --> data center ---> sx ---> my sx ----> server.

The plesk server is not behind NAT, and has a valid internet IP address. I was just using a non-internet based IP for my example.

Thanks in advanced for any assistance.

Russell
02-03-2002, 02:53 AM
Is this a third party program, or just not installed by default on RH 7.1 install? I tried doing a man ipvsadm and nothing came up.

Thanks ;)