[packages_10.03.2] quicktun: merge r29168
[10.03/packages.git] / net / quicktun / files / quicktun.config
1 package quicktun
2
3 config quicktun sample_config
4
5         # Set to 1 to enable this instance:
6         option enabled 0
7
8         # IP address or hostname of the local end, optional
9 #       option local_address 0.0.0.0
10
11         # Local UDP port
12         option local_port 2998
13
14         # IP address or hostname of the remote end
15         # Use 0.0.0.0 for a floating/dynamic endpoint
16         option remote_address 0.0.0.0
17
18         # Remote UDP port
19         option remote_port 2998
20
21         # Allows the remote address and port to change when properly
22         # encrypted packets are received even when a remote address
23         # is set
24         option remote_float 0
25
26         # "proto raw" uses no encryption
27         # "proto nacl0" uses NaCl encryption without nonce
28         # "proto nacltai" uses NaCl encryption with nonce
29         option protocol raw
30
31         # "tun_mode 0" will create an ethernet tunnel (tap device),
32         # "tun_mode 1" will create an IP tunnel (tun device).
33         option tun_mode 0
34
35         # Set the name of the tunnel interface to use
36         option interface "tap0"
37 #       option interface "tun0"
38 #       option interface "qt0"
39
40         # The local private key and the remote public key
41         # A keypair can be generated with quicktun.keygen
42         # (nacl0 and nacltai protocols only)
43         #option private_key 0000000000000000000000000000000000000000000000000000000000000000
44         #option public_key 0000000000000000000000000000000000000000000000000000000000000000
45
46         # allowed time window for first received packet in seconds,
47         # positive number allows packets from history
48         # (nacltai protocol only)
49         #option time_window 0
50
51         # command to configure IP addresses etc. after the tunnel is up; $1 will be the interface name (optional)
52 #       option up ""
53
54         # command to execute before the tunnel is set down; $1 will be the interface name (optional)
55 #       option down ""