Jump to content
Not connected, Your IP: 18.222.184.40
Sign in to follow this  
PalleA

Proxmox LXC forward to other LXCs problem

Recommended Posts

Hello

I know this is not 100% related to AirVPN but I just cant figure out how to do the setup. What I want to is do a forward from one LXC container to the OpenVPN LXC container

I know that I could install OpenVPN in the Prowlarr LXC and Qbittorrent LXC but that would be usage of 2 connections out of 5.

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.129 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.1239 - 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?

Thanks

When it works, then I could write a guide for a full setup - LXC container for Container if anyone needs it.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image
Sign in to follow this  

×
×
  • Create New...