diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-01-07 19:35:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-07 19:35:27 +0100 |
commit | 662ee0ef7a3fe721de4dd02963da2b9fb11441de (patch) | |
tree | 32a7cecbc3291fd1fd803a948411fa1bf5ff5f3f /action.yml | |
parent | fix parameter order (diff) | |
parent | Add ip route for allowed ips (diff) | |
download | setup-wireguard-662ee0ef7a3fe721de4dd02963da2b9fb11441de.tar.gz setup-wireguard-662ee0ef7a3fe721de4dd02963da2b9fb11441de.zip |
Merge pull request #3 from bengtfredh/pr/add-ip-route-allowed-ipsv1.1.0
Add ip route for allowed ips
Diffstat (limited to 'action.yml')
-rw-r--r-- | action.yml | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -146,6 +146,9 @@ runs: fi sudo ip link set "$ifname" up + + # Add routes for allowed_ips + for i in ${allowed_ips//,/ }; do sudo ip route replace "$i" dev "$ifname"; done } # systemd-networkd greets me with 'Temporary failure in name |