removed rules iptables block https comunication captiveflask #37

This commit is contained in:
mh4x0f 2020-05-24 14:32:25 -03:00
parent 41194d66a5
commit 8b064982f2
2 changed files with 1 additions and 8 deletions

View File

@ -24,6 +24,7 @@ All notable changes to this project will be documented in this file.
### Deprecated
### Removed
- removed rules iptables block https comunication captiveflask #37 [mh4x0f]
### Fixed
- fixed responder3 object has no attribute logger #39 [mh4x0f]

View File

@ -116,14 +116,6 @@ class CaptivePortal(ProxyMode):
iface=IFACE, ip=IP_ADDRESS, port=PORT
)
)
print(
display_messages("redirecting HTTPS traffic to captive portal", info=True)
)
self.add_default_rules(
"iptables -t nat -A PREROUTING -i {iface} -p tcp --dport 443 -j DNAT --to-destination {ip}:{port}".format(
iface=IFACE, ip=IP_ADDRESS, port=PORT
)
)
self.runDefaultRules()
def boot(self):