Dit geeft de verschillen weer tussen de geselecteerde revisie en de huidige revisie van de pagina.
| Beide kanten vorige revisie Vorige revisie Volgende revisie | Vorige revisie | ||
|
nas_cdnas [2016/04/27 14:17] pvi |
— (huidige) | ||
|---|---|---|---|
| Regel 1: | Regel 1: | ||
| - | ==== Synology NAS ==== | ||
| - | ===FTP passive mode=== | ||
| - | [[http://forum.sp.parallels.com/threads/plesk-12-backup-personal-ftp-repository-error.305643/|plesk-12-backup-personal-ftp-repository-error]]\\ | ||
| - | Finally, after some tcpdumps, I found the reason why I could list files, but plesk couldn't connect. | ||
| - | |||
| - | When you see traces, plesk connects to FTP, but make some tests to check all is OK. One of this checks is to send a SYN packet to the Passive Port given by FTP in Entering Passive Mode packet. When you list files with curl, you don't test if you can reach to passive port. You enter in passive mode, but you just send the list command to port 21. You don't use passive port. | ||
| - | |||
| - | But now the tricky. It happens with some FTP servers, like mine, that are not clever: you configure default passive ports (55536-55539), but then in Entering Passive Mode packet, offers a port outside this range, normally a port like 550XX (55002, 55003, 55004,...). | ||
| - | |||
| - | So the solution was simple: set passive port range from 55000-55539 (and in my case, nat in router from 55000-55539 to my ftp server, and port 20-21, obviously). | ||
| - | |||
| - | | ||
| - | ===IP=== | ||
| - | Zie Keepass voor info | ||
| - | ===Login=== | ||
| - | via ssh, zie Keepass\\ | ||
| - | via browser https://ipadress:5001 of https://dnsnaam:5001 | ||
| - | ===Command line=== | ||
| - | [[http://forum.synology.com/wiki/index.php/Basic_commands_to_get_around_the_Synology_Box_using_the_CLI|Synolog CLI commands]]\\ | ||
| - | ===restart apache=== | ||
| - | /usr/syno/sbin/synoservicecfg ––restart httpd-user\\ | ||