mirror of
https://github.com/Cronocide/wifipumpkin3.git
synced 2025-01-22 19:37:18 +00:00
removed rules iptables block https comunication captiveflask #37
This commit is contained in:
parent
41194d66a5
commit
8b064982f2
@ -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]
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user