Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am working on a MAC machine and expected to use some of the Webservices which are present on a different network. The general way to access these webservices is through VPN to that network and then access. For some known reason I am not able to (supposed to / expected to / allowed to) install the VPN client on the MAC machine. Hence I would like to perform some kind of activity on some other local machine (windows based) so that From MAC I would request local machine and from local machine I would redirect to the VPN based machine.

Can some one help me in doing this?

(I am aware that I can setup a simple web service at my another machine and programatically forward the request to the VPN based service, but I am looking for something that would not need any programming except some setup etc).

Also I read some of the questions on serverfault, but most of them talk about Apache and I do not have this (and not possible to get this) on my other machine.

share|improve this question
    
What webserver are you using. Have you forwarded on port 80 (or the port you have set) from your Firewall to this Server? –  t1nt1n Jan 20 '12 at 7:27
    
I have IIS 7. And yes, my mac machine is able to get to my windows machine on port 8081. Next step is to forward to completely different server. –  Subhash Dike Jan 20 '12 at 7:35
add comment

1 Answer

up vote 0 down vote accepted

What you are looking for is called a reverse proxy; you send a request to http://windows/vpn_network and IIS receives the command, fetches http://vpn_network for you, and provides it at the first URL. This is typically done with Apache or nginx and that is why you will see a lot of references to that.

It is possible to do with IIS 7 URL Rewrite and ARR. That link will walk you through it and it does involve having access and permissions to the IIS server, obviously, as you will be installing and configuring modules. The configuration is minimal and is not equivalent to writing code and you can skip the section on caching.

Unfortunately to my knowledge there is no other way of doing this without using some form of rewrite or reverse proxy. The next best thing would be installing a remote desktop client on your Mac (such as CoRD) and RDPing in to the Windows box and doing your work from there.

share|improve this answer
    
Thanks for the response. Though I wanted something real quick and IIS based, I could not get it that way. I ended up using putty. –  Subhash Dike Jan 27 '12 at 6:35
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.