Hologos / traffic-splitter

Alter your routing table with ease.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Traffic splitter

traffic-splitter alters the routing table and enables you to route some traffic via a defined network interface.

Dependencies

First, make sure you have all those things installed (at least the system ones):

  • python3: to be able to parse yaml config files

Installation

This script requires PyYAML to be installed. You can install it with:

pip3 install PyYAML

Usage

# route some traffic via interface en0, the rest via interface en2
sudo traffic-splitter -r -c config.test.yml -t en0 -d en2

Disclaimer

This version of the script works only for macOS (formely OS X) and was tested only for IPv4 (support for IPv6 is planned).

About

Alter your routing table with ease.


Languages

Language:Shell 100.0%