From 05e9dbd1e830b2ae96da503f07bbf738d6e5844d Mon Sep 17 00:00:00 2001 From: corrad1nho Date: Tue, 26 Jun 2018 15:49:07 +0200 Subject: [PATCH] typo --- qomui/qomui_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qomui/qomui_service.py b/qomui/qomui_service.py index e45b9c3..1cd8b41 100755 --- a/qomui/qomui_service.py +++ b/qomui/qomui_service.py @@ -370,7 +370,7 @@ def vpn_thread(self): provider = self.ovpn_dict["provider"] ip = self.ovpn_dict["ip"] - rule = (['-I', 'OUTPUT', '1', '-d', '%s' %ip), '-j', 'ACCEPT']) + rule = (['-I', 'OUTPUT', '1', '-d', '%s' %ip, '-j', 'ACCEPT']) self.allow_ip(ip, rule) self.logger.info("iptables: created rule for %s" %ip)