Setup RClone on Proxmox
Create CT
- Create the CT
- Using Ubuntu
- Small HDD space, just mounting
- 2 CPUs
- 1024 MB of memory
- Edit
/etc/pve/nodes/proxmox/lxc<id>.confand add the following lines lxc.cgroup.devices.allow: c 10:200 rwmlxc.mount.entry: /dev/net dev/net none bind,create=dir
Basic Setup
apt update && apt upgrade -yadduser <name>usermod -aG sudo <name>- Now you can SSH in
Setup Network
SMB Mount
sudo apt install vim cifs-utils openvpn- Modify
/etc/fstabwith the following line //<ip>/<path> /<localpath> cifs uid=<name>,credentials=/etc/smbcreds,iocharset=utf8,vers=3.0,ro 0 0- Create
/etc/smbcreds username=<user> password=<password> domain=WORKGROUP- Test with
sudo mount -a - Reboot to test
OpenVPN Config
- Copy config to
/etc/openvpn/client/<name>.conf - Edit the conf file to use DNS name instead of IP
- Test with
sudo openvpn /etc/openvpn/client/<name>.conf - If it works run
sudo systemctl start openvpn-client@<name> - If that works run
sudo systemctl enable openvpn-client@<name> - Reboot to test
Setup rclone
sudo apt install rclonerclone config(see attached for my current config)