The server's address is written in the server specific user configuration file client.ovpn
. So after downloading client.ovpn
file, if you check the file you will see remote
directive snippets like:
remote openvpn.foobar.net 3194 udp
Here openvpn.foobar.net
is the remote server address, it can also be an IP address:
remote 1.2.3.4 3194 udp
Now, if you can still reach the remote server even after commenting out the remote
snippets from client.ovpn
, then it must be cached by the client.
I have tested this on my system and getting this error instead:
Options error: --nobind doesn't make sense unless used with --remote
Use --help for more information.
but as openvpn
client caches various parameters to have faster response, the response you got is presumably due to the caching.
remote
directive commented out (not expected, unless the config file you were editing was not the one openvpn was using).