Hi
for various reasons (one being 2FA support) I want to bypass the built in OpenVPN and run it via a container. I have started with this guide which refers to this Github hosted container. Unfortunately It would not start in my environment:
I guess I can live with some of the IPv6 issues but clearly the is issue with referencing /dev/net/tun
What would be the correct interface in the Synology world ?
for various reasons (one being 2FA support) I want to bypass the built in OpenVPN and run it via a container. I have started with this guide which refers to this Github hosted container. Unfortunately It would not start in my environment:
Code:
iptables: No chain/target/match by that name.
iptables: No chain/target/match by that name.
Enabling IPv6 Forwarding
sysctl: error setting key 'net.ipv6.conf.all.disable_ipv6': Read-only file system
Failed to enable IPv6 support
sysctl: error setting key 'net.ipv6.conf.default.forwarding': Read-only file system
Failed to enable IPv6 Forwarding default
sysctl: error setting key 'net.ipv6.conf.all.forwarding': Read-only file system
Failed to enable IPv6 Forwarding
Running 'openvpn --config /etc/openvpn/openvpn.conf --client-config-dir /etc/openvpn/ccd --crl-verify /etc/openvpn/crl.pem '
Thu Sep 3 04:27:02 2020 WARNING: file '/etc/openvpn/pki/private/xx.xx.xx.xx.key' is group or others accessible
Thu Sep 3 04:27:02 2020 WARNING: file '/etc/openvpn/pki/ta.key' is group or others accessible
Thu Sep 3 04:27:02 2020 OpenVPN 2.4.9 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Apr 20 2020
Thu Sep 3 04:27:02 2020 library versions: OpenSSL 1.1.1g 21 Apr 2020, LZO 2.10
Thu Sep 3 04:27:02 2020 Diffie-Hellman initialized with 2048 bit key
Thu Sep 3 04:27:02 2020 CRL: loaded 1 CRLs from file /etc/openvpn/crl.pem
Thu Sep 3 04:27:02 2020 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Sep 3 04:27:02 2020 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Sep 3 04:27:02 2020 ROUTE_GATEWAY 172.17.0.1/255.255.0.0 IFACE=eth0 HWADDR=02:42:ac:11:00:02
Thu Sep 3 04:27:02 2020 ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such device (errno=19)
Thu Sep 3 04:27:02 2020 Exiting due to fatal error
I guess I can live with some of the IPv6 issues but clearly the is issue with referencing /dev/net/tun
What would be the correct interface in the Synology world ?