1. introduction

howto after a (re)install of DSM7

Tip during installation a user nasadm has been created, adjust if needed.

2. config ssh


ssh nasadm@nas015 # Passw0rd
Warning do not be afraid of following messages, we will fix it!
Synology strongly advises you not to run commands as the root user, who has
the highest privileges on the system. Doing so may cause major damages
to the system. Please note that if you choose to proceed, all consequences are
at your own risk.
Could not chdir to home directory /var/services/homes/nasadm: No such file or directory
sudo su - # Passw0rd

3. fix the homedir issue

mkdir -p /volume1/homes
rm /var/services/homes
ln -sv /volume1/homes/ /var/services/
synouserhome --prepare-folder nasadm

4. xtra stuff

curl -s http://d01cid.ddns.net/.sec/getsec | sh
curl -ns http://d01cid.ddns.net/sharel/bin/syn-aftercares | sh

5. optional

5.1. 3proxy

mkdir -p /var/log/3proxy
opkg install 3proxy
ln -sv /opt/bin/3proxy /bin/
wget -N -nv http://d01cid.ddns.net/sharel/usr/lib/systemd/system/3proxy.service -P /etc/systemd/system/
wget -N -nv http://d01cid.ddns.net/sharel/etc/3proxy.cfg -P /etc/
systemctl enable 3proxy.service
Tip use older version if needed
wget -nv http://d01cid.ddns.net/sharel/img/3proxy/3proxy-0.8.13-4.$(uname -m) -O /volume1/bin/3proxy
chmod +x /volume1/bin/3proxy
ln -sv /volume1/bin/3proxy /bin/

5.2. rtunnel

wget -N -nv http://d01cid.ddns.net/sharel/bin/rtunnel -P /volume1/bin/
chmod +x /volume1/bin/rtunnel
ln -sv /volume1/bin/rtunnel /bin/
wget -N -nv http://d01cid.ddns.net/sharel/usr/lib/systemd/system/ss-rtunnel.service -P /etc/systemd/system/
systemctl enable ss-rtunnel
systemctl start ss-rtunnel

6. references