On 09/14/2016 11:28 AM, Paul Smith wrote:
On Tue, Sep 6, 2016 at 12:53 PM, Paul Smith <phhs80(a)gmail.com>
wrote:
>>>
>>> I was able to connect to a vpn server (PPTP) with no difficulties. But
>>> now, I get always the following message:
>>>
>>> "VPN connection failed because service stopped".
>>>
>>> From a MS Windows machine, I can connect to the referred vpn server.
>>>
>>> Could someone please help me?
>>
>> The following log may help you:
>
> The problem was related to the firewall, although I had not changed
> anything in the firewall.
>
> The following (done as root) fixed the problem:
>
> firewall-cmd --direct --add-rule ipv4 filter INPUT 0 -p gre -j ACCEPT
> firewall-cmd --direct --add-rule ipv6 filter INPUT 0 -p gre -j ACCEPT
> firewall-cmd --reload
How to make permanent these changes on the firewall?
firewall-cmd --runtime-to-permanent