123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116 |
- config "client1"
- option disabled 0
- # option username 'nobody'
- # option groupname 'nogroup'
- # option chroot "/var/run/uanytun"
- # option interface '<ip-address>'
- # option port '4444'
- # option sender_id '1'
- option cipher 'aes-ctr'
- # option cipher 'null'
- # option cipher 'aes-ctr-128'
- # option cipher 'aes-ctr-192'
- # option cipher 'aes-ctr-256'
- option auth_algo 'sha1'
- # option auth_algo 'null'
- # option auth_tag_length 10
- # option dev 'anytun0'
- option type 'tun'
- option ifconfig '192.168.123.1/24'
- # option post-up-script '/etc/uanytun/client1-post-up.sh'
- option remote_host 'example.com'
- option remote_port '4444'
- option window_size 0
- option mux 1
- option role 'client'
- # option kd_prf 'null'
- # option kd_prf 'aes-ctr'
- # option kd_prf 'aes-ctr-128'
- # option kd_prf 'aes-ctr-192'
- # option kd_prf 'aes-ctr-256'
- # option ld_kdr '0'
- # option key '0123456789ABCDEF0123456789ABCDEF'
- # option salt '0123456789ABCD0123456789ABCD'
- option passphrase 'Creating_VPN_Tunnels_With_Anytun_Is_Easy'
- option log 'syslog:3,anytun-client1,daemon'
- config "client2"
- option disabled 1
- option cipher 'aes-ctr'
- option auth_algo 'sha1'
- option type 'tun'
- option ifconfig '192.168.123.2/24'
- option remote_host 'example.com'
- option remote_port '4444'
- option window_size 0
- option mux 2
- option role 'client'
- option passphrase 'Creating_VPN_Tunnels_With_Anytun_Is_Easy'
- option log 'syslog:3,anytun-client2,daemon'
- config "client3"
- option disabled 1
- option cipher 'aes-ctr'
- option auth_algo 'sha1'
- option type 'tun'
- option ifconfig '192.168.123.3/24'
- option remote_host 'example.com'
- option remote_port '4444'
- option window_size 0
- option mux 3
- option role 'client'
- option passphrase 'Creating_VPN_Tunnels_With_Anytun_Is_Easy'
- option log 'syslog:3,anytun-client3,daemon'
- config "p2p-a"
- option disabled 1
- option cipher 'aes-ctr'
- option auth_algo 'sha1'
- option type 'tun'
- option ifconfig '192.168.223.1/24'
- option remote_host 'p2p-b.example.com'
- option remote_port '4444'
- option window_size 0
- option role 'alice'
- option passphrase 'Creating_P2P_VPN_Tunnels_With_Anytun_Is_Easy'
- option log 'syslog:3,anytun-p2p-a,daemon'
- config "p2p-b"
- option disabled 1
- option cipher 'aes-ctr'
- option auth_algo 'sha1'
- option type 'tun'
- option ifconfig '192.168.223.2/24'
- option remote_host 'p2p-a.example.com'
- option remote_port '4444'
- option window_size 0
- option role 'bob'
- option passphrase 'Creating_P2P_VPN_Tunnels_With_Anytun_Is_Easy'
- option log 'syslog:3,anytun-p2p-b,daemon'
|