frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: lambda-nat-proxy – Serverless proxy using Lambda and UDP NAT punching

https://github.com/dan-v/lambda-nat-proxy
15•danvittegleo•4d ago
Revisited an old experiment of mine (https://github.com/dan-v/awslambdaproxy): can AWS Lambda functions work as network proxies? This time using UDP NAT hole punching + QUIC tunnels.

Client discovers public IP via STUN, writes session data to S3, which triggers a Lambda. Both endpoints punch UDP holes through their NATs, then establish a QUIC connection for encrypted traffic forwarding.

Comments

danfritz•3h ago
Looks cool but how much does it cost?
danvittegleo•52m ago
Like most things with AWS, it’s tricky to pin down exactly - and it’ll probably cost more than you’d expect once you factor in Lambda invocations, GB-seconds of execution time, S3 request fees, and especially data‐transfer charges.
pbnjay•2h ago
Probably gets pretty costly if you’re running a lot of data through it. Now if you could implement a Tailscale DERP server in a lambda that would be pretty amazing: https://tailscale.com/kb/1232/derp-servers
danvittegleo•1h ago
I did toy around with Tailscale initially trying to get it to spin up as an exit node but wasn't able to get that functional. I did manage to get Tailscale Funnel to work as the tunnel mechanism to Lambda, but unfortunately the performance was really poor.
shayonj•1h ago
Very interesting concept. I’d love some cheap and “throw away” method of setting up tunnels with minimal onus on the exit nodes.
robcohen•35m ago
Alternatively, you could make a Nix flake that can generate an immutable microVM image based on Solo5, running a MirageOS unikernel that implements NAT traversal with UDP hole punching and relay fallback. This image can be deployed to Fly.io as a lightweight, autoscaling Firecracker VM with per-second billing. It boots in milliseconds and costs far less than Lambda.

Any reason to use lambda vs this cloud-agnostic approach? Maybe I am missing something. I guess per second vs per 100ms billing, but I can't imagine it ends up being cheaper with Lambda.

danvittegleo•13m ago
Absolutely - there are plenty of more cost-effective, cloud-agnostic ways to build something like this. This is just an experiment to explore Lambda networking and push it beyond its intended use cases.

LaborBerlin: State-of-the-Art 16mm Projector

https://www.filmlabs.org/wiki/en/meetings_projects/spectral/laborberlin16mmprojector/start
35•audionerd•52m ago•2 comments

Denmark's Archaeology Experiment Is Paying Off in Gold and Knowledge

https://www.scientificamerican.com/article/denmark-let-amateurs-dig-for-treasure-and-it-paid-off/
40•sohkamyung•3d ago•10 comments

AllTracker: Efficient Dense Point Tracking at High Resolution

https://alltracker.github.io/
24•lnyan•3h ago•1 comments

Compact Representations for Arrays in Lua [pdf]

https://sol.sbc.org.br/index.php/sblp/article/view/30252/30059
14•tkhattra•2d ago•2 comments

ARIA, the UK's Bet to Build Scientific Revolutions

https://www.asimov.press/p/aria
30•almost-exactly•4h ago•5 comments

Scaling our observability platform by embracing wide events and replacing OTel

https://clickhouse.com/blog/scaling-observability-beyond-100pb-wide-events-replacing-otel
158•valyala•11h ago•62 comments

Using Microsoft's New CLI Text Editor on Ubuntu

https://www.omgubuntu.co.uk/2025/06/microsoft-edit-text-editor-ubuntu
191•jandeboevrie•3d ago•192 comments

Delta Chat is a decentralized and secure messenger app

https://delta.chat/en/
209•Bluestein•14h ago•104 comments

Balatro for the Nintendo E-Reader

https://mattgreer.dev/blog/balatro-for-the-nintendo-ereader/
51•arantius•4h ago•12 comments

The Nyanja new PC-Engine/TurboGrafx 16-bit console game in development

https://sarupro.itch.io/thenyanja
22•retro_guy•2d ago•0 comments

Samsung embeds IronSource spyware app on phones across WANA

https://smex.org/open-letter-to-samsung-end-forced-israeli-app-installations-in-the-wana-region/
639•the-anarchist•17h ago•386 comments

Airpass – easily overcome WiFi time limits

https://airpass.tiagoalves.me/
194•herbertl•3d ago•145 comments

You say 'silo' as if it were a bad thing

https://hollisrobbinsanecdotal.substack.com/p/you-say-silo-as-if-it-were-a-bad
8•HR01•43m ago•0 comments

Weave (YC W25) is hiring a founding AI engineer

https://www.ycombinator.com/companies/weave-3/jobs/SqFnIFE-founding-ai-engineer
1•adchurch•3h ago

Phoenix.new – Remote AI Runtime for Phoenix

https://fly.io/blog/phoenix-new-the-remote-ai-runtime/
526•wut42•1d ago•236 comments

YouTube's new anti-adblock measures

https://iter.ca/post/yt-adblock/
839•smitop•1d ago•1161 comments

Show HN: MMOndrian

https://mmondrian.com/
33•neural_thing•10h ago•18 comments

Harper – an open-source alternative to Grammarly

https://writewithharper.com
535•ReadCarlBarks•1d ago•143 comments

'Gwada negative': French scientists find new blood type in woman

https://www.lemonde.fr/en/science/article/2025/06/21/gwada-negative-french-scientists-find-new-blood-type-in-woman_6742577_10.html
121•spidersouris•13h ago•55 comments

AbsenceBench: Language models can't tell what's missing

https://arxiv.org/abs/2506.11440
302•JnBrymn•22h ago•76 comments

Tell HN: Beware confidentiality agreements that act as lifetime non competes

128•throwarayes•4h ago•65 comments

Plastic bag bans and fees reduce harmful bag litter on shorelines

https://www.science.org/doi/10.1126/science.adp9274
210•miles•21h ago•128 comments

Microsoft suspended the email account of an ICC prosecutor at The Hague

https://www.nytimes.com/2025/06/20/technology/us-tech-europe-microsoft-trump-icc.html
410•blinding-streak•8h ago•243 comments

Life as Slime

https://www.asimov.press/p/slime
44•surprisetalk•4d ago•25 comments

AI Is Ushering in the 'Tiny Team' Era in Silicon Valley

https://www.bloomberg.com/news/articles/2025-06-20/ai-is-ushering-in-the-tiny-team-era-in-silicon-valley
32•kjhughes•2h ago•27 comments

Captain Cook's missing ship found after sinking 250 years ago

https://www.independent.co.uk/news/science/captain-cook-missing-ship-found-hms-endeavour-b2771322.html
140•rmason•4d ago•44 comments

Augmented Vertex Block Descent (AVBD)

https://graphics.cs.utah.edu/research/projects/avbd/
71•bobajeff•16h ago•6 comments

Visualizing environmental costs of war in Hayao Miyazaki's Nausicaä

https://jgeekstudies.org/2025/06/20/wilted-lands-and-wounded-worlds-visualizing-environmental-costs-of-war-in-hayao-miyazakis-nausicaa-of-the-valley-of-the-wind/
244•zdw•1d ago•65 comments

Show HN: lambda-nat-proxy – Serverless proxy using Lambda and UDP NAT punching

https://github.com/dan-v/lambda-nat-proxy
15•danvittegleo•4d ago•7 comments

Cosmoe: BeOS Class Library on Top of Wayland

https://cosmoe.org/index.html
155•Bogdanp•12h ago•61 comments