From owner-freebsd-net@FreeBSD.ORG Fri Dec 19 19:57:55 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21E37106564A for ; Fri, 19 Dec 2008 19:57:55 +0000 (UTC) (envelope-from noah@webclipping.com) Received: from webclipping.com (allresearch.com [38.144.36.20]) by mx1.freebsd.org (Postfix) with ESMTP id EDA188FC17 for ; Fri, 19 Dec 2008 19:57:54 +0000 (UTC) (envelope-from noah@webclipping.com) Received: from webclipping.com (localhost.com [127.0.0.1]) by webclipping.com (Postfix) with ESMTP id D616064FC24; Fri, 19 Dec 2008 12:03:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=webclipping.com; h=cc :message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references; s=selector1; bh=Sv6sbAEQ5cEP/UuLsef6hO3J14Y=; b=cIAzuvUxna87O9O c5yFOUelCovS9ze+0W2/eDVEx2aaXrxHvfoXsvXHVaoCtTperxX68v/LLGqunKZI W6O64MzkbBsppnPySjjYTHhQb9ubbjt9LFZWRXO7I2HUwL2Oq2fuPMt0K5KKKWYJ aNX5NeJY955IySdvUdwGR5D4/c7k= Received: from allresearch.com (localhost.com [127.0.0.1]) by webclipping.com (Postfix) with ESMTP id B983064FC20; Fri, 19 Dec 2008 12:03:34 -0800 (PST) Received: (from nobody@localhost) by allresearch.com (8.13.8/8.13.8/Submit) id mBJK3Xwr060910; Fri, 19 Dec 2008 12:03:33 -0800 (PST) (envelope-from noah@webclipping.com) X-Authentication-Warning: allresearch.com: nobody set sender to noah@webclipping.com using -f X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on allresearch.com X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=RDNS_DYNAMIC autolearn=no version=3.2.5 Received: from [10.0.1.96] (rrcs-64-183-13-250.west.biz.rr.com [64.183.13.250]) by webclipping.com (Postfix) with ESMTP id 23D2A64FC0B; Fri, 19 Dec 2008 12:03:32 -0800 (PST) Message-Id: <1F763AC2-758E-44B7-A241-E50C1F96C6A5@webclipping.com> From: Noah Silverman To: Darren Pilgrim In-Reply-To: <494B93E3.5020202@bitfreak.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Fri, 19 Dec 2008 11:57:31 -0800 References: <494B93E3.5020202@bitfreak.org> X-Mailer: Apple Mail (2.930.3) Cc: freebsd-net@freebsd.org Subject: Re: Surf outside Internet through VPN X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Dec 2008 19:57:55 -0000 I'm not sure that would work. I have my openVPN assigning IPs from a private range, 10.8.0.0 to my laptop. My office gateway is from our ISP on a public IP 123.123.123.123. My guess is that somewhere on the VPN server, I need to configure some kind of route or bridge from the opvnp ip block to the public ip block?? On Dec 19, 2008, at 4:30 AM, Darren Pilgrim wrote: > Noah Silverman wrote: >> I want to find a way to pass ALL traffic from my laptop THROUGH my >> office VPN and then out to the Internet. This is a "road warrior" >> setup. This gives me a few benefits: 1) I can check my email >> securely through VPN. 2) No matter where I am, I will always have >> the external IP of my VPN server when accessing the web. >> I have setup a VPN. Was able to get it working with either tun or >> tap interfaces. That part seems OK. >> Now what?? (I can see and connect to the VPN server with >> '10.0.8.1' easily. I can't see or connect to the outside world.) >> Do I need to add some kind of special route in the routing table? > > If you can talk to arbitrary hosts on your office network--not just > the VPN server--setting your default router to the office's gateway > will achieve what you want. >