Bug 477271
Summary: | openvpn will not execute route-up script | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | william hanlon <whanlon> |
Component: | openvpn | Assignee: | Steven Pritchard <steve> |
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 10 | CC: | kabakaev+bugzilla+redhat, steve |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-12-18 07:20:43 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
william hanlon
2008-12-19 23:19:08 UTC
How exactly are you running openvpn? I have a feeling this is related to bug #458594, but the work-around there only works if you are using the openvpn init script. (In reply to comment #1) > How exactly are you running openvpn? I'm using it as a routing VPN, using tun devices. The VPN server also routes the private packets by NATting as well. It works fine and I've never had a problem with it until the installation of Fedora 10's version of openvpn. Everything worked as expected after the new install except the addition of this route to the routing table. It is adding something to the routing table, but it just doesn't seem to be able to use the route-up command properly. In my logs I see it adds an entry to the routing table: Dec 19 18:40:38 gizmo openvpn[4428]: /sbin/ip addr add dev tun0 local 192.168.10 0.1 peer 192.168.100.2 I think it's being done by this entry in the config file: ifconfig 192.168.100.1 192.168.100.2 Here's the entry in the routing table: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.100.2 0.0.0.0 255.255.255.255 UH 0 0 0 tun0 > I have a feeling this is related to bug #458594, but the work-around there only > works if you are using the openvpn init script. I have tried setting script-security to 3, which is the most permissive level, and it doesn't help correct the problem. In my config file: script-security 3 # route to be established on the server route-up "/sbin/route delete -net 192.168.100.0/24" route-up "/sbin/route add -net 192.168.100.0 netmask 255.255.255.0 dev tun0" I see in my logs: Dec 19 18:35:25 gizmo openvpn[4375]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts Dec 19 18:35:25 gizmo openvpn[4375]: WARNING: the current --script-security sett ing may allow passwords to be passed to scripts via environmental variables Dec 19 18:35:25 gizmo openvpn[4375]: Route script failed: could not execute exte rnal program I grabbed openvpn-2.1-0.29.rc15.fc10.i386 from the testing repository and it resolves the problem. Still had a problem with Fedora 10 and its openvpn-2.1-0.29.rc15.fc10 The only solution was to use additional option in client.conf: script-security 2 system It didn't work without the "system" in the end. This message is a reminder that Fedora 10 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 10. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '10'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 10's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 10 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Fedora 10 changed to end-of-life (EOL) status on 2009-12-17. Fedora 10 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed. |