How To Install pptpd on Rocky Linux 8

In this tutorial we learn how to install pptpd on Rocky Linux 8. pptpd is PoPToP Point to Point Tunneling Server

Introduction

In this tutorial we learn how to install pptpd on Rocky Linux 8.

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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install pptpd.

Install pptpd on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install pptpd

Install pptpd on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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 Rocky Linux 8

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

sudo dnf remove pptpd

pptpd Package Contents on Rocky Linux 8

/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/60
/usr/lib/.build-id/60/9527a0589f78e2e98a212e3cdac9c752ef421d
/usr/lib/.build-id/64
/usr/lib/.build-id/64/67188baf0256598288fe8a9372e7d31cf893d3
/usr/lib/.build-id/b5
/usr/lib/.build-id/b5/c225f3dad3a9f2625ed3deceaab40ed0d1350d
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/2487429e71c83e81f4209afa1952a861ba48d9
/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 Rocky Linux 8 using yum and dnf.