DSL Sharing Problem

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

Moderator: Qbik Staff

DSL Sharing Problem

Postby vzeroin » Dec 27 05 8:37 am

hello all,

i found in Internet that WinGate is a nice software for Sharing DSL. i am dropping this question in this forum because there are many technical people here who can help me.

i have a DSL connection got with a Router and i am using it with my friend (which is allowed by my DSL service provider). now the thing is we have a Switch connected directly to the DSL router and from the switch both of our PC are conneted and using internet. infact download is allowed maximum of 20 GB per month from my provider. but now my friend is downloading a lot and at the end i don't have enough credits to download. now what i am thinking is is it possible to control the 2 PC's using DSL to download only 10GB per month each??? and is that possible to do with Wingate.

could any one help me how to configure this controlled sharing and usage of DSL connection.
vzeroin
 
Posts: 1
Joined: Dec 27 05 8:28 am

Postby genie » Dec 27 05 10:17 am

Yes, you can do that but in order to allow Wingate to control the amount of traffic coming through you have to switch your friend machine to use Wingate machine as a router.
genie
Qbik Staff
 
Posts: 1788
Joined: Sep 30 03 10:29 am

Postby jamesc » Dec 31 05 1:00 pm

Ok, there are always a few ways to do things. Here is a suggestion.

So currently you have both network cards on the client computer set as follows:

You:
192.168.1.2 / 255.255.255.0
Gateway 192.168.1.1 (DSL Router)
DNS 192.168.1.1 (DSL Router)

Your Friend:
192.168.1.3 / 255.255.255.0
Gateway 192.168.1.1 (DSL Router)
DNS 192.168.1.1 (DSL Router)


So in order for you to share the internet connection with the same connection method (NAT), you would do the following.

*I presume you have 2 network cards in your computer (The WinGate server). If you do not, I would recommend adding in.

Your Computer:
Network card 1 pointing to the DSL Router
192.168.1.2 / 255.255.255.0
Gateway 192.168.1.1 (DSL Router)
DNS 192.168.1.1 (DSL Router)

Network card 2 pointing towards LAN (Your Friend)
192.168.2.1 / 255.255.255.0
Gateway
DNS

Your Friends computer.
192.168.2.2 / 255.255.255.0
Gateway 192.168.2.1
DNS 192.168.2.1


If you have any problems, please see our NAT guide; you may need to check how your network cards were detected by WinGate as shown in section 2. http://support.qbik.com/index.php?_a=kn ... ils&_i=123


Now that the NAT is setup, you will need to create a new user account for your mate. Once done, set up the Assumed User, so that if his IP address connects to the WinGate computer, then assume it is "your friend"

You will then want to make a policy for the ENS that says

Default Rights are ignored.

User: Your friend
Authentication: Assumed

Advanced Tab
Add Filter
Add Criterion
This Criterion is met if Bytes Received for Client is Less than 10GB

*You will want to stop services not needed.
** You could also do in System policies, but you need to take care of what other groups are in there. Because if you add in a User called "Your friend", and the "Everyone" group is also in the policy, then the least permissive policy is used..

e.g. "Your Friends" policy blocks the request, because he is done over 10GB, but WinGate see that "Everyone" is allowed access, so "your Friend" is allowed access too
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: Google [Bot] and 11 guests

cron