Does anyone know how to enable the split tunnel feature in the Eddie client on macOS? I’ve heard that newer Macs don’t support this feature. Are there any other workarounds I can use?

I have a media server set up on my MacBook Pro m1. I’m trying to figure out a way to only use the split tunnel feature for Qbittorrent through the Eddie client or OpenVPN/WireGuard. Any suggestions would be greatly appreciated.

  • land@lemmy.mlOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    6 days ago

    The Docker version you’re using supports VPN? I used VPN+QBit Docker on my old Unraid server. You just put the VPN configuration file in the /config folder, and it worked seamlessly without disrupting any other services.

    I have seen some people mention using a vm as an alternative. I’m not familiar with how it would work.

    I have also tried using OpenVPN and WireGuard with AirVPN; however, Mac versions do not have the split tunnel feature at all.

    • renard_roux@beehaw.org
      link
      fedilink
      English
      arrow-up
      2
      ·
      5 days ago

      Gluetun is running in a container in the same stack as Qbit, and Qbit knows to get its network through Gluetun.

      network mode > service > gluetun or something similar (syntax is def. wrong) in the Compose.

      Gluetun is connected to AirVPN through / with / using (?) WireGuard. I’m actually a bit foggy on the terminology 😅

      • land@lemmy.mlOP
        link
        fedilink
        English
        arrow-up
        1
        ·
        5 days ago

        /config is just a folder where you put vpn config files. Would you mind sharing your docker compose file.

        • renard_roux@beehaw.org
          link
          fedilink
          English
          arrow-up
          1
          ·
          4 days ago
          ### GLUETUN
          
          services:
            gluetun:
              image: qmcgaw/gluetun
              container_name: gluetun
              cap_add:
                - NET_ADMIN
              devices:
                - /dev/net/tun:/dev/net/tun
              ports:
                - 8888:8888/tcp # HTTP proxy
                # - 8388:8388/tcp # Shadowsocks
                # - 8388:8388/udp # Shadowsocks
                - 8090:8090/tcp # qbittorrent
                - xxxx:xxxx/tcp
                - 3423:3000/tcp # librewolf
              volumes:
                - /volumex/docker/gluetun:/gluetun
              environment:
                - PUID=xxxx #CHANGE_TO_YOUR_UID
                - PGID=xxxx #CHANGE_TO_YOUR_GID
                - TZ=Europe/xxxx #CHANGE_TO_YOUR_TZ
                - VPN_SERVICE_PROVIDER=airvpn
                - VPN_TYPE=wireguard
                - WIREGUARD_PRIVATE_KEY=xxxx
                - WIREGUARD_PRESHARED_KEY=xxxx
                - WIREGUARD_ADDRESSES=xxx.xxx.xxx.xxx
                - SERVER_REGIONS=Europe
                - HTTPPROXY=off #change to on if you wish to enable
                - SHADOWSOCKS=off #change to on if you wish to enable
                - FIREWALL_OUTBOUND_SUBNETS=172.20.0.0/16,192.168.0.0/24 #change this in line with your subnet see note on guide.
                - FIREWALL_VPN_INPUT_PORTS=xxxx #uncomment this line and change the port as per the note on the guide
                - UPDATER_PERIOD=24h
              network_mode: bridge-xxxx
              labels:
                - com.centurylinklabs.watchtower.enable=false
              security_opt:
                - no-new-privileges:true
              restart: always
          
          
          ### QBITTORRENT
          
            qbittorrent:
              image: linuxserver/qbittorrent:5.0.1
              container_name: qbittorrent
              environment:
                - PUID=xxxx #CHANGE_TO_YOUR_UID
                - PGID=xxxx #CHANGE_TO_YOUR_GID
                - TZ=Europe/xxxx #CHANGE_TO_YOUR_TZ
                - WEBUI_PORT=8090
                - UMASK=022
              volumes:
                - /volumex/docker/qbittorrent:/config
          
                - /volumex/linux-isos/:/data
              network_mode: service:gluetun # run on the vpn network
              depends_on:
                gluetun:
                  condition: service_healthy
              security_opt:
                - no-new-privileges:true
              restart: always
          
          ### LIBREWOLF
          
            librewolf:
              container_name: LibreWolf
              image: ghcr.io/linuxserver/librewolf:latest
              security_opt:
                - no-new-privileges:false
                - seccomp:unconfined
              #healthcheck:
               # test: timeout 10s bash -c ':> /dev/tcp/127.0.0.1/3000' || exit 1
                #interval: 10s
                #timeout: 5s
                #retries: 3
                #start_period: 90s
              environment:
                CUSTOM_USER: xxxx
                PASSWORD: xxxx
                TZ: Europe/xxxx
                PUID: xxxx #CHANGE_TO_YOUR_UID
                PGID: xxxx #CHANGE_TO_YOUR_GID
              volumes:
                - /volumex/docker/librewolf:/config:rw
              network_mode: service:gluetun # run on the vpn network
              restart: no 
              depends_on:
                gluetun:
                  condition: service_healthy
              shm_size: "5gb"