Date: Fri, 14 Jan 2000 12:34:11 +0100 From: Anders Andersson <anders@sanyusan.se> To: freebsd-questions@freebsd.org Subject: gateway problems Message-ID: <20000114123411.A1370@enterprise.sanyusan.se>
next in thread | raw e-mail | index | archive | help
I am trying to set up a gateway box for our LAN. First we have a Class F network, 212.209.55.80/28. Second, I want to use a 192.168. class C net for our internal LAN. I have a old box with two NIC's (ep0 and ep1) running FreeBSD 4.0-CURRENT (in the meantime for 4.0-RELEASE). The gateway box should run natd I guess so the internal LAN (192.168.) could connect to the internet. So far I have set it up like this: ep0 (public interface, connects to the internet) ep1 (internal interface, connects to our internal LAN) some things from /etc/rc.conf ifconfig_ep0="inet 212.209.55.82 netmask 255.255.255.240" ifconfig_ep1="inet 192.168.100.10 netmask 255.255.255.0" defaultrouter="212.209.55.81" (our cisco router that handles the internet connection) gateway_enable="YES" # firewall firewall_enable="YES" firewall_type="open" # natd natd_enable="YES" natd_interface="ep0" a kernel compiled with options IPFIREWALL options IPDIVERT I guess I need to set up some static routing tables, but I have no clue on that yet. I am searhing for maybe some howto or faq about this subject. Cheers, Anders -- Anders Andersson anders@sanyusan.se Sanyusan International AB http://www.sanyusan.se/ 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?20000114123411.A1370>