Hello lovely community,
i am currently working on a test setup which is supposed to have mullvad on the host and all the guests as well.
the mullvad client runs well so far.
but my test lxc wont start anymore with the following error:
Fixed by:
tho the LXC still does bypass the VPN
with kind regards
i am currently working on a test setup which is supposed to have mullvad on the host and all the guests as well.
the mullvad client runs well so far.
but my test lxc wont start anymore with the following error:
Code:
Error 500: can't open '/sys/fs/cgroup/lxc/100/memory.current' - No such file or directory)
Fixed by:
Everthing is working, lets wrap up:
In
On your Proxmox host do:
In
/etc/pve/lxc/{{ VMID }}.conf
add:
Code:
lxc.mount.entry: /dev/net dev/net none bind,create=dir
lxc.mount.entry: /tmp/net-cls-v1 tmp/net-cls-v1 none bind,create=dir
On your Proxmox host do:
Code:
script=/root/pepare-mullvad-lxc.sh
servicename=pepare-mullvad-lxc
cat > $script <<EOF
#!/usr/bin/env bash
chown 100000:100000 /dev/net/tun
mkdir -p /tmp/net-cls-v1
mount -t cgroup -o net_cls none /tmp/net-cls-v1
chown -R 100000:100000 /tmp/net-cls-v1
EOF
chmod +x $script
cat > /etc/systemd/system/$servicename.service <<EOF
[Service]
ExecStart=$script
[Install]...
tho the LXC still does bypass the VPN

with kind regards
Last edited: