Client/OpenWRT
From Bondix Wiki
Revision as of 01:09, 26 June 2021 by Red (talk | contribs) (Created page with "The client can be installed manually on nearly any OpenWRT based router following the client installation guide. Things to notice: = Configuration Location = * You...")
The client can be installed manually on nearly any OpenWRT based router following the client installation guide. Things to notice:
Configuration Location
- You should create your configuration at
/etc/config/saneclient.json
init.d Script (etc/init.d/bondix)
#!/bin/sh /etc/rc.common
START=90
STOP=15
start() {
/opt/bondix/client/saneclient --daemon --flags disableHash useMMSG bondingProxy /etc/config/saneclient.json
}
stop() {
/opt/bondix/client/bndutil shutdown
sleep 1
}
Use /etc/init.d/bondix enable to automatically start the client
UCI integration
- You should create an interface in UCI. protocol=none, interface => sane's virtual interface (tun0), firewall zone => wan
- make sure to set a custom public DNS server