Build a VPN Tunnel with Wintun on Windows – Part 1
Posted3 months agoActive3 months ago
0xmm.inTechstory
calmpositive
Debate
10/100
VPNWindowsNetworkingWintun
Key topics
VPN
Windows
Networking
Wintun
The post explores building a VPN tunnel using Wintun on Windows, sparking interest in low-level networking and custom VPN solutions among HN users.
Snapshot generated from the HN discussion
Discussion Activity
Light discussionFirst comment
N/A
Peak period
2
0-12h
Avg / period
1.5
Key moments
- 01Story posted
Oct 6, 2025 at 5:49 AM EDT
3 months ago
Step 01 - 02First comment
Oct 6, 2025 at 5:49 AM EDT
0s after posting
Step 02 - 03Peak activity
2 comments in 0-12h
Hottest window of the conversation
Step 03 - 04Latest activity
Oct 14, 2025 at 1:51 AM EDT
3 months ago
Step 04
Generating AI Summary...
Analyzing up to 500 comments to identify key contributors and discussion patterns
Discussion (3 comments)
Showing 3 comments
playersespresso
3 months ago
1 replyNice! Somewhat funny but I was tinkering with wintun + golang yesterday, however I was unable to set IP to it (like you did with SetIPAddresses), so guess universe aligned for me. Interestingly even without setting IP i was able to get packets flowing into that just by creating custom route forwarding to that interface. Not sure whether packets originating from it would be accepted by networking stack tho.
pkt0x53Author
3 months ago
Did you ran that with admin permission !
pkt0x53Author
3 months ago
Wintun acts as a Layer 3 virtual adapter that allows user-space applications such as VPN software to directly work with IP packets. It functions as a TUN interface, creating a virtual network adapter that provides direct access to network layer (IP) packets through simple file read and write operations. Much like a physical network card, it supports assigning IP addresses, configuring routes, and transmitting data. The key difference is that, unlike real hardware, all packet transmission and handling are managed entirely by user-defined programs in user space.
View full discussion on Hacker News
ID: 45489581Type: storyLast synced: 11/20/2025, 3:38:03 PM
Want the full context?
Jump to the original sources
Read the primary article or dive into the live Hacker News thread when you're ready.