Hello, guys I'm asking for help. I have this situation (image below).
I did my first OpenVPN server setup today. I used this script to install
https://github.com/angristan/openvpn-install (Yes I did not have a time to study all VPN problematics :twisted: )
Now "Client A" and "Client B" and "Client C" can see(ping,etc.) each other no problem.
Issue: When I try adding route (route add 10.0.100.0 255.255.255.0 10.8.0.3) to "Client A" it does not work.
Goal is to allow "Client A" to connect into "Client B" subnet 10.0.100.0 and allow "Client A" to connect into "Client B" subnet 10.0.101.0
port 1194
proto udp
dev tun
user nobody
group nogroup
persist-key
persist-tun
keepalive 10 120
topology subnet
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
push "redirect-gateway def1 bypass-dhcp"
dh none
ecdh-curve prime256v1
tls-crypt tls-crypt.key 0
crl-verify crl.pem
ca ca.crt
cert server_0hXXXXXXXXXXXXXXX.crt
key server_0hCXXXXXXXXXXXXXX.key
auth SHA256
cipher AES-128-GCM
ncp-ciphers AES-128-GCM
tls-server
tls-version-min 1.2
tls-cipher TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256
client-config-dir /etc/openvpn/ccd
status /var/log/openvpn/status.log
verb 3
client
proto udp
explicit-exit-notify
remote 2xx.x.x.x 1194
dev tun
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
verify-x509-name server_XXXXXXXXXXX name
auth SHA256
auth-nocache
cipher AES-128-GCM
tls-client
tls-version-min 1.2
tls-cipher TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256
ignore-unknown-option block-outside-dns
setenv opt block-outside-dns # Prevent Windows 10 DNS leak
verb 3
Thanks!