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 127.0.0.1, 192.168.x.x) listening on port 443 and redirecting it to 127.0.0.1:443. 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 127.0.0.1 to 127.0.0.1.
//short: I want the listener from the following picture (Burp) in ZAP.