Skip to content

Commit

Permalink
removed rules iptables block https comunication captiveflask #37
Browse files Browse the repository at this point in the history
  • Loading branch information
mh4x0f committed May 24, 2020
1 parent 41194d6 commit 8b06498
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
8 changes: 0 additions & 8 deletions wifipumpkin3/core/servers/proxy/captiveflask.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,6 @@ def Initialize(self):
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):
Expand Down

0 comments on commit 8b06498

Please sign in to comment.