Project

General

Profile

Bug #7575

openvpn client and --route-up

Added by Jeremy C. Reed 6 months ago. Updated 6 months ago.

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

0%

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 )

History

#1 Updated by Jim Pingle 6 months 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 set to All

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.

Also available in: Atom PDF