I have a openvpn server setup on a VPS
and 3/4 diffent people conecting to that server and i have been trying for days to get this to work but just cant figger out what im doing wrong
Server conf
#change with your port
port 1337
#You can use udp or tcp
proto udp
# "dev tun" will create a routed IP tunnel.
dev tun
#Certificate Configuration
#ca certificate
ca /etc/openvpn/keys/ca.crt
#Server Certificate
cert /etc/openvpn/keys/server.crt
#Server Key and keep this is secret
key /etc/openvpn/keys/server.key
#See the size a dh key in /etc/openvpn/keys/
dh /etc/openvpn/keys/dh2048.pem
#Internal IP will get when already connect
server 10.10.0.0 255.255.255.0
#Enable multiple client to connect with same key
#duplicate-cn
keepalive 20 60
comp-lzo
persist-key
persist-tun
daemon
client-to-client
client-config-dir ccd
#enable log
log-append /var/log/myvpn/openvpn.log
#Log Level
verb 3
and the Client config
client
dev tun
proto udp
#Server IP and Port
remote xx.xx.xx.xx 1337
resolv-retry infinite
nobind
persist-key
persist-tun
mute-replay-warnings
ca ca.crt
cert Light-Angel.crt
key Light-Angel.key
ns-cert-type server
comp-lzo
all client configs are the same except the crt files
Vpnserver address
main ip: 46.231.x.xxx
lan ip: none
vpn address: 10.10.0.1
Client1
main ip: 80.6.xx.x
lan ip: 192.168.0.4
vpn ip: 10.10.0.9
client 2
main ip: xxx.6.xx.21
lan ip: 192.168.1.8
vpn ip: 10.10.0.25