From owner-freebsd-questions@FreeBSD.ORG Thu May 29 10:13:10 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9EB441065677 for ; Thu, 29 May 2008 10:13:10 +0000 (UTC) (envelope-from freebsd@violetlan.net) Received: from mail.violetlan.net (host-80-81-242-13.violetlan.net [80.81.242.13]) by mx1.freebsd.org (Postfix) with ESMTP id 5595E8FC16 for ; Thu, 29 May 2008 10:13:10 +0000 (UTC) (envelope-from freebsd@violetlan.net) Received: from mail.violetlan.net (localhost [127.0.0.1]) by mail.violetlan.net (Postfix) with ESMTP id B4EF211460 for ; Thu, 29 May 2008 11:14:17 +0100 (BST) Received: from www.violetlan.net (mbali.violetlan.net [10.0.100.150]) by mail.violetlan.net (Postfix) with ESMTP id 8272511426 for ; Thu, 29 May 2008 11:14:17 +0100 (BST) Received: from 212.183.134.209 (SquirrelMail authenticated user freebsd@violetlan.net) by www.violetlan.net with HTTP; Thu, 29 May 2008 11:13:35 +0100 (BST) Message-ID: <28936.212.183.134.209.1212056015.squirrel@www.violetlan.net> Date: Thu, 29 May 2008 11:13:35 +0100 (BST) From: "Reinhold" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.5.1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP Subject: mpd5 stoped working after subnet change X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 May 2008 10:13:10 -0000 Hi I'm using mpd5 for pptp connections and last night I had to change our subnet from 192.168.1.0/24 to 10.1.10.0/24 after I've made all the changes to all the config files I rebooted and everything is working except for pptp. I'm using mpd5 for 2 x adsl pppoe and pptp. Here is the pptp section pptp: set ippool add pool1 10.1.10.220 10.1.10.239 create bundle template B set iface enable proxy-arp set iface idle 1800 set iface enable tcpmssfix set ipcp yes vjcomp set ipcp ranges 10.1.10.1/32 ippool pool1 set ipcp dns 10.1.10.5 208.67.222.222 set bundle enable compression set bundle enable crypt-reqd set ccp yes mppc set mppc yes e40 set mppc yes e128 set mppc yes stateless create link template L pptp set link action bundle B set link enable multilink set link yes acfcomp protocomp set link no pap chap set link enable chap set link keep-alive 10 60 set link mtu 1460 set pptp self external-ip set link enable incoming and then in my pf.conf if_pptp = "{ ng2, ng3, ng4, ng5, ng6, ng7, ng8, ng9, ng10, ng11, ng12, ng13, ng14, ng15, ng16, ng17, ng18, mg19, ng20, ng21 }" # PPTP in WAN1 pass quick log on $ext_if1 inet proto gre all keep state pass quick log on $ext_if1 proto {tcp, udp } from any to 217.41.34.61 port = 1723 keep state pass quick log on $if_pptp from any to any keep state I'm getting an Error 800: Unable to establish a VPN connection. This used to work well before I changed the subnet last night. Any idea why its not working anymore? Thanks Reinhold