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.

OpenVPN & WireGuard server at GitHub Actions: representative NAT traversal case

48 pointsby ValdikSSalmost 3 years ago

5 comments

ValdikSSalmost 3 years ago
It&#x27;s not possible to run server software on GitHub Actions using regular methods: the worker virtual machine is placed behind Network Address Translation (NAT), which prevents it from receiving direct inbound TCP&#x2F;UDP connections. This repository consists of GitHub Actions jobs for OpenVPN and WireGuard VPN servers which traverse NAT, making possible to establish VPN connection to the Actions worker machine directly, without any additional tunnel, third-party service, or port forwarding software.<p>This is a step-by-step, thoroughly documented practical UDP NAT traversal showcase using GitHub Actions with OpenVPN&#x2F;WireGuard servers as an example, with only stock software from Ubuntu repositories.
stoplying1almost 3 years ago
Hm, while instructive, there are plenty of options for Wireguard meshes that more or less self configure and can NAT punch out of the box. This entire operation is a two-liner with the Tailscale Action, for example.
makifoxgirlalmost 3 years ago
GitHub actions is too good to be true, or rather it&#x27;s part of Microsoft&#x27;s eee model embracing and extending the platform before extinguishing it with more paid plans. It&#x27;s stuff like this that&#x27;ll eventually make them decide to do it. Although this is super neat, it&#x27;s just so important to remember never to get too invested into Microsoft things if you&#x27;re not willing to pay into it later. Idk things like Google photos. GitLab is not doing well, there&#x27;s no way GitHub could keep actions up for free. Maybe if income from elsewhere can keep paying for it, but anyway... actions is such a mixed bag of feelings for me.
elashrialmost 3 years ago
Isn&#x27;t that against ToS? Also I don&#x27;t think these things help, they will just accelerate Github decision to pull off their generous free actions.
preya2kalmost 3 years ago
For me, ssh tunneling has always covered all of these use cases. SSH Tunnel seem to be a little bit more lightweight than a VPN solution.
评论 #32336611 未加载
评论 #32336678 未加载