forked from Lainports/freebsd-ports
the man page) and README.openvpn-down-root
2 - match rc.d filename as printed post install in pkg-message to actual file
name on newer systems (which use openvpn rather than openvpn.sh)
Reported by: Jean-Baptiste Quenot (Bcc'd)
The maintainer wishes to thank Jean-Baptiste for his report and patience.
3 - add a pkg-req script to prevent installation of 6.1 packages on older
machines, which is a frequent source of "rc.d script doesn't work"
complaints.
Added file(s):
- files/pkg-req.in
PR: ports/100917
Submitted by: Matthias Andree (maintainer)
20 lines
1.2 KiB
Text
20 lines
1.2 KiB
Text
### ------------------------------------------------------------------------
|
|
### The OpenVPN FreeBSD port, since v2.0.1, uses rcNG to start OpenVPN.
|
|
### Edit /etc/rc.conf to start OpenVPN automatically at system startup.
|
|
### See %%PREFIX%%/etc/rc.d/openvpn%%RCSFX%% for details.
|
|
### ------------------------------------------------------------------------
|
|
### To get OpenVPN 1.X to talk with the new 2.0 version, you may need to
|
|
### edit the 1.X configuration file by adding these lines:
|
|
### tun-mtu 1500
|
|
### tun-mtu-extra 32
|
|
### mssfix 1450
|
|
### key-method 2 <- this key-method line only for TLS setups
|
|
### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
### WARNING: THE DEFAULT PORT HAS CHANGED AND IS NOW 1194!
|
|
### OpenVPN 1.6 and older used 5000 rather than 1194 as their default
|
|
### port, so add the proper port options to your configuration file!
|
|
### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
### For further compatibility, see <http://openvpn.net/relnotes.html>
|
|
### ------------------------------------------------------------------------
|
|
### If you want to donate to OpenVPN: <http://openvpn.net/donate.html>
|
|
### ------------------------------------------------------------------------
|