WinGate Socks Server Problem

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

Moderator: Qbik Staff

WinGate Socks Server Problem

Postby seasea » Aug 24 12 10:57 pm

Hello

Today i install WinGate 7 and i Install Socks service in it and also i add 6 IP Addresses in LAN Properties. I Bind all Ips from WinGate with one Specific Port all Socks are working fine But The problem is this, all ips are redirect to Main ip which i Set in TCP IP properties. I Want that all ips show their on Ip on www.whatismyip.com. I got only one IP address on ip check. and other help i want to give access on specific IPS to use these Socks.

Please Help Me

Thanks
seasea
 
Posts: 10
Joined: Aug 24 12 10:47 pm

Re: WinGate Socks Server Problem

Postby adrien » Aug 26 12 9:07 am

Hi

are you using the gateway tab to specify which IP / gateway to use for each SOCKS server?

Regards

Adrien
adrien
Qbik Staff
 
Posts: 5448
Joined: Sep 03 03 2:54 pm
Location: Auckland

Re: WinGate Socks Server Problem

Postby datex » Aug 26 12 12:33 pm

Hi there,
I got the same problem.

I got 10 external IPs and I want to use one socks services, which has bind on "ANY EXTERNAL IP", how to set the socks serive to enable users to use different external IPs?
For example a user connect by 1.1.1.1 and the external IP is 1.1.1.1. And he can also connect by 1.1.1.2 and the external ip will be 1.1.1.2?

Now I set the gateway, and I fount if I set the source IP on "ANY IP", the external IP will be same one forever. And I dont want to use the external ips in rotation or pirority order.

And another fatal problem, if I set the source IP of gatways, the OS will crash into bluescreen when a user connect the service. How to solve this problem? The OS is windows2003 sever.

Thanks
datex
 
Posts: 1
Joined: Aug 26 12 12:21 pm

Re: WinGate Socks Server Problem

Postby seasea » Aug 26 12 2:43 pm

Hello

Yes know i use the gateway for every IP and i install Separate Socks Service for Every IP now its working fine and showing Different IPs (Solved)

But how i can set permission on my ips ? i want to give access to Specific IP.


Thanks
seasea
 
Posts: 10
Joined: Aug 24 12 10:47 pm

Re: WinGate Socks Server Problem

Postby adrien » Aug 27 12 12:17 pm

But how i can set permission on my ips ? i want to give access to Specific IP.


Do you mean:

a) only allow certain clients to use the SOCKS server, and/or
b) only allow clients to connect to certain IPs?

This will require setting some policy on the SOCKS server.

If you just want to only allow certain clients to use the SOCKS server, you could set a policy on the ClientConnect event. Or alternatively if your SOCKS clients support auth, you could turn that on (possibly easier).

If you want to limit where a client can connect to, you would set a policy on the ConnectRequest event. You can also do things like redirecting connections to different locations by writing back to

Session.ServerIp and/or Session.ServerPort

Regards

Adrien
adrien
Qbik Staff
 
Posts: 5448
Joined: Sep 03 03 2:54 pm
Location: Auckland

Re: WinGate Socks Server Problem

Postby adrien » Aug 27 12 12:22 pm

datex wrote:Hi there,
I got the same problem.

I got 10 external IPs and I want to use one socks services, which has bind on "ANY EXTERNAL IP", how to set the socks serive to enable users to use different external IPs?
For example a user connect by 1.1.1.1 and the external IP is 1.1.1.1. And he can also connect by 1.1.1.2 and the external ip will be 1.1.1.2?

Now I set the gateway, and I fount if I set the source IP on "ANY IP", the external IP will be same one forever. And I dont want to use the external ips in rotation or pirority order.

And another fatal problem, if I set the source IP of gatways, the OS will crash into bluescreen when a user connect the service. How to solve this problem? The OS is windows2003 sever.

Thanks


When you make a connection on windows, windows chooses which local interface to use, based on the route table. So unless you tell WinGate to do something, the OS will choose which IP is used for a connection back out of WinGate, it has nothing to do with which interface the SOCKS client connected to WinGate on.

If you want connections made by clients to go out the same interface they connected to the SOCKS server on, you can do this in policy, for example in the ConnectRequest event, set

Session.Interface = Session.ClientInterfaceIp

That tells it to use the same interface for the outgoing connection.

Otherwise you could set up a different SOCKS server for each IP, bind it only to that IP, and set a gateway setting. If you only enter 1 gateway in the gateways tab, it doesn't matter which scheme you choose (failover or priority) since there's only one to choose.
adrien
Qbik Staff
 
Posts: 5448
Joined: Sep 03 03 2:54 pm
Location: Auckland

Re: WinGate Socks Server Problem

Postby adrien » Aug 27 12 12:24 pm

p.s. re the blue-screen.

Do you have some other firewall running on that computer? What sort of network adapters are you using, anything unusual?

is this 32 bit or 64 bit version of 2k3?

Regards

Adrien
adrien
Qbik Staff
 
Posts: 5448
Joined: Sep 03 03 2:54 pm
Location: Auckland

Re: WinGate Socks Server Problem

Postby seasea » Aug 28 12 1:02 am

adrien wrote:
But how i can set permission on my ips ? i want to give access to Specific IP.


Do you mean:

a) only allow certain clients to use the SOCKS server, and/or
b) only allow clients to connect to certain IPs?

This will require setting some policy on the SOCKS server.

If you just want to only allow certain clients to use the SOCKS server, you could set a policy on the ClientConnect event. Or alternatively if your SOCKS clients support auth, you could turn that on (possibly easier).

If you want to limit where a client can connect to, you would set a policy on the ConnectRequest event. You can also do things like redirecting connections to different locations by writing back to

Session.ServerIp and/or Session.ServerPort

Regards

Adrien



Hello

Sorry Adrien i am newbie using wingate sorry for my Questions, I set clientconnect policy but i fount Session.clientip private ip something like this and diagram allow and deny but how i can add ip in Private ip database ?

Thanks
seasea
 
Posts: 10
Joined: Aug 24 12 10:47 pm

Re: WinGate Socks Server Problem

Postby adrien » Aug 31 12 12:53 pm

Hi

do you mean you want to create a list of IPs that have access?

You can do this in either a data list object (in WinGate, Control Panel. Data, Global Data) which you then reference inside policy using a Data List Lookup object.

Or you can have the list directly in the policy using a List Lookup policy item.

The IP address object also has a IsPrivate member function, so for instance an expression evaluator that contains only

Session.ClientIp.IsPrivate()

will return true if the client is on a private address, which includes:
* loopback (127.x.x.x)
* normal private ranges:
192.168.X.X
172.16.X.X - 172.31.X.X
10.X.X.X

Regards

Adrien
adrien
Qbik Staff
 
Posts: 5448
Joined: Sep 03 03 2:54 pm
Location: Auckland

Re: WinGate Socks Server Problem

Postby seasea » Sep 01 12 6:58 am

adrien wrote:Hi

do you mean you want to create a list of IPs that have access?

You can do this in either a data list object (in WinGate, Control Panel. Data, Global Data) which you then reference inside policy using a Data List Lookup object.

Or you can have the list directly in the policy using a List Lookup policy item.

The IP address object also has a IsPrivate member function, so for instance an expression evaluator that contains only

Session.ClientIp.IsPrivate()

will return true if the client is on a private address, which includes:
* loopback (127.x.x.x)
* normal private ranges:
192.168.X.X
172.16.X.X - 172.31.X.X
10.X.X.X

Regards

Adrien


Thanks Adrien, but i set specify ips in Firewall for wingate.

and its working is this create problem ?

And please explain me about (Enable Interception) because its True by default i change it to false, because i create some socks and after 3 or 4 days that socks are disconnecting active sessions my server is running very well but only i check socks in a socks checker all are working fine but why socks disconnecting active sessions. Please Reply asap

Thanks
seasea
 
Posts: 10
Joined: Aug 24 12 10:47 pm

Re: WinGate Socks Server Problem

Postby seasea » Sep 01 12 7:02 am

And i am using free license want to know is this disconnect my sessions ?
seasea
 
Posts: 10
Joined: Aug 24 12 10:47 pm

Re: WinGate Socks Server Problem

Postby seasea » Sep 01 12 9:48 am

i also post something else before these two post that is not approved ? please approve that i ask something to Adrien

Thanks
seasea
 
Posts: 10
Joined: Aug 24 12 10:47 pm

Re: WinGate Socks Server Problem

Postby adrien » Sep 01 12 10:54 am

the socks server may disconnect idle sessions - check the setting for that

the free version shouldn't make any difference.

"Enable interception" means allow connections through the SOCKS server to be intercepted e.g. by WWW proxy (e.g. if it's port 80).
adrien
Qbik Staff
 
Posts: 5448
Joined: Sep 03 03 2:54 pm
Location: Auckland

Re: WinGate Socks Server Problem

Postby seasea » Sep 01 12 11:12 am

adrien wrote:the socks server may disconnect idle sessions - check the setting for that

the free version shouldn't make any difference.

"Enable interception" means allow connections through the SOCKS server to be intercepted e.g. by WWW proxy (e.g. if it's port 80).


First my setting was for idle connections False, and for Enable interception True

Now i set Idle Connections True for 180 sec and For Enable interception False

i use socks for Yahoo voice chat,

or any other setting for long live socks ?

Thank you very much for helping me :)
seasea
 
Posts: 10
Joined: Aug 24 12 10:47 pm

Re: WinGate Socks Server Problem

Postby seasea » Sep 03 12 6:56 am

Hello

Bro Please check this log file which i upload from wingate folder, please check this and tell me whats kind of error in it

http://dl.dropbox.com/u/30759581/Log.txt


Thanks
seasea
 
Posts: 10
Joined: Aug 24 12 10:47 pm

Re: WinGate Socks Server Problem

Postby adrien » Sep 03 12 9:11 am

Hi

those "Connection reset" messages means that something closed the connection, either the client or server.

What symptoms do you see in the client? Is it working?

Adrien
adrien
Qbik Staff
 
Posts: 5448
Joined: Sep 03 03 2:54 pm
Location: Auckland

Re: WinGate Socks Server Problem

Postby seasea » Sep 03 12 11:33 am

adrien wrote:Hi

those "Connection reset" messages means that something closed the connection, either the client or server.

What symptoms do you see in the client? Is it working?

Adrien



I am using it Privately my self, i just want only Socks v4,5 and i setup just for my personal use, in same server i am using socks where i start wingate engine, Sir if you can Private message me your personal email i can share it via Remote Desktop Sharing if you Agree Please.

Thanks
seasea
 
Posts: 10
Joined: Aug 24 12 10:47 pm

Re: WinGate Socks Server Problem

Postby adrien » Sep 03 12 12:13 pm

Hi

we can do remote desktop or teamviewer. Just open a support ticket at http://support.qbik.com or email support@wingate.com

Yes this is available for free users.

So the client software is on the WinGate computer as well? What about the server it's connecting to?

Regards

Adrien
adrien
Qbik Staff
 
Posts: 5448
Joined: Sep 03 03 2:54 pm
Location: Auckland

Re: WinGate Socks Server Problem

Postby seasea » Sep 03 12 12:37 pm

adrien wrote:Hi

we can do remote desktop or teamviewer. Just open a support ticket at http://support.qbik.com or email support@wingate.com

Yes this is available for free users.

So the client software is on the WinGate computer as well? What about the server it's connecting to?

Regards

Adrien

I sent an email Team id and password :) Please check it out asap

Thanks
seasea
 
Posts: 10
Joined: Aug 24 12 10:47 pm


Return to WinGate

Who is online

Users browsing this forum: No registered users and 3 guests

cron