[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Gateway setup



Hi all,
     I am having an issue with setting up a machine to act as a gateway;

2 nics -       eth0 internal
     eth1 external

ipchains looks like

Chain input (policy ACCEPT):
Chain forward (policy DENY):
target     prot opt     source                destination           ports
MASQ       all  ------  192.168.0.0/16       anywhere              n/a
Chain output (policy ACCEPT):

nothing is set on the firewall just to test this out.

resolv.conf:
domain mydomain.net
nameserver mynameserverA
nameserver mynameserverB

my host.conf
order hosts,bind
multi on
nospoof on

hosts contains usual suspects ... localhost, machine name and IP's

when ever I try to add the routing info
I get:

/sbin/route add --net 192.168.10.0 255.255.0.0 gw eth1 (ext card)
NET/ROM: this needs to be written

>From the Client(MS-W95):  I can ping either IP address, internal and
external.  but anywhere beyond that, I get request timed out.

ipv4_forward is set to 1

any help would be greatley appreciated.

TIA
**DAN**





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]