Jump to content
XPEnology Community

jkd

Member
  • Posts

    139
  • Joined

  • Last visited

Posts posted by jkd

  1. Bonsoir,

     

    le problème de tabulation que je rencontre avec gateone ne se produit pas avec IE, jusqu'à présent mes tests étaient fait avec firefox.

     

    Je n'arrive toujours pas à régler mon problème avec l'URL https://photo.mondomaine

     

    Comment cela se fait que les modifications faites directement dans le fichier de configuration haproxy n'apparaissent pas dans l'interface haproxy ?

  2. Hello,

     

    voila un topo.

    1) ce qui fonctionne:

    https://dsm.mondomaine (j'arrive bien sur l'interface web)

     

    2) ne fonctionne pas

    https://photo.mondomaine (Une réecriture en http et redirection de port sur le 5000, bloqué au boulot)

    https://ssh.mondomaine (SSLError: [sSL: HTTP_REQUEST] http request (_ssl.c:590))

    https://file.mondomaine (j'arrive au certificat que je valide, puis erreur 503)

     

    Mes résolutions sont portées par ChangeIP

     

    3) Configurations

    box

    PAT 443 => 5443

    NAS

    - Panneau de configuration -> Réseau -> Paramètres DSM

    HTTP : 5000

    HTTPS : 5001

    La connexion https n'est pas activé

     

    - haproxy.cfg

    global

    user haproxy

    daemon

    maxconn 256

    log localhost user info

    spread-checks 10

    tune.ssl.default-dh-param 2048

     

    defaults

    mode http

    stats enable

    default-server inter 30s fastinter 5s

    log global

    option httplog

    timeout connect 5s

    timeout client 50s

    timeout server 50s

    timeout tunnel 1h

     

    listen stats :8280

    stats uri /

    stats show-legends

    stats refresh 10s

    stats realm Haproxy\ Statistics

    stats auth admin:XXXXXXXXXXXXXXXX

     

    frontend http

    bind :5080

    option http-server-close

    option forwardfor

    default_backend web

     

    frontend https

    bind :5443 ssl crt /usr/local/haproxy/var/crt/default.pem ciphers AESGCM+AES128:AES128:AESGCM+AES256:AES256:RSA+RC4+SHA:!RSA+AES:!CAMELLIA:!aECDH:!3DES:!DSS:!PSK:!SRP:!aNULL no-sslv3

    option http-server-close

    option forwardfor

    rspirep ^Location:\ https://(.*)$ Location:\ https://\1

    rspadd Strict-Transport-Security:\ max-age=31536000;\ includeSubDomains

    use_backend web if { hdr_beg(Host) -i photo. }

    use_backend dsm if { hdr_beg(Host) -i dsm. }

    use_backend sabnzbd if { hdr_beg(Host) -i sabnzbd. }

    use_backend nzbget if { hdr_beg(Host) -i nzbget. }

    use_backend sickbeard if { hdr_beg(Host) -i sickbeard. }

    use_backend couchpotatoserver if { hdr_beg(Host) -i couchpotatoserver. }

    use_backend headphones if { hdr_beg(Host) -i headphones. }

    use_backend maraschino if { hdr_beg(Host) -i maraschino. }

    use_backend znc if { hdr_beg(Host) -i znc. }

    use_backend transmission if { hdr_beg(Host) -i transmission. }

    use_backend gateone if { hdr_beg(Host) -i ssh. }

    use_backend webdav if { hdr_beg(Host) -i webdav. }

    use_backend audio if { hdr_beg(Host) -i audio. }

    use_backend download if { hdr_beg(Host) -i download. }

    use_backend surveillance if { hdr_beg(Host) -i surveillance. }

    use_backend video if { hdr_beg(Host) -i video. }

    use_backend file if { hdr_beg(Host) -i file. }

    use_backend haproxy if { hdr_beg(Host) -i haproxy. }

    use_backend deluge if { hdr_beg(Host) -i deluge. }

    default_backend web

     

    backend web

    server web localhost:80 check

     

    backend dsm

    server dsm localhost:5000 check

     

    backend sabnzbd

    server sabnzbd localhost:8080 check

     

    backend nzbget

    server nzbget localhost:6789 check

     

    backend sickbeard

    server sickbeard localhost:8081 check

     

    backend couchpotatoserver

    server couchpotatoserver localhost:5050 check

     

    backend headphones

    server headphones localhost:8181 check

     

    backend maraschino

    server maraschino localhost:8260 check

     

    backend znc

    server znc localhost:8250 check

     

    backend transmission

    server transmission localhost:9091 check

     

    backend gateone

    server gateone localhost:8271 check verify none

     

    backend webdav

    server webdav localhost:5005 check

     

    backend audio

    server audio localhost:8800 check

     

    backend download

    server download localhost:8000 check

     

    backend surveillance

    server surveillance localhost:9900 check

     

    backend video

    server video localhost:9007 check

     

    backend file

    server file localhost:7000 check

     

    backend haproxy

    server haproxy localhost:8280 check

     

    backend deluge

    server deluge localhost:8112 check

  3. Hello,

     

    voila un topo.

    1) ce qui fonctionne:

    https://dsm.mondomaine (j'arrive bien sur l'interface web)

     

    2) ne fonctionne pas

    https://photo.mondomaine (Une réecriture en http et redirection de port sur le 5000, bloqué au boulot)

    https://ssh.mondomaine (SSLError: [sSL: HTTP_REQUEST] http request (_ssl.c:590))

    https://file.mondomaine (j'arrive au certificat que je valide, puis erreur 503)

     

    Mes résolutions sont portées par changeip

     

    3) Configurations

    box

    PAT 443 => 5443

    NAS

    - Panneau de configuration -> Réseau -> Paramètres DSM

    HTTP : 5000

    HTTPS : 5001

    La connexion https n'est pas activé

     

    - haproxy.cfg

    global

    user haproxy

    daemon

    maxconn 256

    log localhost user info

    spread-checks 10

    tune.ssl.default-dh-param 2048

     

    defaults

    mode http

    stats enable

    default-server inter 30s fastinter 5s

    log global

    option httplog

    timeout connect 5s

    timeout client 50s

    timeout server 50s

    timeout tunnel 1h

     

    listen stats :8280

    stats uri /

    stats show-legends

    stats refresh 10s

    stats realm Haproxy\ Statistics

    stats auth admin:XXXXXXXXXXXXXXXX

     

    frontend http

    bind :5080

    option http-server-close

    option forwardfor

    default_backend web

     

    frontend https

    bind :5443 ssl crt /usr/local/haproxy/var/crt/default.pem ciphers AESGCM+AES128:AES128:AESGCM+AES256:AES256:RSA+RC4+SHA:!RSA+AES:!CAMELLIA:!aECDH:!3DES:!DSS:!PSK:!SRP:!aNULL no-sslv3

    option http-server-close

    option forwardfor

    rspirep ^Location:\ https://(.*)$ Location:\ https://\1

    rspadd Strict-Transport-Security:\ max-age=31536000;\ includeSubDomains

    use_backend web if { hdr_beg(Host) -i photo. }

    use_backend dsm if { hdr_beg(Host) -i dsm. }

    use_backend sabnzbd if { hdr_beg(Host) -i sabnzbd. }

    use_backend nzbget if { hdr_beg(Host) -i nzbget. }

    use_backend sickbeard if { hdr_beg(Host) -i sickbeard. }

    use_backend couchpotatoserver if { hdr_beg(Host) -i couchpotatoserver. }

    use_backend headphones if { hdr_beg(Host) -i headphones. }

    use_backend maraschino if { hdr_beg(Host) -i maraschino. }

    use_backend znc if { hdr_beg(Host) -i znc. }

    use_backend transmission if { hdr_beg(Host) -i transmission. }

    use_backend gateone if { hdr_beg(Host) -i ssh. }

    use_backend webdav if { hdr_beg(Host) -i webdav. }

    use_backend audio if { hdr_beg(Host) -i audio. }

    use_backend download if { hdr_beg(Host) -i download. }

    use_backend surveillance if { hdr_beg(Host) -i surveillance. }

    use_backend video if { hdr_beg(Host) -i video. }

    use_backend file if { hdr_beg(Host) -i file. }

    use_backend haproxy if { hdr_beg(Host) -i haproxy. }

    use_backend deluge if { hdr_beg(Host) -i deluge. }

    default_backend web

     

    backend web

    server web localhost:80 check

     

    backend dsm

    server dsm localhost:5000 check

     

    backend sabnzbd

    server sabnzbd localhost:8080 check

     

    backend nzbget

    server nzbget localhost:6789 check

     

    backend sickbeard

    server sickbeard localhost:8081 check

     

    backend couchpotatoserver

    server couchpotatoserver localhost:5050 check

     

    backend headphones

    server headphones localhost:8181 check

     

    backend maraschino

    server maraschino localhost:8260 check

     

    backend znc

    server znc localhost:8250 check

     

    backend transmission

    server transmission localhost:9091 check

     

    backend gateone

    server gateone localhost:8271 check verify none

     

    backend webdav

    server webdav localhost:5005 check

     

    backend audio

    server audio localhost:8800 check

     

    backend download

    server download localhost:8000 check

     

    backend surveillance

    server surveillance localhost:9900 check

     

    backend video

    server video localhost:9007 check

     

    backend file

    server file localhost:7000 check

     

    backend haproxy

    server haproxy localhost:8280 check

     

    backend deluge

    server deluge localhost:8112 check

  4. Salut,

     

    j'ai installé gateone, par contre je n'arrive pas à l'utiliser avec HAProxy.

     

    La seule URL que j'ai réussi à faire fonctionner avec HAProxy c'est https://dsm.mondomaine, j'y accède très bien depuis mon boulot.

    Les URL https:/photo.mondomaine et https://gateone.mondomaine ne fonctionne pas.

     

    Pour https:/photo.mondomaine j'ai une réécriture qui se fait en https:/photo.mondomaine:5000 !!??

    et pour https://gateone.mondomaine j'ai un code retour 503 alors que le service est démarré

     

    Avez-vous une idée du problème ?

  5. Super, j'ai réussi à mettre en oeuvre HAProxy.

     

    Cela fonctionne comme je le souhaite.

     

    Cerise sur le gateau je voulais utiliser shellinabox, mais je n'ai pas réussi à l'installer, avez vous des pistes ?

  6. Salut,

     

    j'ai installé mon DD de 2To dans mon nouveau PC et une migration m'a été proposée.

     

    J'ai lancé cette migration, je n'ai perdu aucune donné.

    J'ai ensuite fait une mise à jour en update 4, tout fonctionne parfaitement.

     

    Merci.

  7. Salut,

     

    merci pour vos retours, j'aurai tendance à privilégier la solution HAproxy.

     

    je vais voir si je trouve des infos sur cette possibilité. Avez-vous des tuyaux sur la configuration à mettre en oeuvre ?

  8. Bonjour,

     

    je souhaite accéder à mon syno depuis mon boulot, le problème auquel je suis confronté c'est la réécriture de l'URL qui est bloquée par le firewall entreprise.

     

    J'accède au syno en https sur le 443 mais la réponse du syno se fait par une réecriture d'URL sur le port 5001 alors cela bloque, comment faire pour le syno me retour une URL en 443 ?

  9. Hello,

     

    j'ai installé mon nouveau PC avec DSM 5.2-5592 Update 4 avec démarrage depuis un DD ide.

    Lors de l'installation j'avais un DD sata de 40Go, donc volume1 sur ce disque.

     

    J'ai mon vieux PC en DSM 4.2-3202 avec un DD sata de 2To avec un volume1.

     

    Est-il possible de prendre mon DD de 2To pour le mettre à la place de mon 40Go sans perdre les données ?

  10. Bonjour,

     

    Je souhaite installer la version 5.2 mais je n'arrive pas booter sur clé USB avec un vieux PC.

    Comment faire pour booter sur disque dur de 80 Go IDE (à la place de la clé USB) et ensuite j'ajouterai 2 DD de 3To (pour les data) en sata si possibe ?

     

    Pourriez-vous me dire comment s'affranchir de la clé USB ?

    Et la marche à suivre pour l'installation de la version 5.2, merci.

     

    Salut,

     

    peux-tu m'envoyer le lien vers la procédure que tu as utilisée ?

  11. Bonjour,

     

    D'après moi, il te faut booter sur la clé usb, car tout disque dure connecté sera formaté pour DSM.

    Par contre, je pense qu'il doit y avoir un moyen de booter sur un CD.

     

    Z.

     

    Merci pour ta réponse, j'essayerai de booter sur un CD car la clé USB c'est impossible même avec une version bootable de windows qui fonctionne parfaitement sur un autre PC.

     

    Dans l'attente d'une réponse, j'ai installé windows 10 et virtualbox sur ce vieux PC pour installer DS3615xs 5.2-5592.2 x64, mais je n'ai pas réussi à lancer la machine virtuel cela bloque à l'install avec l'assistant perte du réseau la machine n'est plus vue.

     

    Une piste !?

  12. Bonjour,

     

    Je souhaite installer la version 5.2 mais je n'arrive pas booter sur clé USB avec un vieux PC.

    Comment faire pour booter sur disque dur de 80 Go IDE (à la place de la clé USB) et ensuite j'ajouterai 2 DD de 3To (pour les data) en sata si possibe ?

     

    Pourriez-vous me dire comment s'affranchir de la clé USB ?

    Et la marche à suivre pour l'installation de la version 5.2, merci.

  13. Bonjour,

     

    Y a quelque temps , j'ai installé XPEnology sans problème sur mon vieux DELL GX520:

    DS3612xs

    DSM 4.2-3202

     

    Je n'ai jamais osé faire de mise à jour.

     

    Là je souhaite changer de PC pour accueillir XPEnology, comment dois-je procéder pour ne pas perdre les données du disque ? Je veux mettre le disque du DELL sur ce nouveau PC.

     

    Quelle version de XPEnology prendre ?

     

    Merci pour votre aide

  14. Non tu ne peux pas faire la mise à jour ainsi.

    Il te faut mettre à jour le bootloader de ta clé pour pouvoir faire la mise à jour.

     

    Merci.

     

    Est-ce que je risque de perdre des données ?

     

    J'ai lu que la 4.3 avez des bugs, est-ce le cas ?

  15. Bonjour,

     

    puis-je mettre à jour ma version de XPEnology directement depuis le panneau de configuration - mise à jour du DSM ?

    Version actuelle DSM 4.2-3202

    Proposé: DSM 4.3-3827

     

    Est-ce que je risque de perdre des données ?

  16. Ton problème est il résolu ?

     

    Bon, j'ai refait des tests et le problème ne vient pas de mon disque externe mais de la clé USB supplémentaire (pas la clé boot syno) que je laisse plugguer après l'avoir utilisée.

    Ce qui fait qu'au reboot du NAS, le NAS cherche à booter sur cette clé.

     

    Y a t il un moyen pour forcer le boot sur telle ou telle clé USB ?

  17. Ah tient ...

    J'avais le même truc que toi, mais j'avais un disque qui était bootable, sur lequel j'avais effacé des fichiers.

     

    Après l'avoir formaté plus de soucis, mais tu l'as fait ...

     

    Et tu as quoi à l'écran ?

     

    Il faut que je prenne le temps de rebrancher l'écran :ugeek:

×
×
  • Create New...