Multiple connection on the server

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
andrea
OpenVpn Newbie
Posts: 2
Joined: Sat Aug 14, 2010 8:44 pm

Multiple connection on the server

Post by andrea » Sun Aug 15, 2010 9:12 pm

Hello everyone, I just installed OpenVPN on my server but I got stuck (although I read the MAN), I can't make multiple connections to my server, I tried to put the "max-clients 10" but nothing, then I knew I had to generate a key for each client trying to connect (but then how do I tell my server.conf read a directory?). Thanks also, and i post the configuration of my server and clients....... Thnkx

P.S. my connection is over ssh tunneling with port forwarding,
The error is that makes me connect a client at a time, one server at a time

::::::::Server Configuration::::::::::::
proto tcp-server
dev tap
lport 8443
ifconfig 10.0.0.1 255.255.255.0
secret /etc/openvpn/chiavewrt1.key
secret /etc/openvpn/chiavewrt.key
max-clients 10
ping 15


::::::::::Clients Config:::::::::::::
remote localhost
proto tcp-client
dev tap
rport 8443
ifconfig 10.0.0.3 255.255.255.0
secret C:\\chiavewrt.key
persist-tun
ping 15
verb 3

User avatar
krzee
Forum Team
Posts: 728
Joined: Fri Aug 29, 2008 5:42 pm

Re: Multiple connection on the server

Post by krzee » Tue Aug 17, 2010 12:13 am

your configs are for point-to-point setups.
Try something more like this:
viewtopic.php?f=4&t=3

andrea
OpenVpn Newbie
Posts: 2
Joined: Sat Aug 14, 2010 8:44 pm

Re: Multiple connection on the server

Post by andrea » Sat Aug 21, 2010 7:55 am

Thanks, :D

Post Reply