TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Check Your Network's Ability to Host a VPN Server

4 点作者 idoescompooters5 个月前
Got bored today so I created this little companion site for my main VPN setup blog page to help people who are not tech-savvy quickly know whether their network can support hosting a VPN server (ex. WireGuard).<p>It basically checks if it&#x27;s public&#x2F;private and if it&#x27;s from a cellular network. Also tries to distinguish between Verizon 5G Home or AT&amp;T Fiber which are not the same as cellular and should still work for hosting a VPN.

3 条评论

KomoD5 个月前
So it doesn&#x27;t check if you can actually host it (because it can&#x27;t check, there is no other way than checking on your actual network)<p>Literally all it does:<p>if org belonging to ip contains wireless, mobile, cellular, verizon, at&amp;t, t-mobile, sprint: IP is cellular (really bad way to determine if an IP is cellular or not by the way)<p>if IP belongs to asns 701, 6167, 22394, 21928, 23402: IP is cellular<p>if IP belongs to asns 7018, 20001: IP is not cellular<p>if none of above if statements match: IP is not cellular<p>if IP is cellular: no you can&#x27;t<p>if IP isn&#x27;t cellular: yes you can<p>That&#x27;s it, that&#x27;s the entire site.<p>And saying &quot;Public-looking IP&quot; doesn&#x27;t make sense, you&#x27;ll never get anything other than a public IP from icanhazip (or any other ip fetching service). Also having a cellular IP doesn&#x27;t automatically mean you are unable to receive inbound traffic, some providers sell &quot;mobile broadband&quot; that allow you to open ports, etc.
评论 #42505645 未加载
toomuchtodo5 个月前
This is clever and cool, thank you for building and sharing it. Any chance it supports JSON for machine detection? Similar to jsonip.com
评论 #42504051 未加载
idoescompooters5 个月前
Unfortunately it&#x27;s not possible to check for CGNAT via web browser. The only way to is to check the WAN IP directly on your router.
评论 #42509259 未加载