How To Install pptpd on Fedora 34

pptpd is PoPToP Point to Point Tunneling Server

Introduction

In this tutorial we learn how to install pptpd on Fedora 34.

What is pptpd

This implements a Virtual Private Networking Server (VPN) that is compatible with Microsoft VPN clients. It allows windows users to connect to an internal firewalled network using their dialup.

We can use yum or dnf to install pptpd on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install pptpd.

Install pptpd on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install pptpd using dnf by running the following command:

sudo dnf -y install pptpd

Install pptpd on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install pptpd using yum by running the following command:

sudo yum -y install pptpd

How To Uninstall pptpd on Fedora 34

To uninstall only the pptpd package we can use the following command:

sudo dnf remove pptpd

pptpd Package Contents on Fedora 34

/etc/ppp/options.pptpd
/etc/pptpd.conf
/etc/sysconfig/pptpd
/usr/bin/vpnstats.pl
/usr/bin/vpnuser
/usr/lib/.build-id
/usr/lib/.build-id/35
/usr/lib/.build-id/35/99f143d968e13322323b80a148d4da932b8ea0
/usr/lib/.build-id/52
/usr/lib/.build-id/52/fe482dd9b429cb9409d829bb946d8d17cd438c
/usr/lib/.build-id/82
/usr/lib/.build-id/82/6bfd1c20ffe2ee454dd7ca1c50a0946861d9a1
/usr/lib/.build-id/c0
/usr/lib/.build-id/c0/935450388d762c7a65c23624bcb1026eb7414d
/usr/lib/modules-load.d/pptpd.conf
/usr/lib/sysctl.d/20-pptpd.conf
/usr/lib/systemd/system/pptpd.service
/usr/lib64/pptpd
/usr/lib64/pptpd/pptpd-logwtmp.so
/usr/sbin/bcrelay
/usr/sbin/pptp-portslave
/usr/sbin/pptpctrl
/usr/sbin/pptpd
/usr/share/doc/pptpd
/usr/share/doc/pptpd/AUTHORS
/usr/share/doc/pptpd/COPYING
/usr/share/doc/pptpd/ChangeLog
/usr/share/doc/pptpd/README
/usr/share/doc/pptpd/README.bcrelay
/usr/share/doc/pptpd/README.cvs
/usr/share/doc/pptpd/README.inetd
/usr/share/doc/pptpd/README.logwtmp
/usr/share/doc/pptpd/README.portslave
/usr/share/doc/pptpd/README.slirp
/usr/share/doc/pptpd/TODO
/usr/share/doc/pptpd/samples
/usr/share/doc/pptpd/samples/chap-secrets
/usr/share/doc/pptpd/samples/options.pptpd
/usr/share/doc/pptpd/samples/pptpd.conf
/usr/share/man/man5/pptpd.conf.5.gz
/usr/share/man/man8/bcrelay.8.gz
/usr/share/man/man8/pptpctrl.8.gz
/usr/share/man/man8/pptpd.8.gz

References

Summary

In this tutorial we learn how to install pptpd on Fedora 34 using yum and dnf.