Hi all, hope you’re doing well,

I do a lot of work in various VMs and pass through USB devices to move data around

I would like to be able to instead use localsend and other LAN stuff like SMB/moonlight

What is the best way for me to do this? I thought about doing a wireguard tunnel to the host but figured I’d ask in case there’s a better way

Thanks in advance

  • ChonkaLoo@lemmy.zip
    link
    fedilink
    English
    arrow-up
    4
    ·
    3 months ago

    You need to bridge your network adapter so you are on the same network subnet. When you bridge the VM appears on the same network. The default is NAT which by default is a different subnet. Like you, the host are on 192.168.1.0/24 and the VM, the guest is on 192.168.122.0/24. Unless you have two network adapters(if so you could let the VM have it) unlike most people bridged is what you’re looking for. VPN tunnel is usually when you are remote of your VM so unnecessary IMO.