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.

DSVPN – VPN using TCP at port 80 and 443

195 pointsby northfoxzalmost 6 years ago

21 comments

Znafonalmost 6 years ago
&gt; WireGuard doesn&#x27;t work over TCP.<p>I see this repeated in a lot of places about WireGuard but is there anything wrong with UDPTunnel (<a href="http:&#x2F;&#x2F;www.cs.columbia.edu&#x2F;~lennox&#x2F;udptunnel&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.cs.columbia.edu&#x2F;~lennox&#x2F;udptunnel&#x2F;</a>)?<p>Why would one prefer this instead of WireGuard + UDPTunnel?
评论 #20574488 未加载
评论 #20572727 未加载
评论 #20573565 未加载
评论 #20572733 未加载
评论 #20573806 未加载
Sirenedalmost 6 years ago
It&#x27;s cool but the author&#x27;s motivation doesn&#x27;t make sense.<p>OpenVPN was too hard to setup so they decided to write their own VPN from scratch? It&#x27;s cool as an academic endeavor but by actually using it, they not only tossed out all the years of security work and the audits OpenVPN has gone through but also spent a ton of time creating something that they now will have to personally maintain.
评论 #20577033 未加载
评论 #20576064 未加载
isattyalmost 6 years ago
3 source files, amazing. This is a great opportunity for folks to learn more about implementing a VPN.<p>I&#x27;m planning to re-implement it in rust (to learn from) and then contribute to Wireguards rust effort.
ComputerGurualmost 6 years ago
I automatically cringe and walk away when I see tcp over tcp. I’ve been bitten by it too many times. Someone correct me if I’m wrong, but it’s fundamentally incorrect and is pretty much guaranteed to devolve into pathological cases.
评论 #20572254 未加载
评论 #20573033 未加载
评论 #20572883 未加载
评论 #20572272 未加载
评论 #20573606 未加载
评论 #20572166 未加载
Tepixalmost 6 years ago
&gt; Uses only modern cryptography, with formally verified implementations.<p>That&#x27;s a bit light on details. Does it have hardware acceleration? Replay attack protection? Perfect forward secrecy? What are the underlying algorithms? Implementation verified by whom?<p>&gt; Small (~25 KB), with an equally small and readable code base. <i>No external dependencies.</i><p>This looks cool, however I don&#x27;t like the fact that it doesn&#x27;t use a trusted crypto library such as libsodium. It is likely to get less review and if weaknesses are detected in the algorithms, it is less likely to be improved.
评论 #20572957 未加载
评论 #20573014 未加载
评论 #20573343 未加载
mikroskeemalmost 6 years ago
Reminds me this: <a href="https:&#x2F;&#x2F;github.com&#x2F;unbit&#x2F;vpn-ws" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;unbit&#x2F;vpn-ws</a><p>Too bad that it never evolved further.
progvalalmost 6 years ago
&gt; Maybe:<p>&gt; * Support for multiple clients.<p>As long as it doesn&#x27;t support multiple clients that can connect to each other, it&#x27;s more of a proxy&#x2F;gateway than a VPN.
sam_lowry_almost 6 years ago
&gt; OpenVPN is horribly difficult to set up.<p>OpenVPN is dead easy to setup with a shared secret, and it can work over TCP in pretty much the same way.
评论 #20572423 未加载
评论 #20573352 未加载
评论 #20572389 未加载
yeasayeralmost 6 years ago
&gt; WireGuard doesn&#x27;t work over TCP<p>Can somebody well versed explain what the difference between TCP and UDP in this case? I obviously know what these are, I just don&#x27;t understand why it&#x27;s such a debatable choice applied to VPNs.
评论 #20572681 未加载
评论 #20572226 未加载
kccqzyalmost 6 years ago
What&#x27;s the significance of emphasizing port 80 and 443? You can assign basically any ports to any application. If some firewall blocks all traffic but 443, you can configure the service yourself to listen on 443.
评论 #20573059 未加载
评论 #20574532 未加载
评论 #20576310 未加载
parliament32almost 6 years ago
Is openvpn really that hard to set up? I don&#x27;t remember having any issues just tweaking the default config file. If you want tcp 443 you just:<p><pre><code> port 443 proto tcp </code></pre> Is that really too hard?
dzsekijoalmost 6 years ago
I wonder how it fares compared to VPN over ssh, <a href="https:&#x2F;&#x2F;help.ubuntu.com&#x2F;community&#x2F;SSH_VPN" rel="nofollow">https:&#x2F;&#x2F;help.ubuntu.com&#x2F;community&#x2F;SSH_VPN</a>
评论 #20576440 未加载
评论 #20574010 未加载
评论 #20574228 未加载
amaccuishalmost 6 years ago
But does it look like SSL traffic? That&#x27;s the problem with OpenVPN, it&#x27;s quite easy detect. For restrictive environments I much prefer Ocserv (uses OpenConnect&#x2F;AnyConnect protocol) or mirosoft&#x27;s sstp protocol.<p>I was back in Dubai recently and sadly WireGuard didn&#x27;t work, so I had to use OpenConnect, which while doesn&#x27;t have the connectionless-like behaviour of WireGuard atleast worked.
评论 #20575875 未加载
hclariaalmost 6 years ago
Or you could encapsulate OpenVPN inside stunnel to make it indiscernible from regular HTTPS traffic<p><a href="https:&#x2F;&#x2F;www.perfect-privacy.com&#x2F;en&#x2F;manuals&#x2F;linux_openvpn_stealth_stunnel" rel="nofollow">https:&#x2F;&#x2F;www.perfect-privacy.com&#x2F;en&#x2F;manuals&#x2F;linux_openvpn_ste...</a>
aleks_me2almost 6 years ago
That&#x27;s a great tool. Easy to use and really robust in daily use. thanks for writing ;-)
ggregoirealmost 6 years ago
A simple noob question: in this context where I want to access a private remote machine, what are the advantages of a VPN (let&#x27;s say over TCP, I don&#x27;t know if it matters?) vs. a simple ssh tunnel?
评论 #20577011 未加载
评论 #20575563 未加载
faissalooalmost 6 years ago
&gt;Doesn&#x27;t perform any heap memory allocations<p>That&#x27;s fascinating, I wonder how they managed that (unless they used cheats like sbrk of course).
评论 #20579702 未加载
评论 #20577133 未加载
dClauzelalmost 6 years ago
&gt; Blocks IPv6 on the client to prevent IPv6 leaks.<p>No IPv6? That&#x27;s a no.
skangaalmost 6 years ago
Any plans for a version on Windows?
评论 #20573393 未加载
评论 #20572380 未加载
sayreralmost 6 years ago
no one could have predicted this!
ac130kzalmost 6 years ago
Again, no Windows support. The code base isn&#x27;t that big though, maybe it&#x27;s the time to implement one myself.