1
0
mirror of https://github.com/Nyr/openvpn-install.git synced 2024-11-24 05:56:08 +03:00

Update openvpn-install.sh

This commit is contained in:
davift 2024-08-23 20:36:50 -04:00 committed by GitHub
parent 0756d4a74c
commit ebc99657a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -234,7 +234,7 @@ if [[ ! -e /etc/openvpn/server/server.conf ]]; then
firewall="iptables" firewall="iptables"
fi fi
fi fi
# Reviewing installation parameters # Reviewing installation parameters
echo " OpenVPN will bind at $ip on port $port/$protocol" echo " OpenVPN will bind at $ip on port $port/$protocol"
echo " The public IPv4 (hostname) is $get_public_ip ($public_ip)" echo " The public IPv4 (hostname) is $get_public_ip ($public_ip)"
if [[ -n $ip6 ]]; then if [[ -n $ip6 ]]; then
@ -242,7 +242,7 @@ if [[ ! -e /etc/openvpn/server/server.conf ]]; then
fi fi
echo " Traffic will be routed via interface $out_interface" echo " Traffic will be routed via interface $out_interface"
echo " Names will be resolved by $resolver" echo " Names will be resolved by $resolver"
echo '' echo ''
read -n1 -r -p "Press any key to continue..." read -n1 -r -p "Press any key to continue..."
# If running inside a container, disable LimitNPROC to prevent conflicts # If running inside a container, disable LimitNPROC to prevent conflicts
if systemd-detect-virt -cq; then if systemd-detect-virt -cq; then