• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Issue Plesk Onyx (17.8.1) Firewall Settings To Enable PPTP connection.

ArshadM

New Pleskian
In the past I have been using PPTP succesfuly by following the procedure as described at Install PPTP on CentOS 5 - CS Labs Wiki ,

while not enabling Firewall in Plesk Contol Panel
but enabling firewall in Plesk Virtuzzo and selecting option Advanced firewall mode with default policy Accept

Now, when I enable Plesk Firewall with the default firewall rules & run the script covering the below list of commands, PPTP starts working, however other services such as mail, ftp etc stop working and iptables -L shows limited details. When I restart the server all settings are reset to default firewall rules but PPTP don't work.

#!/bin/bash
/sbin/iptables -F
/sbin/iptables -P INPUT DROP
/sbin/iptables -P OUTPUT ACCEPT
/sbin/iptables -t nat -A POSTROUTING -o venet0 -j MASQUERADE
/sbin/iptables -A FORWARD -i ppp+ -o venet0 -j ACCEPT
/sbin/iptables -A FORWARD -i venet0 -o ppp+ -j ACCEPT
/sbin/iptables -A INPUT -i venet0 -p tcp --dport 1723 -j ACCEPT
/sbin/iptables -A INPUT -i venet0 -p gre -j ACCEPT
/sbin/iptables -A INPUT -p icmp -j ACCEPT
/sbin/iptables -A INPUT -i lo -j ACCEPT
/sbin/iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
/sbin/service iptables save
/sbin/iptables -L -v


Now how to add firewall rules in Plesk (onyx) to allow pptp connection covering the above details ?

Is there any default rule which can be added to allow pptp connections at port 1723 ?

Regards.

Arshad Malik.
 

Attachments

  • Firewall.jpg
    Firewall.jpg
    267 KB · Views: 6
Back
Top