Hello!
I'm configuring openvpn for clients (user:password auth). One client connected to br0 (network one), two client connected to br1 (network two). When a client connects to the queue (not both) - everything is fine, with the help of scripts (command brctl) to bridge br0 add or br1, but when at the same time - does not work. I think this is all due to the fact that it creates one device tap0. Is it possible for each connection to create their device tapX?
something like this:
user1 -> tap0 -> br0
user2 -> tap1 -> br1
....
userX -> tapX -> brX
Thank you, Yours faithfully Alex.
Bridge for clients in different networks
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 2
- Joined: Mon Dec 19, 2011 7:37 am
- janjust
- Forum Team
- Posts: 2703
- Joined: Fri Aug 20, 2010 2:57 pm
- Location: Amsterdam
- Contact:
Re: Bridge for clients in different networks
one openvpn instance is bound to one tap adapter (or bridge); if you want a bridge for each user then you would have to launch an openvpn process for each user.
Also, what would each bridge be bridging? you can bridge a network adapter (ethN, tapN) only once.
Also, what would each bridge be bridging? you can bridge a network adapter (ethN, tapN) only once.
-
- OpenVpn Newbie
- Posts: 2
- Joined: Mon Dec 19, 2011 7:37 am
Re: Bridge for clients in different networks
I would like to just have one instance, (To everyone got into their network ...
- janjust
- Forum Team
- Posts: 2703
- Joined: Fri Aug 20, 2010 2:57 pm
- Location: Amsterdam
- Contact:
Re: Bridge for clients in different networks
read http://openvpn.net/index.php/open-sourc ... dging.html for more info on how to set up ethernet bridging.