Not sure if that title is accurate, this field is not my strong point. Basically I’m about to move homes. And in my new (temporary) home I wont have access to ethernet, plus my server doesn’t have a network card. I was therefore wondering if it was possible to bridge a connection between my laptop to my server with an ethernet cable. This would obviously be a short term solution, but I’m wondering if it’s possible and if so, how? Or is it better to buy a cheap network card?

My laptop is running NixOS and my server Unraid, if it should be to any help.

  • SpicyAnt@mander.xyz
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    8 months ago

    One way is to use iptables to forward the connection from the wireless interface through the ethernet interface. But I am not sure whether this is better than using the NetworkManager or a more specialized solution. I have used iptables for configuring WireGuard VPNs, but not for this specific use case.