IARP

unRAID Redirect container network through another container (VPN tunneling)

Yep! it’s easy,

  1. Setup a VPN container running (you can use any) & for this example, let’s call this container ‘vpn’
  2. If you want to route the traffic of containerA through the vpn container, then remove the ports exposed on containerA
  3. Expose the ports required for containerA on your vpn container.
  4. Edit containerA > advanced view > extra parameters: –net=container:vpn (where vpn = your VPN container name)
  5. Apply, now containerA traffic should route through the vpn container.

If you’re on on 6.8.0-RC1 or any subsequent releases, the above step 4 won’t work, to get around that, do the following (my preferred method & also works on previous releases)

/u/SabreWolF9 comment

Display live hard drive usage

iotop -oa

Hard Drive Usage by speed

bwm-ng -T avg -R 1 -i disk -c 1 -I sda,sdb,sdc,sdd,sde,sdf,sdg -H
# Add "-o html" for html output

Find open files by drive

lsof /dev/md*

Mount and sync another system

mkdir /mnt/other_documents
mount -t cifs -o user=username,password=password,iocharset=utf8 //192.168.0.2/documents /mnt/other_documents
rsync -avPX /mnt/user/documents/ /mnt/other_documents/

Do not forget ending slashes on directories to transfer the contents of source into the destination.

Leaving off trailing slashes causes the source folder itself to sync into the destination path.

a - equals rlptgoD below:

r - recursive             recurse into directories
l - links                 copy symlinks as symlinks
p - perms                 preserve permissions
t - times                 preserve modification times
g - group                 preserve group
o - owner                 preserve owner (super-user only)
D -                       same as --devices --specials
    --devices               preserve device files (super-user only)
    --specials              preserve special files

v - verbose               increase verbosity

P -                         same as --partial --progress
    --progress              show progress during transfer
    --partial               keep partially transferred files
    
X - xattrs                preserve extended attributes