Hi all, Is there any way to get a skript or some commands executed on connection(!) of a host (OS is Linux)? I'd like to set a host route on my router (my LAN server running Debian Linux) when my notebook (Debian Linux, too) connects to it. As I understood tinc-up is executed on startup of the tinc-daemon which doesn't fit for me. The hostroute is ONLY to be set if the Notebook is connected via tinc. I think of a skript for every host or maybe a "exec_on_connect-option" for use in "hosts/<hostname>". Thanks for any help in advance! Moritz -- PGP key: http://www.nachtaktiv.org/maisel.asc Tinc: Discussion list about the tinc VPN daemon Archive: http://mail.nl.linux.org/lists/ Tinc site: http://tinc.nl.linux.org/
On Thu, Jan 15, 2004 at 06:01:26PM +0100, Moritz Maisel wrote:> Is there any way to get a skript or some commands executed on > connection(!) of a host (OS is Linux)?man tinc.conf or http://tinc.nl.linux.org/documentation/tinc_4.html#SEC45 -- Met vriendelijke groet / with kind regards, Guus Sliepen <guus@sliepen.eu.org> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://brouwer.uvt.nl/pipermail/tinc/attachments/20040115/8f16a95a/attachment.pgp
OOps, sorry for my "blindness" and thanks very much! Guus Sliepen wrote:> On Thu, Jan 15, 2004 at 06:01:26PM +0100, Moritz Maisel wrote: > > >>Is there any way to get a skript or some commands executed on >>connection(!) of a host (OS is Linux)? > > > man tinc.conf or http://tinc.nl.linux.org/documentation/tinc_4.html#SEC45 >-- PGP key: http://www.nachtaktiv.org/maisel.asc Tinc: Discussion list about the tinc VPN daemon Archive: http://mail.nl.linux.org/lists/ Tinc site: http://tinc.nl.linux.org/