diff options
| author | Anton Bobov <anton@bobov.name> | 2023-08-05 23:48:19 +0500 |
|---|---|---|
| committer | Anton Bobov <anton@bobov.name> | 2023-08-05 23:48:19 +0500 |
| commit | 7fb714fadb768401b251a7584d76f216acf5943a (patch) | |
| tree | d1f85b5d5e74ac1c45ec4b956e8e851ce9469d6f /through-vpn.sh | |
| parent | b25a5b794be7093dbcd556fcab2ebc50bb33e8b2 (diff) | |
Update scripts
Diffstat (limited to 'through-vpn.sh')
| -rwxr-xr-x | through-vpn.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/through-vpn.sh b/through-vpn.sh index 7e9e1ee..3d71404 100755 --- a/through-vpn.sh +++ b/through-vpn.sh @@ -8,4 +8,6 @@ if [ $# -eq 0 ] ; then exit 1 fi -ssh riga "/ip firewall address-list add address=$1 list=through-vpn" +comment=$(date +%F) + +ssh riga "/ip firewall address-list add address=$1 list=through-vpn comment=\"$comment\"" |
