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

FreePBX - PPTP vpn client to remote site

$
0
0

@cadillacrick wrote:

Hey guys,

I have a FreePBX box on which i installed PPTP and open a vpn out to the site where the phones are… when the VPN is active all the extensions register just fine and I can call out just fine…

But when the VPN is active for some reason my incoming calls can’t make it in… I don’t even see an attempt at connection in the CLI…

If I shut down the VPN then the calls come in just fine… but the extensions can’t register… I’m sure its some sort of weird routing issue but I haven’t been able to track it down…

I’m using PPTP… this is what I have in my ip-up.local

–#!/bin/bash
NET1=“10.0.0.0/8”
NET2=“192.0.0.0/8”
IFACE=“ppp0”
route add -net ${NET1} dev ${IFACE}
route add -net ${NET2} dev ${IFACE}

==============================================================

This is what I have in my actual VPN connection file

pty “pptp XXX.XXX.XXX.XXX --nolaunchpppd”
name user
linkname vpn
ipparam vpn
require-mppe-128
refuse-eap
usepeerdns
noauth

#adopt defaults from the pptp-linux package
file /etc/ppp/options.pptp

==================================================

This is in my options.pptp file

–# Lock the port
lock

–# Authentication
–# We don’t need the tunnel server to authenticate itself
noauth

–# We won’t do PAP, EAP, CHAP, or MSCHAP, but we will accept MSCHAP-V2
–# (you may need to remove these refusals if the server is not using MPPE)
refuse-pap
refuse-eap
refuse-chap
refuse-mschap

–# Compression
–# Turn off compression protocols we know won’t be used
nobsdcomp
nodeflate

Any suggestions on how to fix this would be greatly appreciated…

Posts: 4

Participants: 3

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>