-
-
Save khorsmann/271ce911c6a4fc92d03c206d3b9dc35f to your computer and use it in GitHub Desktop.
restart OpenVPN server in CLI pfsense
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# (edits /conf/config.xml symlink to /cf/conf/config.xml) | |
viconfig | |
# add for example fragment 1300;mssfix to a client | |
# <openvpn> | |
# <openvpn-client> | |
# <topology>subnet</topology> | |
# <custom_options>fragment 1300;mssfix 1300</custom_options> | |
# restart all OpenVPN service | |
echo "<?php include('openvpn.inc'); openvpn_resync_all();?>" | php -q |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment