summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/cli
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2018-04-05 18:54:47 +0200
committerRuben Pollan <meskio@sindominio.net>2018-04-11 16:40:40 +0200
commit513a1c153c7d4a3a0b787a1cb83816c905d191d4 (patch)
treec44464fe33c89feb7caa4d6f6cb38da1a6a759c3 /src/leap/bitmask/cli
parent22c9d163530a2b2aa0cb1c576b2c7e42d088e8bf (diff)
[feat] add fw_reload to bitmaskctl
Some systems remove firewall rules, is usefull to be able to script the reload of those rules in hooks or other custom systems. - Resolves: #9289
Diffstat (limited to 'src/leap/bitmask/cli')
-rw-r--r--src/leap/bitmask/cli/vpn.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leap/bitmask/cli/vpn.py b/src/leap/bitmask/cli/vpn.py
index 6917b15d..e1da2823 100644
--- a/src/leap/bitmask/cli/vpn.py
+++ b/src/leap/bitmask/cli/vpn.py
@@ -43,10 +43,11 @@ SUBCOMMANDS:
get_cert Get VPN Certificate from provider
install Install helpers (needs root)
uninstall Uninstall helpers (needs root)
+ fw_reload Reload firewall rules
'''.format(name=command.appname)
- commands = ['stop', 'install', 'uninstall',
+ commands = ['stop', 'install', 'uninstall', 'fw_reload',
'enable', 'disable', 'locations', 'countries']
def start(self, raw_args):