TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Building a WireGuard jail with FreeBSD's standard tools

157 pointsby rodrigo975about 5 years ago

6 comments

rsyncabout 5 years ago
A few different articles this week about spinning up a wireguard container&#x2F;jail&#x2F;VM ...<p>But it&#x27;s far, far easier to just fire up an sshd somewhere and &#x27;sshuttle&#x27; makes it possible to turn <i>any ssh server that you have a login on</i> into a VPN endpoint:<p><a href="https:&#x2F;&#x2F;sshuttle.readthedocs.io&#x2F;en&#x2F;stable&#x2F;" rel="nofollow">https:&#x2F;&#x2F;sshuttle.readthedocs.io&#x2F;en&#x2F;stable&#x2F;</a><p>You don&#x27;t even need to be a privileged user - just any old user login, over ssh, and you need python to exist on the remote system.
评论 #23022592 未加载
评论 #23023222 未加载
评论 #23023333 未加载
stirayabout 5 years ago
As people are again asking about vm&#x2F;jails&#x2F;docker&#x2F;...<p><a href="https:&#x2F;&#x2F;blog.jessfraz.com&#x2F;post&#x2F;containers-zones-jails-vms&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blog.jessfraz.com&#x2F;post&#x2F;containers-zones-jails-vms&#x2F;</a><p>It is great article.<p>Bottom line, jails are &quot;in kernel&quot; primitives. Containers are not (or at least they werent when I last checked).
评论 #23023004 未加载
评论 #23025171 未加载
ggmabout 5 years ago
Not seeking a v4&#x2F;v6 flame war, It would be interesting to see the IPv6 version of this for people who want to use WireGuard to protect IPv6 flows back to &quot;inside&quot; and so much of this is NAT related, its not generally applicable to that case.
评论 #23026860 未加载
评论 #23025843 未加载
jxyabout 5 years ago
What&#x27;s the difference between the epair and the tap interfaces?
评论 #23021626 未加载
评论 #23021217 未加载
rubatugaabout 5 years ago
Anybody know what the benefits of a BSD jail might be over a VM?
评论 #23020948 未加载
评论 #23020989 未加载
评论 #23023591 未加载
评论 #23022314 未加载
Mic92about 5 years ago
I wonder if FreeBSD can saturate 1Gbit&#x2F;s with the TUN wireguard driver. Linux&#x27;s native driver is likely faster.
评论 #23022265 未加载
评论 #23021629 未加载
评论 #23025870 未加载