Bug 246311
Summary: | openvpn can't bind to udp port | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Alexandre Oliva <oliva> |
Component: | selinux-policy-targeted | Assignee: | Daniel Walsh <dwalsh> |
Status: | CLOSED NOTABUG | QA Contact: | Ben Levenson <benl> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 7 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-07-02 16:49:38 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
Alexandre Oliva
2007-06-29 23:42:30 UTC
I've just confirmed that the problem still occurs with selinux-policy-targeted-2.6.4-21.fc7 Ok is port 7189 a default port for openvpn? Or is this something that you setup in a configuration? Or does openvpn select udp ports randomly to listen on? The system is setup to allow openvpn to listen on port 1194 If this is just your configuration you can add this port by executing semanage port -a -T openvpn_port_t -P udp 7189 I didn't even know that it had default ports. A single port won't do, though, I have multiple vpn configurations on some boxes, each using different ports. Thanks for the tip on semanage; it's not clear to me, after reading the man page, whether the setting survives reboot (or whether it requires a policy reload to become effective). I'll figure that out, but you may want to take a note to improve the manual in this regard. I can file a separate bug on that, if you like. Thanks again, Yes semanage survives reboots. All policy changes do except setting booleans. If you specify the setsebool -P they are permanant. |