Here is server.conf
Code: Select all
local 66.xx.xx.xx
port 1194
proto udp
dev tun
mode server
ca /etc/openvpn/ca.crt
cert /etc/openvpn/server.crt
key /etc/openvpn/server.key
dh dh2048.pem
topology subnet
server 10.9.0.0 255.255.255.0
push "explicit-exit-notify 3"
push "dhcp-option DNS 1.1.1.1"
client-config-dir /etc/openvpn/ccd
user nobody
group nobody
client-to-client
#duplicate-cn
keepalive 20 60
persist-key
persist-tun
status openvpn-status.log
log openvpn.log
comp-lzo
verb 3
Code: Select all
ifconfig-push 10.9.0.14 255.255.255.0
iroute 192.168.100.0 255.255.255.0
Current /etc/openvpn/openvpn-status.log
OpenVPN CLIENT LIST
Updated,Wed Jul 7 12:37:34 2021
Common Name,Real Address,Bytes Received,Bytes Sent,Connected Since
clientBH,187.156.208.113:38567,31863,5983,Wed Jul 7 12:32:34 2021
ROUTING TABLE
Virtual Address,Common Name,Real Address,Last Ref
10.9.0.2,clientBH,187.156.208.113:38567,Wed Jul 7 12:32:35 2021
GLOBAL STATS
Max bcast/mcast queue length,0
END