[Tuto] Installation de OpenVPN, Jackett, Prowlarr, rutorrent, Qbittorrent, Sonarr, Radarr ....

  • Auteur du sujet Auteur du sujet EVO
  • Date de début Date de début
merci, tu as l'oeil.
Le tuto est parfait franchement merci.
Question pour ma culture :D , pourquoi dans la stack avoir rutorrent + qbittorrent?
 
Je ne serait pas répondre mais ce qui ce dit c'est surtout que rutorrent accepte plus de torrent en meme temps que qbittorrent
J'utilise rutorrent car il est très répendu, et donc on trouve beaucoup d'info dessus, et très customisable (thème, script,..)
 
Hello

L'installation s'est bien déroulée, tous les conteneurs sont en vert dans portainer mais je pense que j'ai un problème avec le vpn, je n'accède à aucune interface.

Voici le log du conteneur vpn:

"+ exec sg vpn -c 'openvpn --cd /vpn --config /vpn/node-ch-03.protonvpn.net.udp.ovpn --script-security 2 --redirect-gateway def1 --route-up '\''/bin/sh -c " iptables -A OUTPUT -d 127.0.0.11 -j ACCEPT"'\'' --route-pre-down '\''/bin/sh -c " iptables -D OUTPUT -d 127.0.0.11 -j ACCEPT"'\'' --auth-user-pass /vpn/vpn.auth '
Options error: --up script fails with '/etc/openvpn/update-resolv-conf': No such file or directory (errno=2)
Options error: Please correct this error.
Use --help for more information.
The use of ROUTE or -r may no longer be needed, try it without!
The use of ROUTE or -r may no longer be needed, try it without!
Dump terminated"

Une idée? :)
 
bonjour,

tout d'abord merci pour ce tuto qui est extrêmement bien fait ! Je découvre Docker grâce à celui-ci et je m'amuse beaucoup.

Suite au plantage de mon PI 4 sur lequel je faisais tourner ces services en Systemctl, j'ai sauté le pas et je suis passé sur un mini PC dédié avec TrueNas Scale dessus. J'ai pas mal galérer à installer composer mais finalement c'est passé, j'ai l'impression que tous les services tournent bien sauf le VPN qui apparaît un unhealthy sur portainer . Je m'arrache les cheveux dessus depuis 2H et je ne comprends pas ce qui ne convient pas.

J'ai bien mis les conf de CyberGhost, désactivé l'IP V6 comme demandé par cyberghost (https://support.cyberghostvpn.com/h...39-How-to-disable-IPv6-for-Linux-via-Terminal) et modifié dans le YML la ligne suivante :
Code:
    sysctls:
     - net.ipv6.conf.all.disable_ipv6=1

le log est le suivant :
Code:
WARNING: ip6tables disabled!
Run 'sudo modprobe ip6table_filter' on your host
modprobe: can't change directory to '/lib/modules': No such file or directory
modprobe: can't change directory to '/lib/modules': No such file or directory
ip6tables v1.8.4 (legacy): can't initialize ip6tables table `nat': Table does not exist (do you need to insmod?)
Perhaps ip6tables or your kernel needs to be upgraded.
modprobe: can't change directory to '/lib/modules': No such file or directory
modprobe: can't change directory to '/lib/modules': No such file or directory
ip6tables v1.8.4 (legacy): can't initialize ip6tables table `nat': Table does not exist (do you need to insmod?)
Perhaps ip6tables or your kernel needs to be upgraded.
The use of ROUTE or -r may no longer be needed, try it without!
Dump terminated
+ exec sg vpn -c 'openvpn --cd /vpn --config /vpn/openvpn.ovpn --script-security 2 --redirect-gateway def1 --route-up '\''/bin/sh -c " iptables -A OUTPUT -d 127.0.0.11 -j ACCEPT"'\'' --route-pre-down '\''/bin/sh -c " iptables -D OUTPUT -d 127.0.0.11 -j ACCEPT"'\'' --auth-user-pass /vpn/vpn.auth                 '
Sun Feb 26 15:31:13 2023 us=455399 WARNING: file 'client.key' is group or others accessible
Sun Feb 26 15:31:13 2023 us=455759 WARNING: file '/vpn/vpn.auth' is group or others accessible
Sun Feb 26 15:31:13 2023 us=455795 Current Parameter Settings:
Sun Feb 26 15:31:13 2023 us=455804   config = '/vpn/openvpn.ovpn'
Sun Feb 26 15:31:13 2023 us=455811   mode = 0
Sun Feb 26 15:31:13 2023 us=455818   persist_config = DISABLED
Sun Feb 26 15:31:13 2023 us=455826   persist_mode = 1
Sun Feb 26 15:31:13 2023 us=455833   show_ciphers = DISABLED
Sun Feb 26 15:31:13 2023 us=455839   show_digests = DISABLED
Sun Feb 26 15:31:13 2023 us=455847   show_engines = DISABLED
Sun Feb 26 15:31:13 2023 us=455855   genkey = DISABLED
Sun Feb 26 15:31:13 2023 us=455863   key_pass_file = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=455869   show_tls_ciphers = DISABLED
Sun Feb 26 15:31:13 2023 us=455876   connect_retry_max = 0
Sun Feb 26 15:31:13 2023 us=455883 Connection profiles [0]:
Sun Feb 26 15:31:13 2023 us=455898   proto = udp
Sun Feb 26 15:31:13 2023 us=455905   local = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=455912   local_port = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=455920   remote = '87-1-fr.cg-dialup.net'
Sun Feb 26 15:31:13 2023 us=455927   remote_port = '443'
Sun Feb 26 15:31:13 2023 us=455934   remote_float = DISABLED
Sun Feb 26 15:31:13 2023 us=455940   bind_defined = DISABLED
Sun Feb 26 15:31:13 2023 us=455947   bind_local = DISABLED
Sun Feb 26 15:31:13 2023 us=455957   bind_ipv6_only = DISABLED
Sun Feb 26 15:31:13 2023 us=455963   connect_retry_seconds = 5
Sun Feb 26 15:31:13 2023 us=455970   connect_timeout = 120
Sun Feb 26 15:31:13 2023 us=455976   socks_proxy_server = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=455982   socks_proxy_port = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=455989   tun_mtu = 1500
Sun Feb 26 15:31:13 2023 us=456008   tun_mtu_defined = ENABLED
Sun Feb 26 15:31:13 2023 us=456015   link_mtu = 1500
Sun Feb 26 15:31:13 2023 us=456022   link_mtu_defined = DISABLED
Sun Feb 26 15:31:13 2023 us=456028   tun_mtu_extra = 0
Sun Feb 26 15:31:13 2023 us=456035   tun_mtu_extra_defined = DISABLED
Sun Feb 26 15:31:13 2023 us=456042   mtu_discover_type = -1
Sun Feb 26 15:31:13 2023 us=456049   fragment = 0
Sun Feb 26 15:31:13 2023 us=456056   mssfix = 1450
Sun Feb 26 15:31:13 2023 us=456063   explicit_exit_notification = 2
Sun Feb 26 15:31:13 2023 us=456069 Connection profiles END
Sun Feb 26 15:31:13 2023 us=456088   remote_random = DISABLED
Sun Feb 26 15:31:13 2023 us=456096   ipchange = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=456103   dev = 'tun'
Sun Feb 26 15:31:13 2023 us=456110   dev_type = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=456117   dev_node = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=456124   lladdr = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=456131   topology = 1
Sun Feb 26 15:31:13 2023 us=456138   ifconfig_local = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=456156   ifconfig_remote_netmask = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=456163   ifconfig_noexec = DISABLED
Sun Feb 26 15:31:13 2023 us=456170   ifconfig_nowarn = DISABLED
Sun Feb 26 15:31:13 2023 us=456177   ifconfig_ipv6_local = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=456185   ifconfig_ipv6_netbits = 0
Sun Feb 26 15:31:13 2023 us=456191   ifconfig_ipv6_remote = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=456198   shaper = 0
Sun Feb 26 15:31:13 2023 us=456230   mtu_test = 0
Sun Feb 26 15:31:13 2023 us=456238   mlock = DISABLED
Sun Feb 26 15:31:13 2023 us=456246   keepalive_ping = 0
Sun Feb 26 15:31:13 2023 us=456253   keepalive_timeout = 0
Sun Feb 26 15:31:13 2023 us=456260   inactivity_timeout = 0
Sun Feb 26 15:31:13 2023 us=456266   ping_send_timeout = 5
Sun Feb 26 15:31:13 2023 us=456274   ping_rec_timeout = 60
Sun Feb 26 15:31:13 2023 us=456282   ping_rec_timeout_action = 1
Sun Feb 26 15:31:13 2023 us=456289   ping_timer_remote = ENABLED
Sun Feb 26 15:31:13 2023 us=456296   remap_sigusr1 = 0
Sun Feb 26 15:31:13 2023 us=456303   persist_tun = ENABLED
Sun Feb 26 15:31:13 2023 us=456309   persist_local_ip = DISABLED
Sun Feb 26 15:31:13 2023 us=456316   persist_remote_ip = DISABLED
Sun Feb 26 15:31:13 2023 us=456322   persist_key = ENABLED
Sun Feb 26 15:31:13 2023 us=456330   passtos = DISABLED
Sun Feb 26 15:31:13 2023 us=456351   resolve_retry_seconds = 1000000000
Sun Feb 26 15:31:13 2023 us=456359   resolve_in_advance = DISABLED
Sun Feb 26 15:31:13 2023 us=456366   username = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=456374   groupname = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=456381   chroot_dir = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=456396   cd_dir = '/vpn'
Sun Feb 26 15:31:13 2023 us=456403   writepid = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=456410   up_script = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=456418   down_script = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=456425   down_pre = DISABLED
Sun Feb 26 15:31:13 2023 us=456431   up_restart = DISABLED
Sun Feb 26 15:31:13 2023 us=456438   up_delay = DISABLED
Sun Feb 26 15:31:13 2023 us=456453   daemon = DISABLED
Sun Feb 26 15:31:13 2023 us=456460   inetd = 0
Sun Feb 26 15:31:13 2023 us=456467   log = DISABLED
Sun Feb 26 15:31:13 2023 us=456474   suppress_timestamps = DISABLED
Sun Feb 26 15:31:13 2023 us=456481   machine_readable_output = DISABLED
Sun Feb 26 15:31:13 2023 us=456488   nice = 0
Sun Feb 26 15:31:13 2023 us=456494   verbosity = 4
Sun Feb 26 15:31:13 2023 us=456501   mute = 0
Sun Feb 26 15:31:13 2023 us=456521   gremlin = 0
Sun Feb 26 15:31:13 2023 us=456529   status_file = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=456535   status_file_version = 1
Sun Feb 26 15:31:13 2023 us=456542   status_file_update_freq = 60
Sun Feb 26 15:31:13 2023 us=456548   occ = ENABLED
Sun Feb 26 15:31:13 2023 us=456556   rcvbuf = 0
Sun Feb 26 15:31:13 2023 us=456563   sndbuf = 0
Sun Feb 26 15:31:13 2023 us=456569   mark = 0
Sun Feb 26 15:31:13 2023 us=456576   sockflags = 0
Sun Feb 26 15:31:13 2023 us=456582   fast_io = DISABLED
Sun Feb 26 15:31:13 2023 us=456592   comp.alg = 0
Sun Feb 26 15:31:13 2023 us=456598   comp.flags = 0
Sun Feb 26 15:31:13 2023 us=456606   route_script = '/bin/sh -c " iptables -A OUTPUT -d 127.0.0.11 -j ACCEPT"'
Sun Feb 26 15:31:13 2023 us=456612   route_default_gateway = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=456619   route_default_metric = 0
Sun Feb 26 15:31:13 2023 us=456626   route_noexec = DISABLED
Sun Feb 26 15:31:13 2023 us=456643   route_delay = 5
Sun Feb 26 15:31:13 2023 us=456650   route_delay_window = 30
Sun Feb 26 15:31:13 2023 us=456658   route_delay_defined = ENABLED
Sun Feb 26 15:31:13 2023 us=456665   route_nopull = DISABLED
Sun Feb 26 15:31:13 2023 us=456672   route_gateway_via_dhcp = DISABLED
Sun Feb 26 15:31:13 2023 us=456679   allow_pull_fqdn = DISABLED
Sun Feb 26 15:31:13 2023 us=456687   [redirect_default_gateway local=0]
Sun Feb 26 15:31:13 2023 us=456694   management_addr = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=456710   management_port = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=456718   management_user_pass = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=456725   management_log_history_cache = 250
Sun Feb 26 15:31:13 2023 us=456732   management_echo_buffer_size = 100
Sun Feb 26 15:31:13 2023 us=456740   management_write_peer_info_file = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=456746   management_client_user = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=456754   management_client_group = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=456762   management_flags = 0
Sun Feb 26 15:31:13 2023 us=456768   shared_secret_file = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=456775   key_direction = not set
Sun Feb 26 15:31:13 2023 us=456783   ciphername = 'AES-256-CBC'
Sun Feb 26 15:31:13 2023 us=456790   ncp_enabled = DISABLED
Sun Feb 26 15:31:13 2023 us=456796   ncp_ciphers = 'AES-256-GCM:AES-128-GCM'
Sun Feb 26 15:31:13 2023 us=456804   authname = 'SHA256'
Sun Feb 26 15:31:13 2023 us=456814   prng_hash = 'SHA1'
Sun Feb 26 15:31:13 2023 us=456821   prng_nonce_secret_len = 16
Sun Feb 26 15:31:13 2023 us=456827   keysize = 0
Sun Feb 26 15:31:13 2023 us=456834   engine = DISABLED
Sun Feb 26 15:31:13 2023 us=456840   replay = ENABLED
Sun Feb 26 15:31:13 2023 us=456847   mute_replay_warnings = DISABLED
Sun Feb 26 15:31:13 2023 us=456863   replay_window = 64
Sun Feb 26 15:31:13 2023 us=456887   replay_time = 15
Sun Feb 26 15:31:13 2023 us=456901   packet_id_file = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=456908   use_iv = ENABLED
Sun Feb 26 15:31:13 2023 us=456916   test_crypto = DISABLED
Sun Feb 26 15:31:13 2023 us=456923   tls_server = DISABLED
Sun Feb 26 15:31:13 2023 us=456931   tls_client = ENABLED
Sun Feb 26 15:31:13 2023 us=456938   key_method = 2
Sun Feb 26 15:31:13 2023 us=456945   ca_file = 'ca.crt'
Sun Feb 26 15:31:13 2023 us=456952   ca_path = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=456959   dh_file = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=456965   cert_file = 'client.crt'
Sun Feb 26 15:31:13 2023 us=456974   extra_certs_file = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=456981   priv_key_file = 'client.key'
Sun Feb 26 15:31:13 2023 us=456988   pkcs12_file = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=456995   cipher_list = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=457002   cipher_list_tls13 = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=457019   tls_cert_profile = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=457026   tls_verify = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=457033   tls_export_cert = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=457039   verify_x509_type = 0
Sun Feb 26 15:31:13 2023 us=457047   verify_x509_name = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=457061   crl_file = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=457068   ns_cert_type = 0
Sun Feb 26 15:31:13 2023 us=457076   remote_cert_ku[i] = 65535
Sun Feb 26 15:31:13 2023 us=457083   remote_cert_ku[i] = 0
Sun Feb 26 15:31:13 2023 us=457089   remote_cert_ku[i] = 0
Sun Feb 26 15:31:13 2023 us=457096   remote_cert_ku[i] = 0
Sun Feb 26 15:31:13 2023 us=457102   remote_cert_ku[i] = 0
Sun Feb 26 15:31:13 2023 us=457109   remote_cert_ku[i] = 0
Sun Feb 26 15:31:13 2023 us=457124   remote_cert_ku[i] = 0
Sun Feb 26 15:31:13 2023 us=457131   remote_cert_ku[i] = 0
Sun Feb 26 15:31:13 2023 us=457138   remote_cert_ku[i] = 0
Sun Feb 26 15:31:13 2023 us=457145   remote_cert_ku[i] = 0
Sun Feb 26 15:31:13 2023 us=457161   remote_cert_ku[i] = 0
Sun Feb 26 15:31:13 2023 us=457168   remote_cert_ku[i] = 0
Sun Feb 26 15:31:13 2023 us=457175   remote_cert_ku[i] = 0
Sun Feb 26 15:31:13 2023 us=457181   remote_cert_ku[i] = 0
Sun Feb 26 15:31:13 2023 us=457188   remote_cert_ku[i] = 0
Sun Feb 26 15:31:13 2023 us=457195   remote_cert_ku[i] = 0
Sun Feb 26 15:31:13 2023 us=457202   remote_cert_eku = 'TLS Web Server Authentication'
Sun Feb 26 15:31:13 2023 us=457209   ssl_flags = 0
Sun Feb 26 15:31:13 2023 us=457226   tls_timeout = 2
Sun Feb 26 15:31:13 2023 us=457233   renegotiate_bytes = -1
Sun Feb 26 15:31:13 2023 us=457241   renegotiate_packets = 0
Sun Feb 26 15:31:13 2023 us=457249   renegotiate_seconds = 3600
Sun Feb 26 15:31:13 2023 us=457257   handshake_window = 60
Sun Feb 26 15:31:13 2023 us=457263   transition_window = 3600
Sun Feb 26 15:31:13 2023 us=457270   single_session = DISABLED
Sun Feb 26 15:31:13 2023 us=457277   push_peer_info = DISABLED
Sun Feb 26 15:31:13 2023 us=457284   tls_exit = DISABLED
Sun Feb 26 15:31:13 2023 us=457303   tls_auth_file = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=457310   tls_crypt_file = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=457334   server_network = 0.0.0.0
Sun Feb 26 15:31:13 2023 us=457348   server_netmask = 0.0.0.0
Sun Feb 26 15:31:13 2023 us=457359   server_network_ipv6 = ::
Sun Feb 26 15:31:13 2023 us=457367   server_netbits_ipv6 = 0
Sun Feb 26 15:31:13 2023 us=457386   server_bridge_ip = 0.0.0.0
Sun Feb 26 15:31:13 2023 us=457395   server_bridge_netmask = 0.0.0.0
Sun Feb 26 15:31:13 2023 us=457404   server_bridge_pool_start = 0.0.0.0
Sun Feb 26 15:31:13 2023 us=457421   server_bridge_pool_end = 0.0.0.0
Sun Feb 26 15:31:13 2023 us=457429   ifconfig_pool_defined = DISABLED
Sun Feb 26 15:31:13 2023 us=457437   ifconfig_pool_start = 0.0.0.0
Sun Feb 26 15:31:13 2023 us=457453   ifconfig_pool_end = 0.0.0.0
Sun Feb 26 15:31:13 2023 us=457461   ifconfig_pool_netmask = 0.0.0.0
Sun Feb 26 15:31:13 2023 us=457469   ifconfig_pool_persist_filename = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=457476   ifconfig_pool_persist_refresh_freq = 600
Sun Feb 26 15:31:13 2023 us=457483   ifconfig_ipv6_pool_defined = DISABLED
Sun Feb 26 15:31:13 2023 us=457493   ifconfig_ipv6_pool_base = ::
Sun Feb 26 15:31:13 2023 us=457509   ifconfig_ipv6_pool_netbits = 0
Sun Feb 26 15:31:13 2023 us=457517   n_bcast_buf = 256
Sun Feb 26 15:31:13 2023 us=457524   tcp_queue_limit = 64
Sun Feb 26 15:31:13 2023 us=457531   real_hash_size = 256
Sun Feb 26 15:31:13 2023 us=457538   virtual_hash_size = 256
Sun Feb 26 15:31:13 2023 us=457545   client_connect_script = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=457552   learn_address_script = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=457559   client_disconnect_script = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=457566   client_config_dir = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=457572   ccd_exclusive = DISABLED
Sun Feb 26 15:31:13 2023 us=457589   tmp_dir = '/tmp'
Sun Feb 26 15:31:13 2023 us=457597   push_ifconfig_defined = DISABLED
Sun Feb 26 15:31:13 2023 us=457606   push_ifconfig_local = 0.0.0.0
Sun Feb 26 15:31:13 2023 us=457615   push_ifconfig_remote_netmask = 0.0.0.0
Sun Feb 26 15:31:13 2023 us=457630   push_ifconfig_ipv6_defined = DISABLED
Sun Feb 26 15:31:13 2023 us=457641   push_ifconfig_ipv6_local = ::/0
Sun Feb 26 15:31:13 2023 us=457650   push_ifconfig_ipv6_remote = ::
Sun Feb 26 15:31:13 2023 us=457665   enable_c2c = DISABLED
Sun Feb 26 15:31:13 2023 us=457672   duplicate_cn = DISABLED
Sun Feb 26 15:31:13 2023 us=457678   cf_max = 0
Sun Feb 26 15:31:13 2023 us=457685   cf_per = 0
Sun Feb 26 15:31:13 2023 us=457692   max_clients = 1024
Sun Feb 26 15:31:13 2023 us=457699   max_routes_per_client = 256
Sun Feb 26 15:31:13 2023 us=457708   auth_user_pass_verify_script = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=457716   auth_user_pass_verify_script_via_file = DISABLED
Sun Feb 26 15:31:13 2023 us=457723   auth_token_generate = DISABLED
Sun Feb 26 15:31:13 2023 us=457732   auth_token_lifetime = 0
Sun Feb 26 15:31:13 2023 us=457739   port_share_host = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=457745   port_share_port = '[UNDEF]'
Sun Feb 26 15:31:13 2023 us=457753   client = ENABLED
Sun Feb 26 15:31:13 2023 us=457759   pull = ENABLED
Sun Feb 26 15:31:13 2023 us=457767   auth_user_pass_file = '/vpn/vpn.auth'
Sun Feb 26 15:31:13 2023 us=457777 OpenVPN 2.4.9 x86_64-alpine-linux-musl [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Apr 20 2020
Sun Feb 26 15:31:13 2023 us=457842 library versions: OpenSSL 1.1.1g  21 Apr 2020, LZO 2.10
Sun Feb 26 15:31:13 2023 us=458020 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Sun Feb 26 15:31:13 2023 us=464819 Control Channel MTU parms [ L:1621 D:1212 EF:38 EB:0 ET:0 EL:3 ]
Sun Feb 26 15:31:18 2023 us=470636 RESOLVE: Cannot resolve host address: 87-1-fr.cg-dialup.net:443 (Try again)
Sun Feb 26 15:31:18 2023 us=470712 Data Channel MTU parms [ L:1621 D:1450 EF:121 EB:406 ET:0 EL:3 ]
Sun Feb 26 15:31:18 2023 us=470927 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1569,tun-mtu 1500,proto UDPv4,cipher AES-256-CBC,auth SHA256,keysize 256,key-method 2,tls-client'
Sun Feb 26 15:31:18 2023 us=470959 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1569,tun-mtu 1500,proto UDPv4,cipher AES-256-CBC,auth SHA256,keysize 256,key-method 2,tls-server'
Sun Feb 26 15:31:23 2023 us=474574 RESOLVE: Cannot resolve host address: 87-1-fr.cg-dialup.net:443 (Try again)
Sun Feb 26 15:31:23 2023 us=474636 Could not determine IPv4/IPv6 protocol
Sun Feb 26 15:31:23 2023 us=474948 SIGUSR1[soft,init_instance] received, process restarting
Sun Feb 26 15:31:23 2023 us=474995 Restart pause, 5 second(s)
Sun Feb 26 15:31:28 2023 us=475364 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Sun Feb 26 15:31:28 2023 us=475450 Re-using SSL/TLS context
Sun Feb 26 15:31:28 2023 us=475710 Control Channel MTU parms [ L:1621 D:1212 EF:38 EB:0 ET:0 EL:3 ]
Sun Feb 26 15:31:33 2023 us=482270 RESOLVE: Cannot resolve host address: 87-1-fr.cg-dialup.net:443 (Try again)
Sun Feb 26 15:31:33 2023 us=482352 Data Channel MTU parms [ L:1621 D:1450 EF:121 EB:406 ET:0 EL:3 ]
Sun Feb 26 15:31:33 2023 us=482531 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1569,tun-mtu 1500,proto UDPv4,cipher AES-256-CBC,auth SHA256,keysize 256,key-method 2,tls-client'
Sun Feb 26 15:31:33 2023 us=482589 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1569,tun-mtu 1500,proto UDPv4,cipher AES-256-CBC,auth SHA256,keysize 256,key-method 2,tls-server'

si quelqu'un a une idée :)

Edit: je m'arrache encore les cheveux, j'ai l'impression que le docker n'arrive pas à se connecter à internet
1677507481110.png

je n'arrive pas à savoir pourquoi

merci par avance.

R3pT
 
Dernière édition:
modifié dans le YML la ligne suivante :
Salut,
Pas besoin de modifier cette ligne.

Aussi pour avoir essayé TrueNas, si tu créer des conteneur en dehors de leurs interface, alors les conteneurs n'ont pas acces a internet, il faut modifier une fichier de la config de docker pour cela, fichier qui est recharger en cas de redémarrage de la machine. C'est une des raisons qui m'a fait quitter TrueNAS. OMV est bien plus adapté a ce genre de chose.

Pour ce qui est du fichier a modifier, je ne suis plus sur, c'était dans /etc/docker/daemon.json me semble.
Si tu recherche "truenas docker not access internet" tu devrais trouver pas mal d'info sur le sujet.
 
Salut,
Pas besoin de modifier cette ligne.

Aussi pour avoir essayé TrueNas, si tu créer des conteneur en dehors de leurs interface, alors les conteneurs n'ont pas acces a internet, il faut modifier une fichier de la config de docker pour cela, fichier qui est recharger en cas de redémarrage de la machine. C'est une des raisons qui m'a fait quitter TrueNAS. OMV est bien plus adapté a ce genre de chose.

Pour ce qui est du fichier a modifier, je ne suis plus sur, c'était dans /etc/docker/daemon.json me semble.
Si tu recherche "truenas docker not access internet" tu devrais trouver pas mal d'info sur le sujet.
merci pour ton retour, j'ai passé la journée à chercher toutes les erreurs que j'avais, à 18H ca m'a saoulé :D

j'ai installé OMV6 , je vais tenter de tout refaire dessus , je te tiens au courant , merci pour ton retour.

bonne soirée
 
  • J'aime
Réactions: EVO
Hello, voilà le message que j'ai :)

"docker-compose up -d
WARN[0000] network vpn-network: network.external.name is deprecated. Please set network.name with external: true
[+] Running 1/9
⠿ Container vpn Started 0.8s
⠿ Container sonarr Starting 1.0s
⠿ Container radarr Starting 1.0s
⠿ Container prowlarr Starting 1.0s
⠿ Container qbittorrent Starting 1.0s
⠿ Container lidarr Starting 1.0s
⠿ Container jackett Starting 1.0s
⠿ Container flaresolverr Starting 1.0s
⠿ Container rutorrent Starting 1.0s
Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: can't get final child's PID from pipe: EOF: unknown"

Rien de marche du premier coup chez moi...
Message automatiquement fusionné :

ici le log du conteneur vpn:

WARNING: ip6tables disabled!
Run 'sudo modprobe ip6table_filter' on your host
modprobe: can't change directory to '/lib/modules': No such file or directory
modprobe: can't change directory to '/lib/modules': No such file or directory
ip6tables v1.8.4 (legacy): can't initialize ip6tables table `nat': Table does not exist (do you need to insmod?)
Perhaps ip6tables or your kernel needs to be upgraded.
modprobe: can't change directory to '/lib/modules': No such file or directory
modprobe: can't change directory to '/lib/modules': No such file or directory
ip6tables v1.8.4 (legacy): can't initialize ip6tables table `nat': Table does not exist (do you need to insmod?)
Perhaps ip6tables or your kernel needs to be upgraded.
The use of ROUTE or -r may no longer be needed, try it without!
Dump terminated
+ exec sg vpn -c 'openvpn --cd /vpn --config /vpn/deluge.ovpn --script-security 2 --redirect-gateway def1 --route-up '\''/bin/sh -c " iptables -A OUTPUT -d 127.0.0.11 -j ACCEPT"'\'' --route-pre-down '\''/bin/sh -c " iptables -D OUTPUT -d 127.0.0.11 -j ACCEPT"'\'' --auth-user-pass /vpn/vpn.auth '
Options error: --up script fails with '/etc/openvpn/update-resolv-conf': No such file or directory (errno=2)
Options error: Please correct this error.
Use --help for more information."
 
Salut,
Je te conseil de tout supprimer :
Code:
docker compose down
Puis nettoyer :
Code:
docker system prune

Puis re-créer, tu est bien en root ? ou avec sudo ?
 
Salut,
Pas besoin de modifier cette ligne.

Aussi pour avoir essayé TrueNas, si tu créer des conteneur en dehors de leurs interface, alors les conteneurs n'ont pas acces a internet, il faut modifier une fichier de la config de docker pour cela, fichier qui est recharger en cas de redémarrage de la machine. C'est une des raisons qui m'a fait quitter TrueNAS. OMV est bien plus adapté a ce genre de chose.

Pour ce qui est du fichier a modifier, je ne suis plus sur, c'était dans /etc/docker/daemon.json me semble.
Si tu recherche "truenas docker not access internet" tu devrais trouver pas mal d'info sur le sujet.

Bonjour,
Pour empêcher que le fichier soit régénérer lors du redémarrage, je penses que la commande chattr permettra de verrouiller le fichier et ceux même en root.
Tant que le fichier est en état de verrouillage, personne ne pourras l'éditer, bien sûre tu peux le déverrouiller mais il faudra lancer la commande.
Message automatiquement fusionné :

Hello, voilà le message que j'ai :)

"docker-compose up -d
WARN[0000] network vpn-network: network.external.name is deprecated. Please set network.name with external: true
[+] Running 1/9
⠿ Container vpn Started 0.8s
⠿ Container sonarr Starting 1.0s
⠿ Container radarr Starting 1.0s
⠿ Container prowlarr Starting 1.0s
⠿ Container qbittorrent Starting 1.0s
⠿ Container lidarr Starting 1.0s
⠿ Container jackett Starting 1.0s
⠿ Container flaresolverr Starting 1.0s
⠿ Container rutorrent Starting 1.0s
Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: can't get final child's PID from pipe: EOF: unknown"

Rien de marche du premier coup chez moi...
Message automatiquement fusionné :

ici le log du conteneur vpn:

WARNING: ip6tables disabled!
Run 'sudo modprobe ip6table_filter' on your host
modprobe: can't change directory to '/lib/modules': No such file or directory
modprobe: can't change directory to '/lib/modules': No such file or directory
ip6tables v1.8.4 (legacy): can't initialize ip6tables table `nat': Table does not exist (do you need to insmod?)
Perhaps ip6tables or your kernel needs to be upgraded.
modprobe: can't change directory to '/lib/modules': No such file or directory
modprobe: can't change directory to '/lib/modules': No such file or directory
ip6tables v1.8.4 (legacy): can't initialize ip6tables table `nat': Table does not exist (do you need to insmod?)
Perhaps ip6tables or your kernel needs to be upgraded.
The use of ROUTE or -r may no longer be needed, try it without!
Dump terminated
+ exec sg vpn -c 'openvpn --cd /vpn --config /vpn/deluge.ovpn --script-security 2 --redirect-gateway def1 --route-up '\''/bin/sh -c " iptables -A OUTPUT -d 127.0.0.11 -j ACCEPT"'\'' --route-pre-down '\''/bin/sh -c " iptables -D OUTPUT -d 127.0.0.11 -j ACCEPT"'\'' --auth-user-pass /vpn/vpn.auth '
Options error: --up script fails with '/etc/openvpn/update-resolv-conf': No such file or directory (errno=2)
Options error: Please correct this error.
Use --help for more information."

Bonjour,
En lisant la log, le volume /lib/modules semble l'origine de ton problème car il arrive donc pas à charger les modules.

Le dossier contenant les modules par exemple pour ASUSTOR
Code:
# find /volume0 -type d -name modules | grep lib 2>/dev/null
/volume0/usr/builtin/lib/modules
 
Bon j'ai relancé tout ça sur un OS+docker/portainer tout propre.
Tout s'installe correctement, tout est en vert mais j'ai le même problème au niveau du vpn. quand je le restart dans portainer j'ai toutes les interfaces de mes conteneurs qui s'affichent bien mais quand je recharge la page, il est en statut "stopped". les autres conteneur sont bien en vert et "running" (ce qui n'était pas le cas hier), les logs indiquent qu'ils sont opérationnels.
Voici le log du vpn qui pose problème:
"
WARNING: ip6tables disabled!
Run 'sudo modprobe ip6table_filter' on your host
modprobe: can't change directory to '/lib/modules': No such file or directory
modprobe: can't change directory to '/lib/modules': No such file or directory
ip6tables v1.8.4 (legacy): can't initialize ip6tables table `nat': Table does not exist (do you need to insmod?)
Perhaps ip6tables or your kernel needs to be upgraded.
modprobe: can't change directory to '/lib/modules': No such file or directory
modprobe: can't change directory to '/lib/modules': No such file or directory
ip6tables v1.8.4 (legacy): can't initialize ip6tables table `nat': Table does not exist (do you need to insmod?)
Perhaps ip6tables or your kernel needs to be upgraded.
The use of ROUTE or -r may no longer be needed, try it without!
Dump terminated
+ exec sg vpn -c 'openvpn --cd /vpn --config /vpn/node-ch-02.protonvpn.net.udp.ovpn --script-security 2 --redirect-gateway def1 --route-up '\''/bin/sh -c " iptables -A OUTPUT -d 127.0.0.11 -j ACCEPT"'\'' --route-pre-down '\''/bin/sh -c " iptables -D OUTPUT -d 127.0.0.11 -j ACCEPT"'\'' --auth-user-pass /vpn/vpn.auth '
Options error: --up script fails with '/etc/openvpn/update-resolv-conf': No such file or directory (errno=2)
Options error: Please correct this error.

Use --help for more information."

Je pense que c'est la partie que j'ai mis en gras qui pose problème, et ça le fait même sur un os tout propre donc je vois pas d'où ça vient, il me manque visiblement un repertoir et un fichier...