Chris's Wiki :: blog/linux/WireGuardWhyISwitched (2024)

Why I've switched from GRE-over-IPSec to using WireGuard

November 4, 2017

I have a long standing IPSec IKE and point to point GRE tunnel that gives my home machine an inside IPaddress at work. This has worked reasonablywell for years, but recently I discovered that its bandwidth hadcollapsed. Some subsequentstaring at network packet captures suggested that I was now seeingdropped or drastically delayed ACKs, and perhaps reordering andpacket drops in general. This smelled a lot like the kind of bugthat was not going to be fun to report and probably wasn't goingto get fixed any time soon. I could work around it for the moment,but its presence was irritating and inconvenient, and I consideredit a warning sign for IPSec plus GRE in general.

(Anything that has catastrophically bad performance that persistsfor some time is clearly not being used by very many other people,or if it is it's clear that the kernel developers just don't care.)

WireGuard is a new(ish) secure IPtunnel system, initially only on Linux. Its web pages talk aboutVPNs because that's what almost everyone uses secure tunnels for,but it's really a general secure transport for IP. I'd been hearinggood things about it for a while, but I hadn't really checked itout. Yesterday I wound up reading some stuffthat was both very positive on WireGuard and suggested that it wasgoing to wind up an official part of Linux. Given my IPSec+GREproblem, this was enough to push me to actively reading itswebpages, which were enough to sellme on its straightforward model of operation and convince me thatI could easily implement my current tunnel setup with WireGuard.Because I'm sometimes a creature of sudden impulses, today I wentahead and switched over from my IPSec+GRE setup to a WireGuard-basedone (and tweeted about it once I gotthe setup working).

I switched to get something that gave me my full DSL bandwidthinstead of only a pathetic fraction of it, and WireGuard deliversthis. It works and nothing's blown up so far. Installing WireGuardon Fedora 26 was straightforward, and configuring it was fairlyeasy once I read the manpage a couple oftimes (by that I mean 'it could be better but I've seen worse'). I definitely like how simple the thepeer setup is; it's a bunch simpler (and better documented) thanthe IKE equivalent.

(Bear in mind that I'm a sysadmin and I'm perfectly comfortablewriting scripts and systemd .service files, both of which I hadto do to set my WireGuard configuration up. Of course, I'd had todo most of the same to set up IKE IPSec back when I did that.)

As a whole, my WireGuard setup is simpler and involves less magicthan the IKE plus GRE one. WireGuard puts the encryption directlyinto the tunnel device; unlike with GREit's not possible to have either an unencrypted tunnel or IKE IPSecbut no operating tunnel. Apart from how the tunnel is created andsecured, the rest of my setup is the same,which is a large part of what made it so easy to switch over.

While less magic and a simpler, easier to understand configurationis nice, I probably wouldn't have bothered to switch if my old setuphad been working correctly. It was the constant drip irritation ofhaving to be careful any time I wanted to move a big file betweenhome and work (or even just look at a big work web page) that gotto me. Well, that and the thought of what would be involved intrying to report my problem to Fedora (and probably eventually theupstream kernel). Switching to a different technology for mysecure tunnel needs made the whole problem go away, which is theeasy way out.

(I have some early notes on using and dealing with WireGuard, butthat's going to be another entry.)

Chris's Wiki :: blog/linux/WireGuardWhyISwitched (2024)
Top Articles
Today's Commercial Mortgage Rates - 4.98% as of 9/16/2024
What to Know About Your Payment Due Date
Automated refuse, recycling for most residences; schedule announced | Lehigh Valley Press
Express Pay Cspire
Www.craigslist Virginia
فیلم رهگیر دوبله فارسی بدون سانسور نماشا
Mikayla Campino Video Twitter: Unveiling the Viral Sensation and Its Impact on Social Media
Best Cav Commanders Rok
A.e.a.o.n.m.s
Phillies Espn Schedule
Weekly Math Review Q4 3
Readyset Ochsner.org
Buying risk?
Transfer Credits Uncc
fort smith farm & garden - craigslist
Billionaire Ken Griffin Doesn’t Like His Portrayal In GameStop Movie ‘Dumb Money,’ So He’s Throwing A Tantrum: Report
Yakimacraigslist
Why Is 365 Market Troy Mi On My Bank Statement
Gina Wilson All Things Algebra Unit 2 Homework 8
Nz Herald Obituary Notices
Walmart Near South Lake Tahoe Ca
Scream Queens Parents Guide
Winco Employee Handbook 2022
Contracts for May 28, 2020
Mini Handy 2024: Die besten Mini Smartphones | Purdroid.de
Hdmovie2 Sbs
Mythical Escapee Of Crete
Foodsmart Jonesboro Ar Weekly Ad
Is Holly Warlick Married To Susan Patton
Puffin Asmr Leak
Www.craigslist.com Syracuse Ny
Watchdocumentaries Gun Mayhem 2
House Of Budz Michigan
The Complete Guide To The Infamous "imskirby Incident"
Tugboat Information
Myanswers Com Abc Resources
Cheetah Pitbull For Sale
Blackwolf Run Pro Shop
Sam's Club Gas Prices Deptford Nj
What Is A K 56 Pink Pill?
Nail Salon Open On Monday Near Me
Emily Browning Fansite
Unveiling Gali_gool Leaks: Discoveries And Insights
Sechrest Davis Funeral Home High Point Nc
Craigslist Pet Phoenix
Myra's Floral Princeton Wv
2000 Ford F-150 for sale - Scottsdale, AZ - craigslist
Slug Menace Rs3
How to Get a Check Stub From Money Network
O'reilly's Eastman Georgia
Inside the Bestselling Medical Mystery 'Hidden Valley Road'
Latest Posts
Article information

Author: Virgilio Hermann JD

Last Updated:

Views: 6520

Rating: 4 / 5 (41 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Virgilio Hermann JD

Birthday: 1997-12-21

Address: 6946 Schoen Cove, Sipesshire, MO 55944

Phone: +3763365785260

Job: Accounting Engineer

Hobby: Web surfing, Rafting, Dowsing, Stand-up comedy, Ghost hunting, Swimming, Amateur radio

Introduction: My name is Virgilio Hermann JD, I am a fine, gifted, beautiful, encouraging, kind, talented, zealous person who loves writing and wants to share my knowledge and understanding with you.