I want to intercept an application. It connects to an IP and Port. I have to connect to localhost:443 to make it work(theres 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 +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.