From owner-freebsd-questions@FreeBSD.ORG Sun Sep 4 03:05:59 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BF48106566B for ; Sun, 4 Sep 2011 03:05:59 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id E0ED18FC14 for ; Sun, 4 Sep 2011 03:05:58 +0000 (UTC) Received: by fxe4 with SMTP id 4so3499156fxe.13 for ; Sat, 03 Sep 2011 20:05:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=4Wn/0uzDP7NKsEak2MfLYxMk/M3LKxHa8OVBv8E6tfc=; b=i2dH2HIRTcIg8pxVm8jyOLdPWy1ItbnMvjnUh76Y2sqHi86ktd9enBfYDxOFWC04X5 4M2ndEQsFj/7pFPjQML/6EkuBGYXDYDE+KFNhrJkExgDZFKZXfT7AJWegc5Zas9FgZm+ D9zIIZ0zq324lED4Ydn6SGw5bk4WoZvWgzK9c= MIME-Version: 1.0 Received: by 10.223.6.91 with SMTP id 27mr2121540fay.145.1315105557796; Sat, 03 Sep 2011 20:05:57 -0700 (PDT) Received: by 10.223.120.72 with HTTP; Sat, 3 Sep 2011 20:05:57 -0700 (PDT) In-Reply-To: References: Date: Sat, 3 Sep 2011 22:05:57 -0500 Message-ID: From: Adam Vande More To: Monkeyfoahead Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Routing Woes 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: Sun, 04 Sep 2011 03:05:59 -0000 On Sat, Sep 3, 2011 at 8:16 PM, Monkeyfoahead wrote: > I have a question that I thought that you could probably answer. I > have setup a freebsd seedbox in my apartment. This box has two internet > connections (multi-homed server.). One is an ethernet connection behind a > firewall that is connected to a Comcast modem. The other is my apartment's > wifi. I desire to use the wifi for torrenting and my connection for > http,ftp, and ssh access. The proper ports have been forwarded to the > freebsd server from the firewall on the Comcast connection. My problem is > when the default route is set to go over the wifi, i cannot access the > server from the comcast modem address. When my default route is set to go > over the modem, my server is accessible to the outside world. > > Due to the nature of the torrent-dameon i am using. I must have the default > route go over the wifi connection. Is there a route i can add that will fix > my problem? > I believe you'll want to use fib's eg setfib(1) and assign your torrent client to use the fib associated with your wifi. -- Adam Vande More