Compare commits
	
		
			2 Commits
		
	
	
		
			2f5f746492
			...
			main
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 226fe6577f | |||
| 376aa0c9b6 | 
							
								
								
									
										10
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								README.md
									
									
									
									
									
								
							| @@ -1,14 +1,14 @@ | |||||||
| # sixnix | # sixnix | ||||||
|  |  | ||||||
| NixOS module for IPv6 networking with WireGuard tunnels and optional BGP failover. | IPv6 WireGuard tunnels with optional BGP failover. | ||||||
|  |  | ||||||
| ## Motivation | ## Motivation | ||||||
|  |  | ||||||
| My ISP gives me a single `/64` and it's dynamically assigned. Can't have multiple networks with functional autoconfiguration. Tunnel brokers like [Hurricane Electric](https://tunnelbroker.net/) would work but my ISP uses CGNAT which makes that setup tricky if not impossible. They also do not have any exit nodes in the region I want. | My ISP gives me a single `/64` and it's dynamically assigned. Can't have multiple networks with functional autoconfiguration. Tunnel brokers like [Hurricane Electric](https://tunnelbroker.net/) would work but my ISP uses CGNAT which makes that setup tricky if not impossible. They also do not have any exit nodes in the region I want. | ||||||
|  |  | ||||||
| Linode provides a routed `/56` for free with their cheapest $5/month VPS. That's 256 `/64` subnets. You get 1TB traffic at 1Gbit (40Gbit input but that's kind of irrelevant for our use case). Good enough. | Linode provides a routed `/56` and 1TB traffic at 1 Gbit/s for with their cheapest $5/month VPS. That's 256 `/64` subnets. | ||||||
|  |  | ||||||
| ## Solution 1: Simple WireGuard setup | ## Solution 1: Simple WireGuard tunnels | ||||||
|  |  | ||||||
| Just a plain WireGuard tunnel to route the `/56` to your home network. | Just a plain WireGuard tunnel to route the `/56` to your home network. | ||||||
|  |  | ||||||
| @@ -70,11 +70,11 @@ How it works: | |||||||
| - Interfaces get `/64`s from the delegated `/60` with router advertisement enabled | - Interfaces get `/64`s from the delegated `/60` with router advertisement enabled | ||||||
| - All traffic from clients goes out to the internet via Linode | - All traffic from clients goes out to the internet via Linode | ||||||
|  |  | ||||||
| ## Solution 2: BGP failover (ultra advanced) | ## Solution 2: WireGuard tunnels with BGP for failover | ||||||
|  |  | ||||||
| Want redundancy? Run two Linodes in the same datacenter and use BGP to share a single `/56` between them. If one server goes down, BGP automatically fails over to the other. | Want redundancy? Run two Linodes in the same datacenter and use BGP to share a single `/56` between them. If one server goes down, BGP automatically fails over to the other. | ||||||
|  |  | ||||||
| Cost: $10/month + tax for two Linodes with pooled 2TB bandwidth quota. | Cost: $10/month + tax for two Linodes with pooled 2TB traffic quota. | ||||||
|  |  | ||||||
| ### BGP configuration | ### BGP configuration | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user