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