Steps to setup new Server on M1 MacOS

Download Ubuntu Server ARM edition

Download VMWare for M1 MacOS

Create the VM

Install the server with SSH enable

sudo apt update && sudo apt upgrade

Install docker

Generate keys
ssh-keygen -t rsa

Copy the key to the server

ssh-copy-id username@server


scp ~/.ssh/ username@server:~/.ssh/id_rsa_[client].pub
sudo cat id_rsa_[client].pub >> authorized_keys
Turn off Password Authentication
sudo nano /etc/ssh/sshd_config

Edit the following lines

PasswordAuthentication no
ChallengeResponseAuthentication no
UsePAM no

Ubuntu server

sudo systemctl restart ssh

Synology DSM 6

sudo synoservicectl --restart sshd
Install Webmin

To use SSH to route traffic

sshuttle -r username@ssh-server:custom_port 0/0

Command to mount network drive on MAC OS X

mkdir ~/mount/home
mount -t smbfs //user@server/home ~/mount/home

flush DNS record on macOS

dscacheutil -flushcache

Log In

How to Use Docker + Webtop to Secure Your Online Activities