I have a CentOS 7 server which is connected to a PPTP VPN network. That means CentOS7 is a PPTP client itself. I need to direct HTTP requests to the PPTP server, but when I click the ppp0 switch in cockpit web panel, or run 'nmcli device connect ppp0', I get this error:
Error: Failed to add/activate new connection: Device class NMDevicePpp had no complete_connection method
$ uname -a
Linux localhost.localdomain 3.10.0-1062.9.1.el7.x86_64 #1 SMP Fri Dec 6 15:49:49 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet
127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: ens33: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:0c:29:2b:ba:88 brd ff:ff:ff:ff:ff:ff
inet
192.168.100.52/24 brd 192.168.100.255 scope global noprefixroute dynamic ens33
valid_lft 1632519sec preferred_lft 1632519sec
37: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1446 qdisc pfifo_fast state UNKNOWN group default qlen 3
link/ppp
inet 192.168.73.250 peer
192.168.73.1/32 scope global ppp0
valid_lft forever preferred_lft forever
$ ip route
default via 192.168.100.102 dev ens33 proto dhcp metric 100
192.168.73.1 dev ppp0 proto kernel scope link src 192.168.73.250
192.168.100.0/24 dev ens33 proto kernel scope link src 192.168.100.52 metric 100
$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default gateway 0.0.0.0 UG 100 0 0 ens33
192.168.73.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.100.0 0.0.0.0 255.255.255.0 U 100 0 0 ens33