Replies: 4 comments 1 reply
-
SSH-MITM only supports 1 port for incoming connections. The default port is 10022. If you need to listen to different ports, you can create some firewall rules to redirect the incoming traffic to SSH-MITM's port 10022. You can use the transparent proxy mode, which is able to intercept all incoming traffic: https://docs.ssh-mitm.at/user_guide/transparent.html SSHMITM's transparent mode uses Linux TProxy for transparent proxy support: https://docs.kernel.org/networking/tproxy.html Cloudflare wrote an interesting article how to build a proxy server with Linux TProxy which is able to "bind to all ports": https://blog.cloudflare.com/how-we-built-spectrum/ I would recommend you to read this article because it has some information how to configure SSH-MITM for your scenario. Important: Please keep in mind that transparent mode requires scenario specific configuration. Because of this, it's hard for me to give support for SSH-MITM's transparent mode. Hint: Please ⭐ this project 😉 |
Beta Was this translation helpful? Give feedback.
-
thank you so much and i got the hint 😉 |
Beta Was this translation helpful? Give feedback.
-
If you are using transparent mode, the destination server should be set dynamic. SSH-MITM should connect to the same server as the client specified. The connection information is read from the socket. Please try the AppImage for version 3.0.2: https://github.com/ssh-mitm/ssh-mitm/releases/tag/3.0.2
If you are using the latest version from the repository, there might be an error in setting the configuration for transparent mode. I will check it. |
Beta Was this translation helpful? Give feedback.
-
I don't know how to thank you for your attentions i really appreciate using appimage server --transparent when i try to connect to it the tool keeps creating and closing sessions continuously and it's a strange behaviour in latest version |
Beta Was this translation helpful? Give feedback.
-
hi is there any way to listen to range of ports instead of only single port like 10022?
thanks in advanced
Beta Was this translation helpful? Give feedback.
All reactions