1.2 KiB
1.2 KiB
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 lineslxc.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= 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 rclone`
- `rclone config` (see attached for my current config)