blob: 3d714040670423ef1eab1b9a69dfd7574299e18c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/sh
#
# Add host to through-vpn address list.
#
if [ $# -eq 0 ] ; then
echo 'First argument must be host name.'
exit 1
fi
comment=$(date +%F)
ssh riga "/ip firewall address-list add address=$1 list=through-vpn comment=\"$comment\""
|