I want to intercept an application. It connects to an IP and port. I have to connect to localhost:443 to make it work (there's a gateway that routes depending on the port).

In Burp I was able to set an invisible proxy on the local interface (not, 192.168.x.x) listening on port 443 and redirecting it to Interception worked. Since Burp does not support Websocket testing I want to use OWASP ZAP, because it has a native support for Websockets and fuzzing and stuff.

Is there a way in OWASP ZAP to redirect the traffic the same way like I did in Burp? Edits in the hostfile won't work since I can't map to

//short: I want the listener from the following picture (Burp) in ZAP.

Image of Burp redirection

2 Answers 2


in the menu bar go to Tools -> Options -> local Proxies

This blog post contains some infomration on how to intercept traffic with OWASP ZAP


On linux you can redirect traffic to ZAP using IP tables, eg:

iptables -t nat -A OUTPUT -p tcp --dport 443 -j DNAT --to-destination 
iptables -t nat -A OUTPUT -p tcp --dport 80 -j DNAT --to-destination

For more details see https://github.com/zaproxy/zap-extensions/wiki/HelpAddonsSniTerminatorSniTerminator

  • Unfortunately I'm limited to Windows but thank you for your reply.
    – Johannes
    Mar 5, 2019 at 18:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .