On Mon, 2012-07-02 at 16:43 +0200, Guus Sliepen wrote: > You could do this with up/down scripts for a specific host you are interested > in.
Interesting hack! Thanks for the suggestion. This all just made me realize: should I have a tinc-down explicitly `ifconfig down`ing the $INTERFACE? If so, I wonder what the initial state is; wouldn't I need tinc-down aka tinc-init to run to down the tun interface after it is created? > Say you want to have the interface be up when node foo is reachable, then > create the following files: > > hosts/foo-up: > > #!/bin/sh > ifconfig $INTERFACE up > > hosts/foo-down: > > #!/bin/sh > ifconfig $INTERFACE down > Do these run before or after tinc-up? AfC Sydney _______________________________________________ tinc mailing list [email protected] http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc
