300000 wrote
there is some question i like to ask. can you connect openvpn client and can you go to internet at the same time or not?
Sorry, I swear I answered this but it is somehow gone? Or is it being redacted? (In that case sorry for a possible double post)
So: yes, the clients can use THEIR internet access (and not the one thorugh the ovpn server, but that is actually how I want it to be - the clients shouldn't waste our very low bandwith with their internet surfing!)
Currently I'm not pushing any routes or anything.
I have set up test client (Win10) now, I think it is isolated enough to work exactly like an external client would.
What I see is this: the client gets the DNS address from the server fine. But the windows system does not use that at all. I can try a "nslookup servername" (which then tries the DNS server 8.8.8.8 of the wired connection) and obviously fails. if I try to specify which nameserver it should use to resolve: "nslookup servername 10.8.0.1" then it works and returns the actual server ip address (192.168.2.10).
if i do any nslookups, specifying either 10.8.0.1 or 192.168.2.10 as nameservers to use, both work, and do resolve local and internet addresses.
so it kinda works, except the windows system does not use these nameservers, despite being pushed on it.
When trying to look up the servername "nslookup servername", it uses the default 8.8.8.8 nameserver on the wired interface, and returns nxdomain. but when i try to "ping nameserver", it does work, and it pings 10.8.0.1
Weird.