]> Cypherpunks.ru repositories - govpn.git/blob - doc/scripts.texi
Ability to use TUN-interfaces under GNU/Linux
[govpn.git] / doc / scripts.texi
1 @node Scripts
2 @subsection Scripts
3
4 Up- and down- scripts used as a hook executed when connection is either
5 established or lost. Following environment variables are set during
6 their execution:
7
8 @table @code
9
10 @item GOVPN_REMOTE
11 Remote peer's address. In client mode it is server's address.
12
13 @item GOVPN_IFACE
14 TUN/TAP interface name. In server mode this can be empty: that means that
15 script must output its name as the first line to stdout.
16
17 @end table