Report this

What is the reason for this report?

Digital Ocean Firewall Prevents PPTPD Connections

Posted on October 16, 2017

After implementing a cloud firewall using Digital Ocean Firewall (DOF) console, my pptpd server will no longer connect to clients. As soon as the DOF is unassigned from the droplet the pptpd service connects perfectly.

I am connecting from a Win 10 machine over pptpd with a user name and password.

There seems to be an error thrown when I call service pptpd status

pptpd[2074]: GRE: read(fd=6,buffer=611660,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check
[2074]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)

I’ve also tried opening port 1723 on both TCP / UDP incoming and outgoing to no avail Custom TCP 1723 All IPv4 All IPv6

What I assume is happening is that the cloud firewall is taking over the IPTABLE rules which allows pptpd to allow the connection through.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Have you opened port 47 (for GRE protocol)?

Yes 47 is open on both inbound and outbound but on TCP, is that correct?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.