openSUSE Leap 15.5 x86_64
I’ve had a look at how PPTPD is setup, still cannot get it to work as a server.
options.pptp
lock
noauth
proxyarp
noipx
nodefaultroute
nobsdcomp
nodeflate
refuse-pap
refuse-chap
refuse-mschap
ms-dns 8.8.8.8
ms-dns 8.8.4.4
require-mschap-v2
require-mppe-128
require-mppe
mtu 1463
mru 1463
lcp-echo-failure 10
lcp-echo-interval 10
chap-secrets
#client hostname 192.168.1.1
name pptpd password “*”
pptpd.conf
speed 115200
option /etc/ppp/options.pptp
localip 192.168.0.19
remoteip 192.168.1.100-199
pidfile /var/run/pptpd.pid
Can you link to the guide you are following? Do you have an active firewall on the server?
No Firewall on the Server. Should I activate it.
I was only asking as it could have been impacting here. Since you say it isn’t active, it isn’t a consideration.
Can you explain in further detail about what isn’t working? Too fewer details leads to speculative advice.
What is reported by the following command?
sudo systemctl status pptpd
Let us know if
-
It is a VPN connectivity issue (ie clients can’t connect)
-
VPN clients can connect, but once they are connected they can’t access the internet via the VPN server (which should be acting as a router
For the latter situation, you need to make sure that IP forwarding is enabled.
In order for my PPTP to work on the opensuse server, I needed to remove the
refuse lines in the options.pptp file.
I have /etc/sysctl.conf
net.ipv4.ip_forward = 1
Active
On Windows 11 I can connect to the opensuse server, I can also see the other computers. Although it is not the same as Windows server, Allowing me to see the other clients without manually setting on the pptpd.conf file.
on localip I have set each fix computer IP Address / On remoteIP One IPAddress with a Range on the end
For some unknown reason on KDE PPTP connection I don’t see the other clients, but on Windows 11 I do.
I’m really not clear on all that you said. Remember we’re not over your shoulder to understand your particular network/host environment. Are you talking about samba hosts here?
Yes samba host.
Also if I connect from Windows 11 client through VPN Server on Opensuse, it works perfectly and on windows clients within the VPN range on the remote connection.
So when I connect with Windows 11 client to the remote Opensuse server on PPTP, it connects, then I can go onto my File Explorer \192.168.0.4 which connects to the Desktop that is on the remote clients network.
I can connect with my KDE pptp client connection, but with no connection to the remote clients devices.
What version of Dolphin are you using?
dolphin --version
For recent versions of Dolphin (20.04.0+), WS-Discovery is employed to discover samba hosts. Of course, it has to be allowed in the openSUSE firewall if active.
Kubuntu 24.04 LTS
I cannot ping the IP Address on Linux.
Only Windows 11.
I’m not sure what your Windows screenshot is supposed to be conveying (other than VPN connectivity). You should compare routing tables between the Linux host and the Windows host.
The actual computer I connect to I have removed.
This connection works. The server I’m connecting to gives me the remoteip and the localip.
Just cannot ping the device on the remote server. When I’m on Windows 11 I can.
pty “/usr/sbin/pptp connected server.redirectme.net --nolaunchpppd”
lock
noauth
nobsdcomp
nodeflate
require-mppe
#require-mppe-128
name username
remotename TUNNEL
ipparam TUNNEL