S
S
SGanabiS2017-09-02 14:07:46
openvpn
SGanabiS, 2017-09-02 14:07:46

How to organize communication between openvpn clients?

There is a VPS with ubuntu 16.04 configured with openvpn and clients for windows 7-10, android, ios and debian. Everyone connects to the server without problems and receives an ip like 10.8.0.x There is no
connection between clients (ping and samba). Vpn via tun (tap doesn't work for a number of reasons).

Server config:
port 1194
proto udp
dev tun
dh dh2048.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
client-to-client
keepalive 10 120
tls-auth ta.key 0 # This file is secret
key-direction 0
cipher AES-128-CBC # AES
auth SHA256
comp-lzo
user nobody
group nogroup
persist-key
persist-tun
status openvpn-status.log
verb 3

client config:
client
dev tun
proto udp
resolv-retry infinite
nobind
user nobody
group nogroup
persist-key
persist-tun
remote-cert-tls server
cipher AES-128-CBC
auth SHA256
key-direction 1
comp-lzo
verb 3

Help please, tell me where to dig?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Tallmange, 2017-09-02
@SGanabiS

Try adding the line:
both on the client and on the server

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question