From owner-freebsd-questions Fri Feb 2 17:02:01 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id RAA24668 for questions-outgoing; Fri, 2 Feb 1996 17:02:01 -0800 (PST) Received: from csugrad.cs.vt.edu (csugrad.cs.vt.edu [128.173.41.74]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id RAA24647 for ; Fri, 2 Feb 1996 17:00:57 -0800 (PST) Received: (jagnew@localhost) by csugrad.cs.vt.edu (8.6.12/8.6.4) id UAA31079; Fri, 2 Feb 1996 20:00:21 -0500 Date: Fri, 2 Feb 1996 20:00:20 -0500 (EST) From: "H. Jared Agnew" To: questions@freebsd.org Subject: A FreeBSD firewall. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org Precedence: bulk I'm having a bit of a problem, I am trying to figure out why a call to netstat -r (reports this) bash$ netstat -r Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default rh-igs.e1.cns.vt.e UGSc 6 1 ep0 LOCALHOST LOCALHOST UH 1 0 lo0 128.173.208 link#2 UC 1 0 rh-igs.e1.cns.vt 0:0:c:5:e8:1e UHLW 6 0 ep0 644 hagnew LOCALHOST UGHS 0 0 lo0 BASE-ADDRESS.MCA link#2 UCS 0 0 I understand the two first lines are my default route to my lan's gateway, and the local host loop. But my question is about the next four lines, 128.173.208 is the IP of my gateway, and rh-igs.e1.cns.vt.edu is its hostname, I know that the 6 hex numbers are the hardware address for the gateway. I think that the "W" in the flags colom was automaticaly put there. But one of the things I dont understand about the last four lines is there is something called link#2, but in the example at: "http://www.freebsd.org/handbook/handbook173.html#304" the links are link#1, I only have one ethernet card in the machine now, and it still reports link#2? I also dont understand why the 5th line is there, unless it is in sysconfig? My second to last question is what is that last line? I have no idea what the destination is? The last question is more of just an email, I would like to setup a firewall with my machine, but I am not really sure what to fiddle with in the sysconfig file. If you have a firewall on your freebsd box with ethernet devices connecting you to the internet, and ethernet devices connecting to machines behind your fire wall would you send me a copy of your sysconfig file, and a really basic description, maybe a netstat -r printout, of what your system setup is. Thanks for any help --- Jared --jared@vt.edu Sorry about spelling, must be line noise over my ethernet connection! |------------------------------------| ____ ____ | H. Jared Agnew | jared@vt.edu | | __| | __| | http://csugrad.cs.vt.edu/~jagnew | | |__ | |__ | phone : (540) 232-4438 | | ___| |___ | | alias : killdash9 | | |__ __| | |------------------------------------| |____| . |____| .