split-the-tunnel
is a daemon that runs on Linux hosts. It is designed to add domains that bypass VPN, effectively creating a split tunnel. This allows for more efficient use of network resources and can improve network performance.
- Runs as a daemon on Linux hosts
- Capable of adding domains to bypass VPN
- Creates a split tunnel for efficient network usage
To install split-the-tunnel
, you can download the latest binary from the releases page and add it to your PATH.
After installing split-the-tunnel
, you can start the daemon with the following command:
$ split-the-tunnel start
$ split-the-tunnel add --domain example.com
Run below command in a separate terminal after you launch daemon:
$ echo "add google.com" | socat - UNIX-CONNECT:/tmp/mydaemon.sock
$ echo "remove google.com" | socat - UNIX-CONNECT:/tmp/mydaemon.sock
$ echo "list" | socat - UNIX-CONNECT:/tmp/mydaemon.sock
This project requires below tools while developing:
After you installed pre-commit and the rest, simply run below command to prepare your development environment:
$ make pre-commit-setup