• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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