Quantcast
Channel: Distro Discussion & Help - FreePBX Community Forums
Viewing all articles
Browse latest Browse all 1373

Outgoing PPTP and Sangoma firewall

$
0
0

@cswilsn2k wrote:

Hello Everyone,

I’m trying to find some information on the sangoma firewall, I’m trying to establish a remote pptp connection to a server however it is failing when the firewall is enabled.

i’m digging through the iptables rules but its getting a bit confusing.

When the firewall is enabled, connections time out:

[root@server1 ~]# pppd call vpn
using channel 17
Using interface ppp0
Connect: ppp0 <–> /dev/pts/1
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x2ea47fc2> ]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x2ea47fc2> ]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x2ea47fc2> ]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x2ea47fc2> ]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x2ea47fc2> ]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x2ea47fc2> ]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x2ea47fc2> ]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x2ea47fc2> ]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x2ea47fc2> ]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x2ea47fc2> ]
LCP: timeout sending Config-Requests
Connection terminated.
Modem hangup

With the firewall disabled, it works fine:

[root@server1 ~]# pppd call purevpn
Using interface ppp0
Connect: ppp0 <–> /dev/pts/1
CHAP authentication succeeded
MPPE 128-bit stateless compression enabled
local IP address 172.94.45.14
remote IP address 172.94.45.5

Any help would be greatly appreciated, I have already added PPTP (1723) and GRE (47) to the firewall custom ports in services.

Best Regards,

Chris

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 1373

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>