mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
Why: * Previously the terraform for all of the AWS infra was created and run outside of the mono repo. While this was very quick to setup and work with, keeping the gateway up to date was easy to forget about. Moving all of the AWS infra TF into the mono repo will allow everything to stay up to date and will make sure everyone has easy access to update any of the infra as needed. --------- Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
21 lines
329 B
Bash
21 lines
329 B
Bash
#!/bin/bash
|
|
|
|
set -xe
|
|
|
|
sudo apt-get update
|
|
sudo apt-get install -y iperf3
|
|
|
|
sudo tee -a /etc/systemd/system/iperf3.service << EOF
|
|
[Unit]
|
|
Description=iperf3 server
|
|
After=syslog.target network.target auditd.service
|
|
|
|
[Service]
|
|
ExecStart=/usr/bin/iperf3 -s
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
EOF
|
|
|
|
sudo systemctl enable --now iperf3
|