Project

General

Profile

Actions

Bug #7575

closed

openvpn client and --route-up

Added by Jeremy C. Reed almost 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
OpenVPN
Target version:
Start date:
05/20/2017
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
All
Affected Architecture:
All

Description

vpn_openvpn_client.php
Does the route_no_exec feature for "Don't add/remove routes"
even work? I don't see any use of route-up script.

Also while here see the setHelp text shows "--route-upscript"
which should have a space between up and script.
This text is just verbatim from the man page (which has the space).
(I also see missing space in the locale files.)

(I noticed this while working on my book.
My list of bugs is at http://reedmedia.net/books/pfsense/bugs.html )

Actions #1

Updated by Jim Pingle almost 7 years ago

  • Category set to OpenVPN
  • Status changed from New to Resolved
  • Assignee set to Jim Pingle
  • Target version set to 2.4.0
  • Affected Version set to All
  • Affected Architecture All added
  • Affected Architecture deleted ()

Yes, it works. route-noexec in OpenVPN tells it not to run the Operating System executable to install routes (e.g. /sbin/route). It does not matter that we do not set a route-up script. If you have route-noexec present then you can set a route-up script if you want, in advanced options.

I fixed the help text to be more explicit in stating this, but there is no bug here aside from the typo.

Actions

Also available in: Atom PDF