Hi, i'm trying to setup a linux firewall box (RH 7.1) which have 2 ethernet
cards (one connecting to inet thru a cable modem and getting its IP by DHCP
eth1, and the other local connecting to another box (RH or w2000) eth0)
After reading LDP HOWTOs for some days i still have some questions /
My first question: is there any way of automatically setting the gateway
for the local card so if the real IP address changes the gateway is
autoconfigured? (right now i do this manually editing
Next questions: i want to have a little web server in the other local box,
it should also have almost full access to the internet (browsing webpages,
reading newsgroups, playing multiplayer games... :)
- how do i have to configure ipchains?
- what do you suggest, masquerading, port forwarding or what?
- can you suggest me a tiny configuration for ipchains?
the only way i can make it working now with masquerading is setting all
incoming/outgoing rules to ACCEPT... which turns the firewall quite useless
ah, and do i have to set any special settings of the routes for this system?
as you can see i'm fairly new with networks, and not very good at english
ah the last question, i have noticed the NOTRAILERS setting in the ifconfig
program when getting the inet parameters by DHCP for eth1, i don't know
what it means but i guessed it could be that the packets will not be
forwarded to the local network, so that's the reason for masquerading in
this network (i tried without masq and it didnt worked) but i'm not sure
what it means, nor couldnt find it in the ifconfig manual, anyone can tell
me exactly what it means? Thanks