Code: Select all
port 1194
proto tcp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh2048.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
client-config-dir ccd
topology subnet
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
tls-version-min 1.0
user nobody
group nogroup
persist-key
persist-tun
log-append /var/log/openvpn.log
status openvpn-status.log
verb 3
client-to-client
Code: Select all
dev tun
client
proto tcp
remote example.com 1194
ca ca.crt
cert client.crt
key client.key
port 1194
persist-key
persist-tun
dhcp-option DNS 8.8.8.8
Code: Select all
2024-03-12 08:24:05 client04/192.168.1.2:45102 read TCPv4_SERVER []: No route to host (fd=56,code=113)