Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance increase with socks on server #50

Closed
printfuck opened this issue Jun 26, 2021 · 2 comments
Closed

Performance increase with socks on server #50

printfuck opened this issue Jun 26, 2021 · 2 comments

Comments

@printfuck
Copy link

printfuck commented Jun 26, 2021

Hello there,

I recently have setup iodine similarly to situation 1 from the description in the readme. The performance was not the best but worked out for most of my needs - as always. I usually use a SSH Tunnel from iodine-client to iodine-server with the -D socks tunnel option, but this time I changed it up a bit.

I also have a VPN-client from nordvpn with sockd running on the server. So I passed -L7777:[sockd_Listening_IP]:port instead of -D7777 to the ssh command - just forwarding the traffic to the remote sockd on the server side instead of using the builtin socks proxy. The speed difference is truly amazing. I tested it at 30-40 MBit/s up- and download speed.

I verified it several times and the speed seemed to be limited only by the connection speed of my VPN provider. The documentation on the project site states, that speed should be limited at 1MBit/s, so now I'm wondering, if this is normal behaviour or special circumstance.

@yarrick
Copy link
Owner

yarrick commented Jun 26, 2021

It sounds like the connection is using raw mode, where the tunnel data is not encoded as valid DNS packets but instead sent directly across the network with a small header. You can disable this with -r flag on the client and get back to the slow mode (which is needed when only valid DNS packets are allowed through).

The client prefers using raw mode if possible and will automatically downgrade to DNS mode if raw connectivity is blocked.

@printfuck
Copy link
Author

Thank you for your explanation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants