Bind two network interfaces to simulate a loop back.
This program was created as an alternative to bind two L2TP network interfaces. Using brctl didn't work.
sudo make apt-deps
make build
sudo make installTo print the help for the arguments: ./ifbind --help
sudo ./ifbind --bind tunnel1:tunnel2 --bind tunnel3:tunnel4or
sudo ./ifbind --bind tunnel1:tunnel2,tunnel3:tunnel4To activate the debug level and view each time a packets is being forwarded:
use the --debug (or -d) argument.
sudo ./ifbind --debug --bind tunnel1:tunnel2To use the interactive mode use the argument --interactive (or -i).
The interactive mode allow you to connect/disconnect binded interfaces by providing a CLI.
Note that the logs are outputed in the fine ifbind.log located in pwd.
To view a list of commands, in the CLI type help.