On Sun, 16 Apr 2023 13:02:03 -0700
Samuel Sieb <sam...@sieb.net> wrote:
> On 4/16/23 12:16, Franta Hanzlík via users wrote:
> > I'm trying to configure OpenVPN connection in Fedora 37 NetworkManager.
> > The configuration was created by importing the .ovpn file and subsequent
> > its result correction. But connection is not working, and it seems it
> > is because MetwokManage/nm-openvpn prepend OpenVPN server name with
> > random string - which, of course, isn't resolvable to IP (v4) address.
> > 
> > My configuration file is:
> > # cat /etc/NetworkManager/system-connections/lada.nmconnection
> > [connection]
> > id=mojevpn
> > uuid=523155d8-ce42-499f-9b65-371733cd420c
> > type=vpn
> > autoconnect=false
> > 
> > [vpn]
> > remote-random-hostname=yes  
> 
> Maybe because of this?

Hi Samuel, thanks to reply!

You are right, there was problem.

And I saw this option, but I messed up this "remote-random-hostname"
(in nm-connection-editor checkbox with notation "Prefix remote DNS name with 
random string"
and context help bubble
"Adds a random string to remote DNS name to awoid DNS caching.
config: remote-random-hostname
")

with previously mentioned option "Randomize remote hosts" and help bubble
"Randomize the order of gateways list (remote) as kind of basic load-balancing 
measure.
config: remote-random
"
 - and because I have only one host, I assumed there could be no problem.

And I also change this option to "no" - but editing config file with
normal text editor (not nm-connection-editor) - which was also wrong
(connection are perhaps cached, and 'external' editing will not load
the configuration ;)

But - somehow I don't understand - this wonderful feature (hostname
randomizing == disabling its resoulution/usage) that will cause
the connection to not work - does it have any real use?
Has anyone gone crazy? Or am I crazy?
---
Thanks, Franta Hanzlik
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to