From owner-freebsd-questions Tue Sep 5 22: 1:45 2000 Delivered-To: freebsd-questions@freebsd.org Received: from srcso.globis.ru (globis.ru [212.248.80.7]) by hub.freebsd.org (Postfix) with ESMTP id 1137637B422 for ; Tue, 5 Sep 2000 22:01:41 -0700 (PDT) Received: from raduga.dyndns.org (raduga.sochi.net [212.248.82.76]) by srcso.globis.ru (8.9.3/8.9.3) with ESMTP id JAA11083 for ; Wed, 6 Sep 2000 09:18:36 +0400 (MSD) (envelope-from igor@raduga.dyndns.org) Received: (from igor@localhost) by raduga.dyndns.org (8.10.0/8.10.0) id e8651WI21614 for freebsd-questions@FreeBSD.ORG; Wed, 6 Sep 2000 09:01:32 +0400 Date: Wed, 6 Sep 2000 09:01:32 +0400 From: Igor Roboul To: "'FreeBSD Questions (E-mail)'" Subject: Re: How to Tell FBSD to Use Proxy Server Message-ID: <20000906090132.A21405@linux.rainbow> Reply-To: igorr@crosswinds.net Mail-Followup-To: "'FreeBSD Questions (E-mail)'" References: <8C224DC088D8D111B67D0000F67AC17E029C4A01@ldcmsx01.lc.ca.gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre4i In-Reply-To: <8C224DC088D8D111B67D0000F67AC17E029C4A01@ldcmsx01.lc.ca.gov>; from Drew.Tomlinson@lc.ca.gov on Tue, Sep 05, 2000 at 03:36:03PM -0700 X-Operating-System: Linux linux.rainbow 2.2.14-plus-SMP X-Best-Window-Manager: Window Maker (www.windowmaker.org) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Sep 05, 2000 at 03:36:03PM -0700, Tomlinson, Drew wrote: > I'm not sure I'm making sense but I want to start an ftp session on my > FreeBSD box. My FreeBSD box is only connected via LAN to my Win 2K machine. > The Win 2K machine has an Internet connection and is running proxy server > software (Wingate). I want FreeBSD to connect to the Internet through the > Win 2K machine. Hello, this is not so common :-) Normal way is to use FreeBSD as gate, but there is so nice command by name 'man' (shor of manual) Just say "man ftp" (without quotes on shell prompt) Then search (hit /) for proxy You'll find (near end of manual): ftp_proxy URL of FTP proxy to use when making FTP URL requests (if not defined, use the standard ftp protocol). http_proxy URL of HTTP proxy to use when making HTTP URL requests. To set environment variable use 'setenv ftp_proxy _something_' if your shell is csh/tcsh or 'export ftp_proxy=_something_' if your shell is sh/bash/zsh etc. Place these commands to your starup file (.login for csh or .profile for sh) And, please, before asking something look into documentation. There is so nice command 'man'. Good luck. -- Igor Roboul, Unix System Administrator & Programmer @ sanatorium "Raduga", Sochi, Russia http://www.brainbench.com/transcript.jsp?pid=304744 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message