Answer the question
In order to leave comments, you need to log in
How to set up Client-toClient OpenVPN?
It is required to organize access to the server sitting behind double NAT.
Network infrastructure from the landlord, nothing can be done.
Local server (Windows) and external server (VPS, debian) under full control.
There can be several clients, one server.
All clients must see the WIND_SERVER server, whether they see each other at the same time does not matter.
Access to the Internet of clients through OVPN is not needed.
Actually a question - how to configure?
So far, the configs look like this:
OVPN:
server.conf
port 1194
proto udp
dev tap
mode server
tls-server
ca /etc/openvpn/easy-rsa/keys/ca.crt # generated keys
cert /etc/openvpn/easy-rsa/keys/server.crt
key /etc/openvpn/easy-rsa/keys/server.key # keep secret
dh /etc/openvpn/easy-rsa/keys/dh2048.pem
tls-auth /etc/openvpn/easy-rsa/keys/ta.key 0
ifconfig 192.168.74.1 255.255.255.0
ifconfig-pool 192.168.74.2 192.168.74.200
push "route 192.168.74.0 255.255.255.0 192.168.74.1"
client-config-dir /etc/openvpn/ccd
keepalive 10 120
//пробовал, тоже не работает
//client-to-client
ifconfig-push 192.168.74.2 255.255.255.0
proto udp
dev tap
remote OVPN_SERVER 1194
resolv-retry infinite
pull
persist-key
persist-tun
ca ca.crt
cert client.crt
key client.key
tls-auth ta.key 1
auth-nocache
remote-cert-tls server
comp-lzo
verb 3
Answer the question
In order to leave comments, you need to log in
You need to enable packet forwarding on the vpn server, OR enable client-to-client in dev tun mode.
https://serverfault.com/questions/736274/openvpn-c...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question