3 ms·
My primary use-case in small border firewalls like this is running sshuttle on them as a lightweight VPN. The problem is, FreeBSD cannot properly run sshuttle
by rsync 11y ago
My primary use-case in small border firewalls like this is running sshuttle on them as a lightweight VPN.
The problem is, FreeBSD cannot properly run sshuttle - it can do it for regular traffic, and it works well, but it cannot do DNS lookups for the entire network over the tunnel. This shortcoming is documented by the sshuttle README @ github.[1]
I am very interested in having this fixed / worked around and am willing to PAY SOMEONE TO FIX IT. If anyone out there is interested in (finally) getting sshuttle working on FreeBSD, please email info@rsync.net and we can discuss.
[1] https://github.com/apenwarr/sshuttle https://github.com/apenwarr/sshuttle
- detaro 11y agoYou sure you linked the right repo? There are forks with newer activity, and the linked readme doesn't say anything about DNS not working? (Or I'm to tired right now to find it) Is any of the forks a new "official" version?
- erikarn 11y agoIf this is still a problem then yeah, join #freebsd on efnet and ask for some help. :)
- X-Istence 11y agoWhere in the README does it state that it is unable to do DNS?
- emaste 11y agoAvery hasn't put much effort into sshuttle for some time - you probably want Brian May's fork, which is now https://github.com/sshuttle/sshuttle https://github.com/sshuttle/sshuttle In any case, since 2011 sshuttle has supported DNS interception via a divert socket, so although it might not work today I suspect it should be somewhat straightforward to fix. I haven't looked into this yet as my only use case for sshuttle involves running it on the end host itself (typically my laptop).
- rsync 11y agoYes, you're right - I lazily linked to the original project. However the new project has the same issues with DNS over VPN on FreeBSD. I have personally corresponded with the current maintainer, etc., and since they build and test only on Linux, it's not something that ever got fixed. If you read the original HOWTO/README from the original project, it details the issues and I can confirm that no amount of settings changes or workarounds will allow you to get DNS over the tunnel on FreeBSD.
- emaste 11y agoI see this issue has been discussed on the FreeBSD lists on occasion, but I can't find it on the sshuttle list in the four years of archives I've got. I also don't see a reference to this in the README.md in the original project. The threads I have managed to find largely amount to "it doesn't work." Are you aware of anywhere the specific details of the issue are posted (debug logs from sshuttle, packet captures, etc.)?