Basskick Hello everybody, 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: Server.ovpn SERVER CONFIG: port 1194 proto udp4 dev tun 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 cipher AES-256-GCM client-to-client user nobody group nogroup push "route 192.168.143.0 255.255.255.0" persist-key persist-tun verb 3 explicit-exit-notify 1 client-config-dir "C:\\Program Files\\OpenVPN\\config\\ccd" ifconfig-pool-persist "C:\\Program Files\\OpenVPN\\log\\ipp.txt" Client.ovpn vCLIENT CONFIG: client dev tun proto udp remote XXX.de 1194 resolv-retry infinite nobind persist-key persist-tun ca ca.crt cert client1.crt key client1.key remote-cert-tls server cipher AES-256-GCM verb 3 Sry about my english, im from germany.
TinCanTech Basskick wrote the network is recognized as a public network in Windows That is correct and all that you need.
TinCanTech Basskick wrote no way to work as a recognized privat network ? No sensible way that I know of. It is easier to configure a rule for your VPN network in Windows firewall.