4 ms·
How do you redirect DNS over SSH though?
by throwaway613834 9y ago
How do you redirect DNS over SSH though?
- lpasselin 9y agoiirc man ssh has some info on ssh virtual private network
- throwaway613834 9y agoIIRC that suffers from the TCP-through-TCP performance issue?
- deleted 9y ago[deleted]
- Fnoord 9y agoSshuttle [1] takes care of that see --dns and --help and the documentation. You might also wanna disable IPv6 --disable-ipv6 Its basically a script which takes care of ssh, the routing, and firewalling. Its crossplatform, should work on Windows/Linux/macOS and perhaps more. [1] https://github.com/apenwarr/sshuttle https://github.com/apenwarr/sshuttle [2] https://sshuttle.readthedocs.io/en/stable/ https://sshuttle.readthedocs.io/en/stable/
- rsync 9y agoJust a clarification ... https://github.com/apenwarr/sshuttle https://github.com/apenwarr/sshuttle is the original, now abandoned, sshuttle. Development was taken over by: https://github.com/sshuttle/sshuttle https://github.com/sshuttle/sshuttle ... which is the current, maintained version that you should track.
- xioxox 9y agoA SOCKS5 tunnel supports DNS. This is good for web browsing and is natively supported by ssh. You can even use it for individual programs using the tsocks command line wrapper.