Norberto BENSA <[EMAIL PROTECTED]> wrote: (03/13/2003 14:27) >Hello, > >I need some info to setup a Gentoo box as a firewall/router. I'm currently >running Win95+Winroute here, but I'd like to replace that machine. > >What's the configuration for eth0 and eth1 in /etc/conf.d/net? My eth0 goes to >my home network (192.168.1.) and eth1 goes to my ADSL provider (IP assigned >via DHCP) > >Can someone please check if I'm doing it well? > >#/etc/conf.d/net >iface_eth0="192.168.1.254 broadcast 192.168.1.255 netmask 255.255.255.0" >iface_eth1="dhcp" > >Is that correct? Will it work?
Yes that looks ok, I have a very similar configuration. > >Many thank in advance, >Norberto > >PS: next step is to setup PPPoE and iptables... Then I can throw away that >Windows machine!!! :-)) > >Oh, BTW, if someone knows a HOWTO pppoe/iptables for dummies, please, drop me >a line. Thanks! Dont mess with iptables directly unless you know exactly what you are doing. You are much better off using a configurable script such as gshield (in net- misc) or one of the other firewalls in net-firewall. Cant help you with pppoe though. FVA -- [EMAIL PROTECTED] mailing list
