D
D
Def4lt2015-08-29 19:36:39
iptables
Def4lt, 2015-08-29 19:36:39

Issue with redirecting https to http ports in iptables?

How to properly configure port redirect from https to http in iptables
Tried "iptables -t nat -A PREROUTING -p tcp --destination-port 80 -j REDIRECT --to-port 8080", but I realized that something was wrong after reading that these both ports http(80,8080), then changed to "....--destination-port 443 -j REDIRECT --to-port 80" but also no result.
ps Switched to Linux recently, maybe I'm doing something wrong.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
Zzzz9, 2015-08-29
@Zzzz9

Ettercap can help with this issue, and iptables if only port 443 redirects to 80, but not https to http.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question