From owner-freebsd-questions@FreeBSD.ORG Sat May 26 14:40:46 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DF89716A400 for ; Sat, 26 May 2007 14:40:46 +0000 (UTC) (envelope-from peter@topcomtech.com.cn) Received: from mail.topcomtech.com.cn (61-221-55-190.HINET-IP.hinet.net [61.221.55.190]) by mx1.freebsd.org (Postfix) with ESMTP id 75A2013C469 for ; Sat, 26 May 2007 14:40:46 +0000 (UTC) (envelope-from peter@topcomtech.com.cn) Received: from pjf2.fbsd.home (17.17.136.219.broad.gz.gd.dynamic.163data.com.cn [219.136.17.17] (may be forged)) (authenticated bits=0) by mail.topcomtech.com.cn (8.14.1/8.14.1) with ESMTP id l4QEeUAc001138 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 26 May 2007 22:40:39 +0800 (CST) (envelope-from peter@topcomtech.com.cn) Received: from pjf2.fbsd.home (localhost.fbsd.home [127.0.0.1]) by pjf2.fbsd.home (8.14.1/8.14.1) with ESMTP id l4QEe14j001183 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 26 May 2007 22:40:01 +0800 (CST) (envelope-from pjf@pjf2.fbsd.home) Received: (from pjf@localhost) by pjf2.fbsd.home (8.14.1/8.14.1/Submit) id l4QEdu1v001179 for freebsd-questions@freebsd.org; Sat, 26 May 2007 22:39:56 +0800 (CST) (envelope-from pjf) Date: Sat, 26 May 2007 22:39:55 +0800 From: User Pjf To: freebsd-questions@freebsd.org Message-ID: <20070526143955.GA1122@pjf2.fbsd.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i Subject: openvpn on freebsd problem 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: Sat, 26 May 2007 14:40:47 -0000 Hello list: I install openvpn from port. Follow openvpn.net howto, vpn can connect from client to server, but on client side, I cann't ping server side other machines. On my server side, vpn server and gateway is same one box, I use dev tun, the server has a public static ip address, install nat,ipfw for internal net to Internet. In refer to howto, "Make sure that you've enabled IP and TUN/TAP forwarding on the OpenVPN server machine." I know IP forwarding is work fine, but how to enable TUN forwarding? Thanks. pei