tags:

views:

40

answers:

2

I own a small but fast growing VPN service that has about 60 clients. After a lot of demand, I am looking to build an application that my clients can use to connect to our VPN using a custom client. I would normally pay out for a professional to do this, but our cashflow does not currently allow for it. Something along the lines of this:

http://hidemyass.com/vpn/

I'm just stuck now at how I would go about tunnelling all of the clients traffic (not just their traffic through web browser) though my server using a client I am going to build.

I'm thinking along the lines of changing the Windows network settings like you would have to without a client, but doing it programmatically.

Any input would be helpful, thank you. :)

+1  A: 

Look at openvpn, which is designed to do exactly this. You can push routing information to each client as it connects to your server.

Adam Liss
Sorry, I should have been more specific.I have already looked at a number of alternatives, but the method I'm using now does exactly what I want. The only problem is clients have to manually edit their connection settings from control panel, I wanted to build my own client that did it all for them. :)
Whitey
I still don't understand exactly what problem you're trying to solve. Do you want your clients to use your server as their default gateway? If that's the case, your client can issue either a "route" or a "netsh" command to change the routing table programmatically.
Adam Liss
A: 

Run a linux server and any number of free VPN servers? A quick google came up with http://www.natecarlson.com/linux/linux-vpn.php or http://articles.techrepublic.com.com/5100-10878%5F11-6038003.html or http://www.poptop.org/

Norman
I already have the server-side setup. I have a beefy linux server running VPN software already. And to connect to it clients have to edit their connection settings via Control Panel.I just want to build a client that will edit the connection settings automatically. :)
Whitey