Re: Split tunnelling

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

 



On Tue, 2018-08-21 at 15:15 -0700, Samuel Sieb wrote:
> On 08/21/2018 09:08 AM, Patrick O'Callaghan wrote:
> > It works as far as it goes, but still no split tunnel. I suspect the
> > (provider-supplied *binary*) connection script is forcing all traffic
> > through the tunnel. Looks like I'll have to play with OpenVPN using the
> > provider's credentials and see if I can convince it to play ball.
> 
> What is the output of the "route" command?  Check for a default gateway 
> that is pointing to the VPN.  If there is one, try removing it and see 
> what happens.

This is the routing table with the VPN enabled (the virbr stuff is from
a VM, not relevant here):

$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         10.87.0.53      128.0.0.0       UG    0      0        0 tun0
default         ZyXEL-router    0.0.0.0         UG    100    0        0 enp3s0
10.87.0.1       10.87.0.53      255.255.255.255 UGH   0      0        0 tun0
10.87.0.53      0.0.0.0         255.255.255.255 UH    0      0        0 tun0
45.56.130.4     ZyXEL-router    255.255.255.255 UGH   0      0        0 enp3s0
128.0.0.0       10.87.0.53      128.0.0.0       UG    0      0        0 tun0
192.168.1.0     0.0.0.0         255.255.255.0   U     100    0        0 enp3s0
192.168.122.0   0.0.0.0         255.255.255.0   U     0      0        0 virbr0

The default points directly to the local router, as expected, but the
router's address has changed. For comparison, here's the table with the
VPN turned off:

$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         ZyXEL-router    0.0.0.0         UG    100    0        0 enp3s0
192.168.1.0     0.0.0.0         255.255.255.0   U     100    0        0 enp3s0
192.168.122.0   0.0.0.0         255.255.255.0   U     0      0        0 virbr0

poc
_______________________________________________
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/message/FHCRUJWOQ2YQ6J2AWM26R32JSSFESR73/



[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