Routing a LXC through a OpenWRT VM

FishBoy

New Member
Dec 13, 2023
7
0
1
Hey guys,

I think I need some help. I want to route all internet bound traffic of one my LXC through a Wireguard VPN to the Internet. So I thought it would be a good idea to set up OpenWRT to handle the routing.

I installed OpenWRT, added a new virtual bridge in Proxmox (vmbr1) witha vlan tag and added both the "real" bridge (vmbr0) connecting OpenWRT to my usual network and the virtual bridge to OpenWRT. I am not sure how I can get OpenWRTto now route the traffic coming over the vmbr1 to vmbr0 now?
I tried it with Routes and Firewall NAT inside of OpenWRT and now i am not quite sure if I made a mistake on the Proxmox side?

Can someone help me out?
 

Attachments

  • 1.JPG
    1.JPG
    33.5 KB · Views: 2
  • 2.JPG
    2.JPG
    49.1 KB · Views: 2
  • 3.JPG
    3.JPG
    33.6 KB · Views: 2
  • 4.JPG
    4.JPG
    35.1 KB · Views: 2