Re: connecting to OpenVPN server: why NetworkManager nm-openvpn gererates curious, pointless random hostnames?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 16 Apr 2023 13:02:03 -0700
Samuel Sieb <samuel@xxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux