Need help configuring your VPN? Just post here and you'll get that help.
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
ebrahimj
- OpenVpn Newbie
- Posts: 2
- Joined: Mon Jun 20, 2022 12:19 pm
Post
by ebrahimj » 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:
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
client.ovpn:
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
-
TinCanTech
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Post
by TinCanTech » Mon Jun 20, 2022 7:02 pm
ebrahimj wrote: ↑Mon Jun 20, 2022 12:26 pm
I am trying to setup an OpenVPN Server on my Windows Machine
World of pain. Windows as a server is a bad idea ..
-
ebrahimj
- OpenVpn Newbie
- Posts: 2
- Joined: Mon Jun 20, 2022 12:19 pm
Post
by ebrahimj » Tue Jun 21, 2022 7:10 am
Don't make me cry mahn. The other alternative is a Ubuntu 16 server which is no longer supported by OpenVPN(Ubuntu 16 that is).
-
TinCanTech
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Post
by TinCanTech » Tue Jun 21, 2022 8:42 am
Then it looks like you have dug your own grave ..
If you insist on using
Windows as a VPN server then see
bebops posts here:
viewforum.php?f=7
You should probably
properly maintain your Ubuntu Server.