The problem is that from client side I can only access server not other clients.
The server is a host from my home LAN ( 192.168.1.0 ) network,
and I have 2 clients from the same network and 1 client over the internet.
VPN network is 10.8.0.0.
All I want is that all client in the VPN to able to access each other.
Here is my server.ovpn:
port 1194
proto tcp
dev tun
ca /etc/openvpn/easy-rsa/keys/ca.crt
cert /etc/openvpn/easy-rsa/keys/homeserver.crt
key /etc/openvpn/easy-rsa/keys/homeserver.key
dh /etc/openvpn/easy-rsa/keys/dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
keepalive 10 120
comp-lzo
user nobody
group nobody
persist-key
persist-tun
status openvpn-status.log
verb 3
client-to-client
client-config-dir ccd
log-append /var/log/openvpn
status /tmp/vpn.status 10
Here is one of my client.ovpn:
I thought that "client-to-client" in server.ovpn is sufficient but may be I have to do some routing.client
remote <MYSERVER> 1194
dev tun
proto tcp
resolv-retry infinite
nobind
persist-key
persist-tun
verb 2
ca ca.crt
cert client.crt
key client.key
I'm not very familiar with the later.