Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Mar 1999 19:29:41 +0000 (GMT)
From:      Nick <nick@namodn.com>
To:        freebsd-questions@freebsd.org
Subject:   Cable modem: Firewall & Ip Aliasing
Message-ID:  <Pine.BSF.3.96.990325190353.15727A-100000@namodn.com>

next in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990325190353.15727A-100000>