mirror of
https://github.com/trailofbits/algo.git
synced 2025-07-22 13:33:01 +02:00
* Refactoring, Linting and additional tests * Vultr: Undefined variable and deprecation notes fix * Travis-CI enable linters * Azure: Update python requirements * Update main.yml * Update install.sh * Add missing roles to ansible-lint * Linting for skipped roles * add .ansible-lint config
21 lines
364 B
Bash
Executable file
21 lines
364 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -euxo pipefail
|
|
|
|
crudini --set configs/10.0.8.100/wireguard/user1.conf Interface Table off
|
|
|
|
wg-quick up configs/10.0.8.100/wireguard/user1.conf
|
|
|
|
wg
|
|
|
|
ifconfig user1
|
|
|
|
ip route add 172.16.0.1/32 dev user1
|
|
|
|
fping -t 900 -c3 -r3 -Dse 10.0.8.100 172.16.0.1
|
|
|
|
wg | grep "latest handshake"
|
|
|
|
host google.com 172.16.0.1
|
|
|
|
echo "WireGuard tests passed"
|