# 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.conf` and add the following lines - `lxc.cgroup.devices.allow: c 10:200 rwm` - `lxc.mount.entry: /dev/net dev/net none bind,create=dir` ## Basic Setup - `apt update && apt upgrade -y` - `adduser ` - `usermod -aG sudo ` - Now you can SSH in ## Setup Network ### SMB Mount - `sudo apt install vim cifs-utils openvpn` - Modify `/etc/fstab` with the following line - `/// / cifs uid=,credentials=/etc/smbcreds,iocharset=utf8,vers=3.0,ro 0 0` - Create `/etc/smbcreds` - ``` username= password= domain=WORKGROUP ``` - Test with `sudo mount -a` - Reboot to test ### OpenVPN Config - Copy config to `/etc/openvpn/client/.conf` - Edit the conf file to use DNS name instead of IP - Test with `sudo openvpn /etc/openvpn/client/.conf` - If it works run `sudo systemctl start openvpn-client@` - If that works run `sudo systemctl enable openvpn-client@` - Reboot to test ## Setup rclone - `sudo apt install rclone` - `rclone config` (see attached for my current config)