IP Address Not Changing for OpenVPN Client
Posted: Mon Jun 20, 2022 12:26 pm
Hello.
I am trying to setup an OpenVPN Server on my Windows Machine. I have been able to connect to the Sever with a client on a different PC but have hit a roadblock. The IP address of the client doesn't seem to get updated and this is a requirement I need. Any guidance on this will be highly appreciated.
Here are my 'server.ovpn' and 'client.ovpn' files.
server.ovpn:
client.ovpn:
I am trying to setup an OpenVPN Server on my Windows Machine. I have been able to connect to the Sever with a client on a different PC but have hit a roadblock. The IP address of the client doesn't seem to get updated and this is a requirement I need. Any guidance on this will be highly appreciated.
Here are my 'server.ovpn' and 'client.ovpn' files.
server.ovpn:
Code: Select all
port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh.pem
server 10.20.30.0 255.255.255.0
ifconfig-pool-persist ipp.txt
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
Code: Select all
client
dev tun
proto udp
remote <server_public_ip> 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client01.crt
key client01.key
comp-lzo
verb 3