summaryrefslogtreecommitdiff
path: root/through-vpn.sh
diff options
context:
space:
mode:
Diffstat (limited to 'through-vpn.sh')
-rwxr-xr-xthrough-vpn.sh4
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\""