From owner-freebsd-questions Wed Jan 30 22:20:26 2002 Delivered-To: freebsd-questions@freebsd.org Received: from hsd.com.au (CPE-144-132-42-44.vic.bigpond.net.au [144.132.42.44]) by hub.freebsd.org (Postfix) with ESMTP id DD8C237B400 for ; Wed, 30 Jan 2002 22:20:21 -0800 (PST) Received: from ariel by hsd.com.au with SMTP (MDaemon.v3.0.1.R) for ; Thu, 31 Jan 2002 17:17:25 +1100 Reply-To: From: "Andrew Cowan" To: "Trevor Osatchuk" , Subject: RE: more: vpn from behind firewall Date: Thu, 31 Jan 2002 17:17:25 +1100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-MDaemon-Deliver-To: freebsd-questions@FreeBSD.ORG X-Return-Path: andrew.cowan@hsd.com.au X-MDRcpt-To: freebsd-questions@FreeBSD.ORG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ______ _________ ________ |my | | firewall| |my home | |laptop|-----| on ski |------WWW-----|firewall|--- Home Network |______| |__hill___| |________| (ssh) sshd putty Under putty connection configuration -> Connection -> ssh -> tunnels Source port = 110 Destination = (could be gateway or another server) = 192.168.1.X:110 = 127.0.0.1:110 And add local forwarded port.. Save the connection settings and connect... Configure notebook mail client to connect to popserver address of 127.0.0.1 ie. The mail client is connecting to putty which forwards the port to the bsd sshd, that then proxies the connection. If notebook is running ssh then it can be run with: "-L listen-port:host:port Forward local port to remote address" etc.. You can forward as many ports as you need to, so you can handle two port services such as pcanywhere. Sorry, its a bit brief - ask me if you need more info (hope it is all accurate) Could not remember any websites that describe this.. Maybe it could be added to the bsd handbook :) Cheers, Andrew Cowan > It has been suggested that my description was vague, so I hope this will > clarify. > > > ______ _________ ________ > |my | | firewall| |my home | > |laptop|-----| on ski |------WWW-----|firewall|--- Home Network > |______| |__hill___| |________| > > I am on vacation and am attempting to send and recieve email. Now, I can > get my email, but am having trouble sending. I want to put my > laptop onto > my lan via vpn so that I can send eamil from my home account. > Also, I want > to have access to my computers behind the firewall. I have been given a > 192.168.1.x ip, so I am behind a nat or proxy, not sure. Is there a way > that I can set up a vpn from where I am? Or, can I use my firewall as a > proxy? Can I set up a ssh tunnel to my firewall and then foward > that port > on my firewall to the appropriate mail/news servers? > > Thanks, > > fybar > > _________________________________________________________________ > Chat with friends online, try MSN Messenger: http://messenger.msn.com > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message