Re: F28, openvpn, NetworkManager

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

 



On 5/26/19 10:59 PM, Jack Craig wrote:


On Sun, May 26, 2019 at 10:52 PM Ed Greshko <ed.greshko@xxxxxxxxxxx <mailto:ed.greshko@xxxxxxxxxxx>> wrote:

    On 5/27/19 1:38 PM, Jack Craig wrote:
     >
     >
     > On Sun, May 26, 2019 at 10:17 PM Ed Greshko
    <ed.greshko@xxxxxxxxxxx <mailto:ed.greshko@xxxxxxxxxxx>
     > <mailto:ed.greshko@xxxxxxxxxxx <mailto:ed.greshko@xxxxxxxxxxx>>>
    wrote:
     >
     >     On 5/27/19 12:17 PM, Jack Craig wrote:
     >     > i thought what i read was after nm brings up the vpn, only
    then is the default
     >     route to
     >     > vpn created. more, its torn down first on shutdown.
     >     >
     >     > i'm thinking along this line, ...
     >     >
     >     > https:
    <https://www.debuntu.org/how-to-network-manager-openvpn-overwrites-default-route/>xpect
    what should happen is that after each interface comes up via NM a
    default route
     > is set to it
     > so eth0 up, default route to , say, 10.0.0./24
    <http://10.0.0./24> <http://10.0.0./24>, then vpn comes and
     > default route is now pointed at the vpn.
     >
     > and this process in reverse on shutdown...

What I've seen is two additional, more specific, default routes added:
0.0.0.0/1 and 128.0.0.0/1, which cover the entire ipv4 address space. By doing it this way the new routes can be deleted and the original default route remains. This works because a more specific route trumps the less specific route (0.0.0.0).

Unfortunately, I can't remember who adds/removes those routes but I suspect it is NM.

Good travels on your adventure,
:m
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[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