Re: network manager / vpnc question

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

 



Mail Lists wrote:
  I have set up a vpnc connection just fine (to cisco) - while there is
a button to add routes, it seems to not understand the usual ip route
arguments ...

  I need to keep a default route via a standard gateway (not using the
vpnc tun0 route) and then set a bunch of other routes to tun0 .. ie i
need to create these routes and am stumped how to do them -

  At its simplest,  i'd like the routing table to be unchanged from
before I connect vpnc (esp the default route) which I asume 'ignore
automatically obtained routes' radio button will do - and in addition
add these 2 routes - which I cannot find how to do:

   ip route add x.x.x.x/16 dev tun0
   ip route add y.y.y.y/17 dev tun0

 Also I don't know for sure I will get 'tun0' so it should probably be a
meta token but the window to add routes only takes gateway ip type of
routes ...

  It would be nice if NM allowed a program to be called after (and maybe
before) the connection - that would be helpful when one needs to adjust
other things, (mailertables, ntp, privoxy settings etc etc).

  Does anyone know if this is possible today ?




Yes, it is.

All scripts in:
    /etc/NetworkManager/dispatcher.d/
are examined upon every connect and disconnect.

There are several examples in there already on F10.

Good Luck!

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux