Created
May 2, 2025 12:18
-
-
Save orion55/4e8f68859afe07add2a3c78b21e5e370 to your computer and use it in GitHub Desktop.
Revisions
-
orion55 created this gist
May 2, 2025 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ 1. cd /usr/local/etc/rc.d ln -s openvpn openvpn_voip 2. /etc/rc.conf openvpn_enable="YES" openvpn_configfile="/usr/local/etc/openvpn/openvpn.conf" openvpn_voip_enable="YES" openvpn_voip_configfile="/usr/local/etc/openvpn/gw.conf" 3.service openvpn restart service openvpn_voip start ifconfig tun0 # сервер ifconfig tun1 # клиент