From owner-freebsd-questions Thu Nov 14 7:42:41 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3637C37B401 for ; Thu, 14 Nov 2002 07:42:40 -0800 (PST) Received: from mail.gbronline.com (mail.gbronline.com [12.145.226.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 41D4343E3B for ; Thu, 14 Nov 2002 07:42:39 -0800 (PST) (envelope-from kdk@daleco.biz) Received: from DaleCoportable [12.145.226.114] by mail.gbronline.com (SMTPD32-7.13) id A3CE2A8B01EA; Thu, 14 Nov 2002 09:39:58 -0600 Message-ID: <013101c28bf3$fd0e1eb0$fa00a8c0@DaleCoportable> From: "Kevin D. Kinsey, DaleCo, S.P." To: "Jay" , References: <001a01c28bf1$7fe098c0$6dde630c@jay> Subject: Re: Changing IP and ports served on Date: Thu, 14 Nov 2002 09:39:14 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 From: "Jay" Subject: Changing IP and ports served on > 1. I need to re-assign the static IP that is on the box > to an IP within my internal network at home. I know > it is just as simple as changing the 12.x.x.x number > to a 192.x.x.x number in a file, I just don't know which > file. > /etc/rc.conf, most likely. > 2. There weren't any blocked ports at work. So > I could use the standard ports for ftp and http. But > at home I have CoxCable and they block 21 and 80 > and maybe some others that I am ot sure of. How > do I change what ports ftp and http are served off of > on my server. When I originally set up the box I > actually have 2 ftp ports (16 and 21) I just can't > remember where I changed that. And do I change the > http in the same place? > If you're using apache, you tell it which ports to listen on in httpd.conf, which is located in various places depending on how the program was installed. Check /usr/local/www/conf/, and /usr/local/etc/apache/ for starters. If you just have ftp for yourself, I'd suggest looking into sftp over the SSH port (22). If the server is meant to be publicly available, I'm not much help. The only ftpd I've ever used is FBSD's base system one, and I ran it vanilla straight out of /etc/inetd.conf..... Incidentally, my servers are on Cox Cable, but those ports aren't blocked. I am going to assume that's because of their tiered packaging---these boxes are on "business" links....but it's interesting to learn that about this ISP. > I tried searching for "Changing ports" in google but it > kicked back massive amounts of links on installing > and changing programs (ports) in FreeBSD. > > Jay Kevin Kinsey DaleCo, S.P. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message