|
| |||||
| Home | Reviews | Tools | Forums | FAQs | Find Service | ISP News | Maps | About |
how-to block ads |
If you don't want to purchase a second NIC, you'll have to bind two IP addresses to the same interface. Suppose you have a single IP from your ISP. Let's say it's 192.168.1.1. Suppose your internal network uses the IP range 10.1.1.0 - 10.1.1.255 exclusive. The single NIC in your system is device "ep0". In your /etc/rc.conf you would have:
ifconfig_ep0_alias0="inet 10.1.1.1 netmask 255.255.255.0" gateway_enable="YES" router_enable="YES" This setup is not secure if you don't set up ipfw or similar. After you have filtering configured and enabled, you should be secure if you have a routed connection to the Internet. You could theoretically have trouble if your connection is bridged, or if you have a cable modem. It really depends on the characteristics of your internal network. You'll probably need NAT as well. Note: I tested this on FreeBSD 3.4. The 4.x series should be the same, but your mileage may vary.
| |||||
| Tuesday, 22-May 02:03:37 | Terms of Use & Privacy | feedback | contact | Hosting by nac.net - DSL,Hosting & Co-lo over 12.5 years online © 1999-2012 dslreports.com. |