FreeBSD package for microsocks
-
I need a socks proxy, and microsocks is a very simple setup, the freebsd package installed w/o a hitch, all it deps are already included with pfsense. Another cool thing is that if you use the -b flag and give it the pfsense local ip of one of the wireguard tunnels, then traffic egressing the proxy goes out that tunnel. I did have to set up a chroot for it for dns though, where the dns server is the IP on the other side of the /31 protonvpn tunnel. shellcmd has a daemon -f to run it at boot.
Anyhow, this works well, except throughput is fairly poor. Normal VPN speedtests give me 44mbps, but if first going through microsocks its cut to 23mbps.
So while it works, is there any way to improve this speed?
-
Is it limited by CPU? Check the output of
top -HaSPwhilst testing throughput. -
@stephenw10 said in FreeBSD package for microsocks:
top -HaSP
heres the steady state:

and heres during a test on fast.com

-
Yup so 0% idle on CPU0, it's limited by that.
But note that microsocks is running on CPU0 and wireguard is using more of CPU0 than CPU1 so there's probably some more to be gained. But not that much.
-
@stephenw10
ah, OK I see what you're saying, took me a bit to figure out those 2 screenshots. Well thanks here, this is exactly what I needed.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy