I wanted to know if it was possible to have a server running OpenVPN with server key and have multiple clients connect to it?I would like the server to be 10.9.8.1, the first client to be 10.9.8.2 (this works) and have a third one be 10.9.8.3 so the three of them appear on the same private network. I couldn't manage to connect the third one, I getTCP/UDP: Socket bind failed on local address [undef]:1194: Address already in use.when I try to connect the third one to the VPN server.
VPN, one server, multiple clients
vpn;openvpn;tunneling
Of course it's possible. The configuration you might want to try is tap rather than tun if you wonder about that, even though it might bit a bit harder to configure, it's easier to get hosts together in one network that way. You might need to enable client-to-client connections for that - there is a line for that commented out in example OpenVPN configs.Your error is another matter, though. It means that the program using port 1194 (OpenVPN in that case) is already running, so you have to specify some other port in config, or make sure that the previous instance is off if it shouldn't be on.ps ax | grep openvpnIf there is OpenVPN running and shouldn't be, and it has PID of, say, 1234 (first number on the left) you can type kill 1234 to turn it off.