You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 lines
2.4 KiB

+++
title = "VPN tunnel into HAMNET on Fedora 36"
summary = """Those old tutorials on the net are quite outdated now: unfortunately
PPTP links/tunnels are not supported on newer operating systems any more..."""
date = "2022-10-16T21:26:40+02:00"
#lastmod = ""
categories = ["amateur-radio"]
tags = ["hamnet","fedora","networking","linux"]
+++
Since none of the found instructions worked for me: here are my settings
of my VPN tunnel into HAMNET. I'm currently using Fedora 36 on my main notebook
and Fedora removed PPTP support back in Fedora 35---I could not get the PPTP
tunnel working.
## L2TP client
I found a document that shows the creation of an L2TP tunnel on MacOS and I
used that as my starting point.
First of all, install NetworkManager-l2tp-gnome:
~~~console
$ sudo dnf install NetworkManager-l2tp-gnome
~~~
After that, create the new VPN tunnel in `Settings``Network``VPN`.
Click the <kbd>+</kbd> button and select `Layer 2 Tunneling Protocol (L2TP)`
and fill in the settings that you got from your Administrator (usually where
you got your login data). I got mine from [RWTH Aachen in Germany][1].
[1]: https://www.afu.rwth-aachen.de/projekte/hamnet/anwendungen/vpn-zugang
{{< figure src="hamnetvpn01.png" alt="basic settings"
caption="Basic settings. Enter login data." >}}
{{< figure src="hamnetvpn02.png" alt="IPv4 settings"
caption="IPv4 settings. Those work for my setup at home." >}}
{{< figure src="hamnetvpn03.png" alt="IPv6 settings"
caption="I'm not using IPv6 at home..." >}}
{{< figure src="hamnetvpn04.png" alt="IPSec settings"
caption="Somehow that setup only worked when I removed this setting?" >}}
{{< figure src="hamnetvpn05.png" alt="PPP settings"
caption="And I ended up using those settings for PPP" >}}
## More information
I've also found some more links---just when I finished formatting this article.
It looks like the following article is online since 2018; but I found this after
I started using the L2TP tunnel that I just created a few hours before. It
describes the setup of an OpenVPN client, but it is limited to users with a
static HAMNET IP address.
- Original article found on HAMNET
<http://web.db0sda.ampr.org/projekte/hamnet/anwendungen/vpn-zugang/openvpn-hamnet-dial-in>
- Also available on normal internet
<https://www.afu.rwth-aachen.de/projekte/hamnet/anwendungen/vpn-zugang/openvpn-hamnet-dial-in>