Hi All,here is the script that i modify to use for various parameters. have fun.
I've got a single RH 8.0 box I'm setting up as a firewall, 2 nics in two separate IP domains. IPTables is not running yet as I want to get routing straight before I start iptables. Using route -add I have added net work "A" go out eth0 and network "b" go out eth1 and all is fine when pinging from the box itself - I can ping both sides - any host from network "A" or "B" can be reached from the box.
I drop back to a host on a hub behind network "A" and I can ping both interfaces on the firewall - netstat -rn on the host confirms proper routing. Same from a host inside network "B" - I just cannot ping across. Since the route -show on the future firewall box has the proper routes how do I get them to route across?
Do I need to run gated like I'm used to doing on the HPUX boxes - I thought simple 2 ip domain with static routes should do the trick? No dynamic routing protocols going on, just 2 simple subnets.
Thanks for any help
Mike Pacheco
-- <<gyoo [at] attbi [dot] com>>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (GNU/Linux)
iQCUAwUBPhxERRxoVYCzmrKXAQJK5gP3Y7CTsFyKpEz2p5W4GWI9+qSm+kWfdJ0R xNlma0Ma9rAL/OBJcZMo5IXyXas+3Edogbv4Al6dIf8lot1WS0Iaxxl/cg2f7gf+ otf7LfNpZDE/6OzR7A1qN6baPMLSjGzywwQWMfSVuWWb6kGQxMsA13Kn68G7Ozxs 5CODZqUPyg== =AolA -----END PGP SIGNATURE-----
firewall-primary.sh
Description: Bourne shell script