3 config quicktun sample_config
5 # Set to 1 to enable this instance:
8 # IP address or hostname of the local end, optional
9 # option local_address 0.0.0.0
12 option local_port 2998
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
19 option remote_port 2998
21 # Allows the remote address and port to change when properly
22 # encrypted packets are received even when a remote address
26 # "proto raw" uses no encryption
27 # "proto nacl0" uses NaCl encryption without nonce
28 # "proto nacltai" uses NaCl encryption with nonce
31 # "tun_mode 0" will create an ethernet tunnel (tap device),
32 # "tun_mode 1" will create an IP tunnel (tun device).
35 # Set the name of the tunnel interface to use
36 option interface "tap0"
37 # option interface "tun0"
38 # option interface "qt0"
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
46 # allowed time window for first received packet in seconds,
47 # positive number allows packets from history
48 # (nacltai protocol only)
51 # command to configure IP addresses etc. after the tunnel is up; $1 will be the interface name (optional)
54 # command to execute before the tunnel is set down; $1 will be the interface name (optional)