To test if_awg.ko:
```
if=$(ifconfig awg create inet 192.168.1.1/24 up)
ifconfig $if
awg0: flags=10080c1<UP,RUNNING,NOARP,MULTICAST,LOWER_UP> metric 0 mtu 1420
options=80000<LINKSTATE>
inet 192.168.1.1 netmask 0xffffff00
groups: awg
nd6 options=109<PERFORMNUD,IFDISABLED,NO_DAD>
awg set $if jc 7 jmin 150 jmax 1000 s1 117 s2 321 h1 2008066467 h2 2351746464 h3 3053333659 h4 1789444460
awg set $if listen-port 12345 private-key <(awg genkey) peer $(awg genkey | awg pubkey) allowed-ips 192.168.1.2/32
awg show $if
interface: awg0
public key: yyAHM...
private key: (hidden)
listening port: 12345
jc: 7
jmin: 150
jmax: 1000
s1: 117
s2: 321
h1: 2008066467
h2: 2351746464
h3: 3053333659
h4: 1789444460
peer: bdfTF..
allowed ips: 192.168.1.2/32
```
to test with awg-quck tool:
```
# cd /usr/local/etc/amnezia/amneziawg/
# cat > awg0.conf << EOF
[Interface]
PrivateKey = $(awg genkey)
ListenPort = 12345
Address = 192.168.1.1/24
Description = Test AmneziaWG
Jc = 7
Jmin = 150
Jmax = 1000
S1 = 117
S2 = 321
H1 = 2008066467
H2 = 2351746464
H3 = 3053333659
H4 = 1789444460
[Peer]
PublicKey = $(awg genkey | awg pubkey)
AllowedIPs = 192.168.1.2/32
EOF
awg-quick up awg0
[#] ifconfig awg create name awg0 description Test AmneziaWG
[#] awg setconf awg0 /dev/stdin
[#] ifconfig awg0 inet 192.168.1.1/24 alias
[#] ifconfig awg0 mtu 1420
[#] ifconfig awg0 up
[#] route -q -n add -inet 192.168.1.2/32 -interface awg0
[+] Backgrounding route monitor
awg show
interface: awg0
public key: CI...
private key: (hidden)
listening port: 12345
jc: 7
jmin: 150
jmax: 1000
s1: 117
s2: 321
h1: 2008066467
h2: 2351746464
h3: 3053333659
h4: 1789444460
peer: kue...
allowed ips: 192.168.1.2/32
```