I am currently trying to set up a private LAN for friends & family via OpenVPN, but I'm biting my teeth.
I get a connection to my server and pinging to other clients or to the server and each other also works, as does the direct file access.
But the network is recognized as a public network in Windows, both at the client and at the server. I tried to change this via the registry, it worked but only resulted in it becoming an unidentified network with the connectivity: No network access.
- The funny thing about it: The network access works.
During my research on the Internet I came across various solutions, such as "pushing a 0.0.0.0 route" but unfortunately none of them worked so far.
That's why I have to ask you for help and I hope someone has a solution.
As I said, I only want a LAN network for file sharing and gaming, I don't want to have the Internet routed from the server to the clients, and I don't want to hide any IPs either .
Here are my configs:
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\server.crt"
key "C:\\Program Files\\OpenVPN\\config\\server.key"
dh "C:\\Program Files\\OpenVPN\\config\\dh.pem"
server 192.168.143.0 255.255.255.0
keepalive 10 120
push "route 192.168.143.0 255.255.255.0"
client-config-dir "C:\\Program Files\\OpenVPN\\config\\ccd"
ifconfig-pool-persist "C:\\Program Files\\OpenVPN\\log\\ipp.txt"
remote XXX.de 1194
Sry about my english, im from germany.