From owner-freebsd-questions Thu Mar 25 19:24:48 1999 Delivered-To: freebsd-questions@freebsd.org Received: from namodn.com (namodn.com [207.33.107.203]) by hub.freebsd.org (Postfix) with ESMTP id E5C8E15110 for ; Thu, 25 Mar 1999 19:24:47 -0800 (PST) (envelope-from nick@namodn.com) Received: from localhost (nick@localhost) by namodn.com (8.9.3/8.9.3) with SMTP id TAA15777 for ; Thu, 25 Mar 1999 19:29:41 GMT Date: Thu, 25 Mar 1999 19:29:41 +0000 (GMT) From: Nick To: freebsd-questions@freebsd.org Subject: Cable modem: Firewall & Ip Aliasing Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, (Sorry, due to my confusion its hard for me to explain in a clear straight forward manner, please pick out usefull information and disregard any repetative information i may explain) I'm trying to set up a LAN which is connected to the internet via cable modem. I am doing this by setting up one computer (lets call it wolf) as a firewall/gateway for my workstation (lets cann it yeaben) Ok so im setting wolf up as the FIREWALL & want to masquerade the internal lan with a net address of 10.x here is my layout _FreeBSD_ 3.0 _SuSE Linux_ 6.0 [-WOLF-] A.B.C.D (outside IP address) [-YEABEN-] 10.2.0.2 | ed1 | eth0 | | | | \_________________________[-HUB-]____________/ | | [-CABLE MODEM-] | | / / [-GATEWAY-] A.B.C.1 | [-DNS-] A.1.64.33 Ok so, Wolf can get out onto the net fine. DNS and Gateway work, Yeaben cannot talk to anything. and wolf connot talk to Yeaben.. Now im trying to get a Firewall (open) setup on wolf, and get IP Aliasing setup on wolf. Im doing this via the instruction of "The Complete FreeBSD" book by Greg Lehey. (great book). Now all ive done (besides pull my hair out and eat and sleep) is set upa basic firewall (i think) an "open" firewall. I set up the kernel, recompiled (put IPDIVERT in it as well). looked in rc.firewall, but and changed some stuff, but it looked different than how it said it looked in the book (probably an older version, im running 3.0). How do i test a firewall to see if it works when its an open firewall, basically there so i can do ip aliasing? Now as far as i could read from the book. all i have to do to set up IP aliasing is but those 3 lines of ipfw in the rc.local and stuff.. Ok now i dont know what you need to know so here are my questions. Question #1: How do i tell if a firewall is set up and working. Question #2: How do i tell wolf that theres an internet network of 10.x's and to look for them on the LAN and not on the net (which it has been doing) Question #3: How do i tell yeaben that it's host is A.B.C.D when it cant get onto the net to go to that address. The only kind of network ive set up before has vbeen a complete internet network with all the IP's of 10.x (Server was 10.2.0.1 and clients 10.2.0.2 and that worked. but when the gateway is now an external IP i dont fully understand how the internal networking is spossed to work. and how the clients are spossed to look for the server (gateway)... I dont have a mouse on this system so it would be a very large hassle to put info from my files for you to look at... but i will if you need them... but im hoping maybe i can get some help and get this working without it. please respond with any help. Ive spent along time on this message and working with this and i need some responses to ease my frustration ;) - Nick : nick@namodn.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message