Hallo zusammen,
ich versuche jetzt schon seit einer Ewigkeit den dperson/openvpn-client (https://github.com/dperson/openvpn-client) auf meiner DS918+ zum laufen zu bekommen, aber leider ohne jeglichen erfolg.
Test weise habe ich es auf einer Ubuntu Mate 18.4 ausprobiert und hier funktioniert alles einwandfrei.
Hier mein docker-composer File (DNS funktioniert anscheinend auch nicht da es nicht in die /etc/resolv.conf übernommen wird)
Im Log habe ich immer diese Meldung write UDP: Operation not permitted (code=1)
Ich bin momentan mit meinem Latein am ende, hat jemand ggf. den Container schon mal auf einer Synology zum laufen gebracht?
Falls das noch hilfreich ist, es handelt sich hierbei um einen Zugang zu perfect-privacy, in der Config habe ich auch eine auth.txt angeben wo Benutzer und Passwort übergeben werden.
Wäre für jede Hilfe Dankbar.
ich versuche jetzt schon seit einer Ewigkeit den dperson/openvpn-client (https://github.com/dperson/openvpn-client) auf meiner DS918+ zum laufen zu bekommen, aber leider ohne jeglichen erfolg.
Test weise habe ich es auf einer Ubuntu Mate 18.4 ausprobiert und hier funktioniert alles einwandfrei.
Hier mein docker-composer File (DNS funktioniert anscheinend auch nicht da es nicht in die /etc/resolv.conf übernommen wird)
PHP:
version: "3.2"
services:
vpn:
sysctls:
- net.ipv6.conf.all.disable_ipv6=0
container_name: vpn
image: dperson/openvpn-client:latest
cap_add:
- net_admin # required to modify network interfaces
restart: unless-stopped
dns:
- 8.8.8.8
- 8.8.4.4
environment:
- PUID=1026
- PGID=100
- TZ=Europe/Berlin
volumes:
- /dev/net/tun:/dev/net/tun # tun device
- /volume1/docker/.config/vpn:/vpn # OpenVPN configuration
ports:
- "8888:8888"
command: -r "192.168.1.0/24" -f ""
proxy:
container_name: proxy
image: reiz/nginx_proxy
depends_on:
- vpn
restart: unless-stopped
network_mode: service:vpn
volumes:
- /volume1/docker/.config/proxy/nginx.conf:/usr/local/nginx/conf/nginx.conf
Im Log habe ich immer diese Meldung write UDP: Operation not permitted (code=1)
PHP:
Bad argument `1151'
Try `iptables -h' or 'iptables --help' for more information.
Bad argument `1151'
Try `iptables -h' or 'iptables --help' for more information.
Bad argument `1151'
Try `iptables -h' or 'iptables --help' for more information.
Bad argument `1151'
Try `iptables -h' or 'iptables --help' for more information.
.
.
.
Mon Jul 2 17:04:38 2018 us=539902 OpenVPN 2.4.4 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Nov 9 2017
Mon Jul 2 17:04:38 2018 us=539912 library versions: LibreSSL 2.6.3, LZO 2.10
Mon Jul 2 17:04:38 2018 us=540870 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
Mon Jul 2 17:04:38 2018 us=540888 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
Mon Jul 2 17:04:38 2018 us=540908 LZO compression initializing
Mon Jul 2 17:04:38 2018 us=541023 Control Channel MTU parms [ L:1626 D:1140 EF:110 EB:0 ET:0 EL:3 ]
Mon Jul 2 17:04:38 2018 us=577189 Data Channel MTU parms [ L:1626 D:1300 EF:126 EB:407 ET:0 EL:3 ]
Mon Jul 2 17:04:38 2018 us=577218 Fragmentation MTU parms [ L:1626 D:1300 EF:125 EB:407 ET:1 EL:3 ]
Mon Jul 2 17:04:38 2018 us=577280 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1606,tun-mtu 1500,proto UDPv4,comp-lzo,mtu-dynamic,keydir 1,cipher AES-256-CBC,auth SHA512,keysize 256,tls-auth,key-method 2,tls-client'
Mon Jul 2 17:04:38 2018 us=577292 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1606,tun-mtu 1500,proto UDPv4,comp-lzo,mtu-dynamic,keydir 0,cipher AES-256-CBC,auth SHA512,keysize 256,tls-auth,key-method 2,tls-server'
Mon Jul 2 17:04:38 2018 us=577311 TCP/UDP: Preserving recently used remote address: [AF_INET]92.43.104.66:149
Mon Jul 2 17:04:38 2018 us=577335 Socket Buffers: R=[212992->212992] S=[212992->212992]
Mon Jul 2 17:04:38 2018 us=577347 UDP link local: (not bound)
Mon Jul 2 17:04:38 2018 us=577358 UDP link remote: [AF_INET]92.43.104.66:149
Mon Jul 2 17:04:38 2018 us=577458 write UDP: Operation not permitted (code=1)
Mon Jul 2 17:04:43 2018 us=210446 write UDP: Operation not permitted (code=1)
Mon Jul 2 17:04:53 2018 us=576635 write UDP: Operation not permitted (code=1)
Ich bin momentan mit meinem Latein am ende, hat jemand ggf. den Container schon mal auf einer Synology zum laufen gebracht?
Falls das noch hilfreich ist, es handelt sich hierbei um einen Zugang zu perfect-privacy, in der Config habe ich auch eine auth.txt angeben wo Benutzer und Passwort übergeben werden.
Wäre für jede Hilfe Dankbar.