ustclug / TunnelMonitor

monitoring iptables connection balance and switching automatically

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tunnel Monitor

Use for monitoring iptables connection balance, and switching automatically.

config file

/etc/tunnelmonitor/config.ini  # basic config
/etc/tunnelmonitor/tunnel.ini  # tunnel config

compile

cd /path/to/the/project
go build

Maybe you need use go get command to get the packge dependency.

usage

cp -r config.example /etc/tunnelmonitor
mkdir /path/to/log  #if you set 'log' parameter in config
cd /path/to/the/binary
sudo ./tunnelmonitor

About

monitoring iptables connection balance and switching automatically

License:MIT License


Languages

Language:Go 90.8%Language:Shell 7.2%Language:Dockerfile 2.0%