uanytun.config (2595B)
1 config "client1" 2 option disabled 0 3 # option username 'nobody' 4 # option groupname 'nogroup' 5 # option chroot "/var/run/uanytun" 6 7 # option interface '<ip-address>' 8 # option port '4444' 9 # option sender_id '1' 10 11 option cipher 'aes-ctr' 12 # option cipher 'null' 13 # option cipher 'aes-ctr-128' 14 # option cipher 'aes-ctr-192' 15 # option cipher 'aes-ctr-256' 16 option auth_algo 'sha1' 17 # option auth_algo 'null' 18 # option auth_tag_length 10 19 20 # option dev 'anytun0' 21 option type 'tun' 22 option ifconfig '192.168.123.1/24' 23 # option post-up-script '/etc/uanytun/client1-post-up.sh' 24 25 option remote_host 'example.com' 26 option remote_port '4444' 27 28 option window_size 0 29 option mux 1 30 31 option role 'client' 32 # option kd_prf 'null' 33 # option kd_prf 'aes-ctr' 34 # option kd_prf 'aes-ctr-128' 35 # option kd_prf 'aes-ctr-192' 36 # option kd_prf 'aes-ctr-256' 37 # option ld_kdr '0' 38 # option key '0123456789ABCDEF0123456789ABCDEF' 39 # option salt '0123456789ABCD0123456789ABCD' 40 option passphrase 'Creating_VPN_Tunnels_With_Anytun_Is_Easy' 41 42 option log 'syslog:3,anytun-client1,daemon' 43 44 45 config "client2" 46 option disabled 1 47 48 option cipher 'aes-ctr' 49 option auth_algo 'sha1' 50 option type 'tun' 51 option ifconfig '192.168.123.2/24' 52 53 option remote_host 'example.com' 54 option remote_port '4444' 55 56 option window_size 0 57 option mux 2 58 option role 'client' 59 option passphrase 'Creating_VPN_Tunnels_With_Anytun_Is_Easy' 60 61 option log 'syslog:3,anytun-client2,daemon' 62 63 64 config "client3" 65 option disabled 1 66 67 option cipher 'aes-ctr' 68 option auth_algo 'sha1' 69 option type 'tun' 70 option ifconfig '192.168.123.3/24' 71 72 option remote_host 'example.com' 73 option remote_port '4444' 74 75 option window_size 0 76 option mux 3 77 option role 'client' 78 option passphrase 'Creating_VPN_Tunnels_With_Anytun_Is_Easy' 79 80 option log 'syslog:3,anytun-client3,daemon' 81 82 83 config "p2p-a" 84 option disabled 1 85 86 option cipher 'aes-ctr' 87 option auth_algo 'sha1' 88 option type 'tun' 89 option ifconfig '192.168.223.1/24' 90 91 option remote_host 'p2p-b.example.com' 92 option remote_port '4444' 93 94 option window_size 0 95 option role 'alice' 96 option passphrase 'Creating_P2P_VPN_Tunnels_With_Anytun_Is_Easy' 97 98 option log 'syslog:3,anytun-p2p-a,daemon' 99 100 101 config "p2p-b" 102 option disabled 1 103 104 option cipher 'aes-ctr' 105 option auth_algo 'sha1' 106 option type 'tun' 107 option ifconfig '192.168.223.2/24' 108 109 option remote_host 'p2p-a.example.com' 110 option remote_port '4444' 111 112 option window_size 0 113 option role 'bob' 114 option passphrase 'Creating_P2P_VPN_Tunnels_With_Anytun_Is_Easy' 115 116 option log 'syslog:3,anytun-p2p-b,daemon'