Closed d3vilh closed 2 months ago
Docker-entrypoint.sh adds net.ipv4.ip_forward = 1 to the /etc/sysctl.conf every container reboot, as shown on the log below.
net.ipv4.ip_forward = 1
/etc/sysctl.conf
EasyRSA path: /usr/share/easy-rsa OVPN path: /etc/openvpn PKI already set up. Following EASYRSA variables were set during CA init: EASYRSA_DN "org" EASYRSA_REQ_COUNTRY "UA" EASYRSA_REQ_PROVINCE "KY" EASYRSA_REQ_CITY "Kyiv" EASYRSA_REQ_ORG "SweetHome" EASYRSA_REQ_EMAIL "sweet@home.net" EASYRSA_REQ_OU "MyOrganizationalUnit" EASYRSA_REQ_CN "OpenVPNServer" EASYRSA_KEY_SIZE 2048 EASYRSA_CA_EXPIRE 3650 EASYRSA_CERT_EXPIRE 825 EASYRSA_CERT_RENEW 30 EASYRSA_CRL_DAYS 180 Configuring networking rules... net.ipv4.ip_forward = 1 net.ipv4.ip_forward = 1 net.ipv4.ip_forward = 1 net.ipv4.ip_forward = 1 net.ipv4.ip_forward = 1 Configuring iptables... NAT for OpenVPN clients
fixed on server side
Docker-entrypoint.sh adds
net.ipv4.ip_forward = 1
to the/etc/sysctl.conf
every container reboot, as shown on the log below.