nm-OpenVPN --up and --down support

Bug #273773 reported by Jim Rorie
36
This bug affects 7 people
Affects Status Importance Assigned to Milestone
network-manager-openvpn (Ubuntu)
Expired
Wishlist
Unassigned

Bug Description

Binary package hint: network-manager-openvpn

It would be nice if the --up and --down options (or an equivalent) were provided to allow a user to execute an arbitrary shell command upon connection and disconnection of a VPN.

One particular use of this would be to execute a "mount -a" when the VPN connects, thus reconnecting any remote shares that were set up in fstab. Also, it would allow users to execute external routing commands to configure more advanced setups.

Tags: patch
Revision history for this message
Matthew Twomey (mtwomey) wrote :

I second this.

Revision history for this message
Eirik Hjelle (eirik-hjelle) wrote :

I am also in need of this feature.

Revision history for this message
Eirik Hjelle (eirik-hjelle) wrote :

I made a patch which adds support for up and down to network-manager-openvpn including export, import and gui under advanced :)

tags: added: patch
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

We're actually trying to avoid having such entry fields where it's unclear what needs to be typed in. That patch was also make before the switch from glade to GtkBuilder, so would need to be redone and cleaned up.

In general, I'd very much rather such changes go through upstream first. If you could, please open a bug upstream at the GNOME bug tracker (http://bugzilla.gnome.org/) against NetworkManager and propose both the issue you're finding and the solution; then comment here with the link to the bug report so we can link the two reports.

Changed in network-manager-openvpn (Ubuntu):
status: New → Incomplete
importance: Undecided → Wishlist
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for network-manager-openvpn (Ubuntu) because there has been no activity for 60 days.]

Changed in network-manager-openvpn (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.