I configured OpenVPN server with tun device.
My problem is that each client cannot see the rest of the clients.
For tests I turned off all firewalls to exclude problem with firewall rules.
Every help or even suggestions and comment are welcome. Currently I'm out of ideas.
Server configuration:
port 1194
proto udp
dev tun
ca /etc/openvpn/easy-rsa/keys/ca.crt
cert /etc/openvpn/easy-rsa/keys/server.crt
key /etc/openvpn/easy-rsa/keys/server.key
dh /etc/openvpn/easy-rsa/keys/dh1024.pem
server 10.8.0.0 255.255.255.0
route 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
client-to-client
duplicate-cn
keepalive 10 120
cipher DES-EDE3-CBC
comp-lzo
max-clients 15
user nobody
group nogroup
persist-key
persist-tun
status /var/log/openvpn-status.log
verb 5
Client configuration:
client
dev tun
proto udp
remote myserver.com 1194
resolv-retry infinite
nobind
user nobody
group nogroup
persist-key
persist-tun
ca keys/ca.crt
cert keys/client01.crt
key keys/client01.key
ns-cert-type server
tls-timeout 20
cipher DES-EDE3-CBC # Triple-DES
comp-lzo
verb 3
Server routing table for tun0:
Destination Gateway Genmask Flags Metric Ref Use Iface
10.8.0.2 0.0.0.0 255.255.255.255 UH 0 0 0 tun0
10.8.0.0 10.8.0.2 255.255.255.0 UG 0 0 0 tun0
Client routing table for tun0:
Destination Gateway Genmask Flags Metric Ref Use Iface
10.8.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 tun0
10.8.0.0 10.8.0.2 255.255.255.0 UG 0 0 0 tun0