Skip to content

Instantly share code, notes, and snippets.

View AngryAnt's full-sized avatar

Emil "AngryAnt" Johansen AngryAnt

View GitHub Profile
@insdavm
insdavm / WireGuard-site-to-site.md
Last active February 22, 2024 15:33
Accessing a subnet that is behind a WireGuard client using a site-to-site setup

WireGuard Site-to-Site

Accessing a subnet that is behind a WireGuard client using a site-to-site setup

Problem Summary

We want to access a local subnet remotely, but it is behind a NAT firewall and we can't setup port forwarding. Outgoing connections work, but all incoming connections get DROPPED by the ISP's routing policy.

Solution Summary

Keybase proof

I hereby claim:

  • I am angryant on github.
  • I am angryant (https://keybase.io/angryant) on keybase.
  • I have a public key ASD8ySmPVOXxJ6-08vcEIoK2yFrxwh6eUfa6DgVY6EuKSwo

To claim this, I am signing this object:

@praeclarum
praeclarum / SimplifiedPolyline.cs
Created November 27, 2012 21:04
A simplified polyline that has only enough line segments to accurately represent the original polyline.
//
// Copyright 2012 Frank A. Krueger
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software