Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Question about VPN
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
arndawg
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jun 2006
Posts: 97

PostPosted: Fri Nov 30, 2007 3:12 pm    Post subject: Question about VPN Reply with quote

I'm looking for a VPN solution. And since i like gentoo so much i always look for linux alternatives first :)

What i want is to have different VPN client (windows) groups to connect to different interfaces(vlans) on the vpnserver.

ex:

Group1 VPN -> WAN -> NAT -> eth1 VPN SERVER -> eth0_0001 -> other network stuff.
Group2 VPN -> WAN -> NAT - >eth1 VPN SERVER -> eth0_0002 -> other nettwork stuff.
and so on.

Or as a second solution if the above is not possible:

Group1 VPN -> WAN - NAT -> eth1 VPN Server -> ETH0, but access only to specified IPs.
And the same for group2, only group1 can't see group2 and vica versa.


Is it possible on the client to only use the VPN connection for the given subnet, and use other random internet stuff as usual through the local WAN?
Back to top
View user's profile Send private message
tobr
Guru
Guru


Joined: 29 May 2006
Posts: 330

PostPosted: Fri Nov 30, 2007 3:34 pm    Post subject: Re: Question about VPN Reply with quote

arndawg wrote:
I'm looking for a VPN solution. And since i like gentoo so much i always look for linux alternatives first :)

What i want is to have different VPN client (windows) groups to connect to different interfaces(vlans) on the vpnserver.

ex:

Group1 VPN -> WAN -> NAT -> eth1 VPN SERVER -> eth0_0001 -> other network stuff.
Group2 VPN -> WAN -> NAT - >eth1 VPN SERVER -> eth0_0002 -> other nettwork stuff.
and so on.

Or as a second solution if the above is not possible:

Group1 VPN -> WAN - NAT -> eth1 VPN Server -> ETH0, but access only to specified IPs.
And the same for group2, only group1 can't see group2 and vica versa.

OpenVPN (net-misc/openvpn) is a good (and relatively easy to use) VPN server/client for *nix, Mac, Windows. I don’t know if it can do the stuff you want but couldn’t you do this stuff with a firewall? OpenVPN can force specific clients to use specific IP addresses which you can write rules for. You could also run two OpenVPN processes on different ports.

Quote:
Is it possible on the client to only use the VPN connection for the given subnet, and use other random internet stuff as usual through the local WAN?

This is of course possible. OpenVPN just adds another (tun/tap) network interface which you can use like any other one. Just set up routing with the standard tools.
_________________
Please add [SOLVED] to your message title if your problem is solved.

Death to all blobs!
Back to top
View user's profile Send private message
sparks
Guru
Guru


Joined: 05 Mar 2003
Posts: 331
Location: Nashville, TN

PostPosted: Fri Nov 30, 2007 10:14 pm    Post subject: Reply with quote

I have started using janusvm for my vpn solution. It also has an option to enable Tor for added security/anonymity. Janusvm is a simple vmware image that you can load on your current system to enable vpn. Now I know this takes all the fun out of configuring a vpn for yourself but when you get old and busy like me this is the perfect solution.


http://janusvm.peertech.org/
_________________
True trade is honest, but not merciful. Politics is dishonest, no matter how merciful... and war is neither honest nor merciful.... therefore, choose trade above politics, but politics above war.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum