Hello
I just cannot figure out how to do this, I have been trying to do this for a few days now.
What I want to is do a forward from one LXC container to a OpenVPN LXC container with an active VPN (In this case AirVPN)
I know that I could install OpenVPN in the Prowlarr LXC and Qbittorrent LXC but that would be using 2 connections
My setup is
192.168.1.129 - OpenVPN with airVPN.conf file
192.168.1.131 - Prowlarr
192.168.1.132 - Sonarr
192.168.1.133 - Radarr
192.168.1.139 - Qbittorrent
So What I want to do is 192.168.1.131 --> Routing --> 192.168.1.129 (using VPN) and
192.168.1.139 --> routing --> 192.168.1.129 (VPN)
meaning that finding the files and downloading files is done through the VPN-connection (192.168.1.129).
I have installed OpenVPN + AirVPN.ovnf file in 192.168.1.129 - My 129.conf looks like this.
arch: amd64
cores: 1
features: nesting=1
hostname: openvpn
memory: 1024
net0: name=eth0,bridge=vmbr0,gw=192.168.1.1,hwaddr=BC:24:11:7C:1C:98,ip=192.168.1.129/24,type=veth
net1: name=eth1,bridge=vmbr0,firewall=1,hwaddr=BC:24:11:0C:BC:F5,ip=dhcp,type=veth
onboot: 1
ostype: debian
rootfs: local-lvm:vm-129-disk-0,size=2G
swap: 512
tags: community-script;os
lxc.cgroup2.devices.allow: a
lxc.cap.drop:
lxc.cgroup2.devices.allow: c 188:* rwm
lxc.cgroup2.devices.allow: c 189:* rwm
lxc.mount.entry: /dev/serial/by-id dev/serial/by-id none bind,optional,create=dir
lxc.mount.entry: /dev/ttyUSB0 dev/ttyUSB0 none bind,optional,create=file
lxc.mount.entry: /dev/ttyUSB1 dev/ttyUSB1 none bind,optional,create=file
lxc.mount.entry: /dev/ttyACM0 dev/ttyACM0 none bind,optional,create=file
lxc.mount.entry: /dev/ttyACM1 dev/ttyACM1 none bind,optional,create=file
lxc.cgroup2.devices.allow: c 10:200 rwm
lxc.mount.entry: /dev/net/tun dev/net/tun none bind,create=file
lxc.cap.drop:
lxc.apparmor.profile: unconfined
Prowlarr (192.168.1.131) 131.conf looks like this
arch: amd64
cores: 2
features: keyctl=1,nesting=1
hostname: prowlarr
memory: 1024
mp0: /mnt/pve/Plex,mp=/mnt/Plex
net0: name=eth0,bridge=vmbr0,gw=192.168.1.1,hwaddr=BC:24:11:6B:C3:21,ip=192.168.1.131/24,type=veth
net1: name=eth1,bridge=vmbr0,firewall=1,hwaddr=BC:24:11:0C:BC:F4,ip=dhcp,type=veth
onboot: 1
ostype: debian
rootfs: local-lvm:vm-131-disk-0,size=4G
swap: 512
tags: arr;community-script
unprivileged: 0
lxc.cgroup2.devices.allow: c 10:200 rwm
lxc.mount.entry: /dev/net/tun dev/net/tun none bind,create=file
lxc.cap.drop:
lxc.apparmor.profile: unconfined
but the forward to 129 just don't work.
Any ideas of what I should do to get it to work?
Thanks
When it works, then I could write a guide for a full setup - LXC container for Container if anyone needs it.
I just cannot figure out how to do this, I have been trying to do this for a few days now.
What I want to is do a forward from one LXC container to a OpenVPN LXC container with an active VPN (In this case AirVPN)
I know that I could install OpenVPN in the Prowlarr LXC and Qbittorrent LXC but that would be using 2 connections
My setup is
192.168.1.129 - OpenVPN with airVPN.conf file
192.168.1.131 - Prowlarr
192.168.1.132 - Sonarr
192.168.1.133 - Radarr
192.168.1.139 - Qbittorrent
So What I want to do is 192.168.1.131 --> Routing --> 192.168.1.129 (using VPN) and
192.168.1.139 --> routing --> 192.168.1.129 (VPN)
meaning that finding the files and downloading files is done through the VPN-connection (192.168.1.129).
I have installed OpenVPN + AirVPN.ovnf file in 192.168.1.129 - My 129.conf looks like this.
arch: amd64
cores: 1
features: nesting=1
hostname: openvpn
memory: 1024
net0: name=eth0,bridge=vmbr0,gw=192.168.1.1,hwaddr=BC:24:11:7C:1C:98,ip=192.168.1.129/24,type=veth
net1: name=eth1,bridge=vmbr0,firewall=1,hwaddr=BC:24:11:0C:BC:F5,ip=dhcp,type=veth
onboot: 1
ostype: debian
rootfs: local-lvm:vm-129-disk-0,size=2G
swap: 512
tags: community-script;os
lxc.cgroup2.devices.allow: a
lxc.cap.drop:
lxc.cgroup2.devices.allow: c 188:* rwm
lxc.cgroup2.devices.allow: c 189:* rwm
lxc.mount.entry: /dev/serial/by-id dev/serial/by-id none bind,optional,create=dir
lxc.mount.entry: /dev/ttyUSB0 dev/ttyUSB0 none bind,optional,create=file
lxc.mount.entry: /dev/ttyUSB1 dev/ttyUSB1 none bind,optional,create=file
lxc.mount.entry: /dev/ttyACM0 dev/ttyACM0 none bind,optional,create=file
lxc.mount.entry: /dev/ttyACM1 dev/ttyACM1 none bind,optional,create=file
lxc.cgroup2.devices.allow: c 10:200 rwm
lxc.mount.entry: /dev/net/tun dev/net/tun none bind,create=file
lxc.cap.drop:
lxc.apparmor.profile: unconfined
Prowlarr (192.168.1.131) 131.conf looks like this
arch: amd64
cores: 2
features: keyctl=1,nesting=1
hostname: prowlarr
memory: 1024
mp0: /mnt/pve/Plex,mp=/mnt/Plex
net0: name=eth0,bridge=vmbr0,gw=192.168.1.1,hwaddr=BC:24:11:6B:C3:21,ip=192.168.1.131/24,type=veth
net1: name=eth1,bridge=vmbr0,firewall=1,hwaddr=BC:24:11:0C:BC:F4,ip=dhcp,type=veth
onboot: 1
ostype: debian
rootfs: local-lvm:vm-131-disk-0,size=4G
swap: 512
tags: arr;community-script
unprivileged: 0
lxc.cgroup2.devices.allow: c 10:200 rwm
lxc.mount.entry: /dev/net/tun dev/net/tun none bind,create=file
lxc.cap.drop:
lxc.apparmor.profile: unconfined
but the forward to 129 just don't work.
Any ideas of what I should do to get it to work?
Thanks
When it works, then I could write a guide for a full setup - LXC container for Container if anyone needs it.