From owner-freebsd-questions@FreeBSD.ORG Fri Apr 24 22:37:52 2009 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 601F6106564A for ; Fri, 24 Apr 2009 22:37:52 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout014.mac.com (asmtpout014.mac.com [17.148.16.89]) by mx1.freebsd.org (Postfix) with ESMTP id 4C8F08FC13 for ; Fri, 24 Apr 2009 22:37:52 +0000 (UTC) (envelope-from cswiger@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from cswiger1.apple.com ([17.227.140.124]) by asmtp014.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KIM00GMHMUCZC50@asmtp014.mac.com> for freebsd-questions@freebsd.org; Fri, 24 Apr 2009 15:37:24 -0700 (PDT) Message-id: <864001C5-A5F5-4333-89E2-102B2E2CB7B0@mac.com> From: Chuck Swiger To: "Neo [GC]" In-reply-to: <49F23C96.6040105@gothic-chat.de> Date: Fri, 24 Apr 2009 15:37:24 -0700 References: <49F23C96.6040105@gothic-chat.de> X-Mailer: Apple Mail (2.930.3) Cc: freebsd-questions@freebsd.org Subject: Re: strange routing behaviour with openvpn 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: Fri, 24 Apr 2009 22:37:52 -0000 Hi, Neo-- On Apr 24, 2009, at 3:26 PM, Neo [GC] wrote: > After my router gets a new IP, the openvpn client reconnects to the > server and the tunnel is usable from FreeBSD@home to FreeBSD@external. > But: I have one Vista and one OSX at home, both have static routes > to the FreeBSD-box. They are able to use the tunnel, when the > openvpn-client is freshly startet. After getting a new IP from my > ISP, the tunnel is up (and - as I wrote - the FreeBSD is able to use > it), but the two other boxes don't get routed through the tunnel, > but the default gateway. When I restart the openvpn-client, > everythink works again like it should. Not enough info to tell, but, consider the output of "netstat -nr" before and after the IP reassignment, and you'll probably notice a routing table change which is causing your other LAN clients to send traffic the wrong way.... Regards, -- -Chuck