Can I use Wingate to do this.....

Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems

Moderator: Qbik Staff

Can I use Wingate to do this.....

Postby baald » Jul 18 06 2:19 pm

HI,

Here's my situation:

I'm QA-ing a web services application. I have a client application that refers to about 60 services, but the client has no way of globally controlling which server/port these services point to. I need to be able to test on any developer's working instance without having to go through and reset all these service URLs.

IE, I have:
WS-1 located at dev-1.mydomain.com:10040/WS-1?WSDL
WS-2 located at dev-1.mydomain.com:10041/WS-2?WSDL
WS-3 located at dev-2.mydomain.com:10040/WS-3?WSDL
.
.
.
WS-60 located at one of the above servers, or perhaps a different (but known) server

I want to catch the outgoing requests to the above URLs, and redirect them all to e.g.:
qa.mydomain.com:80/WS-[n]?WSDL

Whichever application I use to catch these requests and redirect them needs to reside on the same machine as my test client.

I've tried a few port forwarders, but they won't listen to outgoing traffic, but will only accept requests that point to localhost:[arbitrary port].

So...will WG do what I need it to do? Would I use NAT for this or something else? If not, can anyone suggest another app that will work?

Thanks
baald
baald
 
Posts: 1
Joined: Jul 18 06 2:05 pm

Postby jamesc » Jul 19 06 1:36 am

I don't believe you could do it on a url level at the moment or on the same machine as the Client Application. With the Client Application computer, it would need its default gateway pointing to the ip address of WinGate on another computer.

In that scenario you could redirect TCP Ports 10040 - 10100 to the ip address of qa.mydomain.com, and override the port to 80, and probably ticking the check box "Don't translate source ip"; depends where it is redirecting to. You would also tick "Local Computers to the Internet" check box

GateKeeper --> Extended Networking Service --> Port Security --> Add

*This will not distinguish between what application or host is trying to access those ports on the internet.
**You would use NAT
jamesc
Qbik Staff
 
Posts: 928
Joined: Apr 04 05 2:04 pm
Location: Auckland, New Zealand


Return to WinGate

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 16 guests