For When You Can't Have The Real Thing
[ start | index | login ]
start > Fedora > Server > 27 > pptp VPN Client

pptp VPN Client

Created by dave. Last edited by dave, 16 days ago. Viewed 20 times. #2
[diff] [history] [edit] [rdf]
labels
attachments
(2018-04-30)

Setting A PPTP VPN Client

You have to set the firewall to accept GRE tunnel traffic:

# firewall-cmd --permanent --direct --add-rule ipv4 filter INPUT 0 -p gre -j ACCEPT
# firewall-cmd --permanent --direct --add-rule ipv6 filter INPUT 0 -p gre -j ACCEPT
# firewall-cmd --reload

Now you can set the VPN itself:

# pptpsetup --create $CONNECTIONNAME --server $SERVERNAME --username $USER --password $MYPASS --encrypt --start

You probably need to set up some routes so you can now get at the networks you are connected to.

To kill the connection, kill the running pptp.

Later on you need to start the tunnel again:

# pptp call $CONNECTIONNAME

...and you have to re-setup your routes again.

no comments | post comment

Virtual Dave Megaplex:

Internet Explorer 6 Users >>Click Here

(read this note about local search)

Logged in Users: (0)
… and 10 Guests.


Editing: snipsnap-help, Image Macro

(Et auditum est, et idcirco ego nunc simulare)

Installed 7 years and 131 days ago
Powered By >>SnipSnap Version 1.0b1-uttoxeter

This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt