Client cannot access server Lan
Posted: Wed Mar 16, 2022 2:13 pm
Hello,
I though that my question was trivial, but I couldn't find any relevant answer to my search.
I have a ovpn server version 2.4.11 running on a Centos 8 PC
I cannot manage to give access to the client to the server lan. Can anyone help?
Client can ping server vpn IP, lan server IP, but not any other lan client IP
Server conf:
Client conf
I though that my question was trivial, but I couldn't find any relevant answer to my search.
I have a ovpn server version 2.4.11 running on a Centos 8 PC
I cannot manage to give access to the client to the server lan. Can anyone help?
Client can ping server vpn IP, lan server IP, but not any other lan client IP
Server conf:
Code: Select all
port 1197
proto udp
dev tun
user nobody
group nobody
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 192.168.1.1"
push "route 192.168.1.0 255.255.255.0"
push "redirect-gateway def1 bypass-dhcp"
dh none
ecdh-curve prime256v1
tls-crypt tls-crypt.key
crl-verify crl.pem
ca ca.crt
cert server_QBoI9POqqZs8lbnW.crt
key server_QBoI9POqqZs8lbnW.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
management localhost 7505
verb 4
Code: Select all
client
proto udp
explicit-exit-notify
remote x.x.x.x 1197 (this is my box address)
dev tun
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
verify-x509-name server_QBoI9POqqZs8lbnW 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
route-nopull
verb 3