Click to See Complete Forum and Search --> : Stinkin Newbie Question
tonimontanna
03-25-2001, 07:09 PM
I have a server that I want to use as a firewall. I have to nics and installed a PinFirewall. The install was easy and great. I brought pu the my server (firewall) and it accepted the IP offered by RoadRunner. I can use NSLOOKUP to look up addresses on the net.
The second nic has the IP address of 192.168.1.1. So I set a static route from my workstation to that address.
192.168.1.0
192.168.1.1
255.255.255.0
I cannot surf the net with my workstation.
The Nic located in my workstation is set at 192.168.1.2
WHAT AND WHY?????????
:mad: :mad: :mad: :mad:
Usulsuspct
03-25-2001, 07:31 PM
I am rather fresh to all of this as well...but did you set the gateway address of your workstation to the local net NIC in the server box?
aph3x
03-25-2001, 07:37 PM
are you using IP masquerading on the firewall? if not, thats probably where your problem is... ;)
tonimontanna
03-25-2001, 07:49 PM
Yaaa, I'm using IP masquerading. I haven't set the default gateway just yet. Been busy playing StarCraft.
bdg1983
03-25-2001, 08:17 PM
The workstation still needs the dns servers defined in /etc/resolv.conf in Linux or tcp/ip properties in Windows.
tonimontanna
03-26-2001, 07:25 AM
Ok, I have set the DNS entries for the workstation. I have also set a default gateway.
I'm now dropping packets. When I ping my NIC. My percent of packet loss is like 1/10. I have tried setting the default gateway for both NICs but nothing works.
I'm almost there and I need just a little more help.
:mad: :mad:
LordStanley
03-26-2001, 05:56 PM
Originally posted by tonimontanna:
I have a server that I want to use as a firewall. I have to nics and installed a PinFirewall. The install was easy and great. I brought pu the my server (firewall) and it accepted the IP offered by RoadRunner. I can use NSLOOKUP to look up addresses on the net.
The second nic has the IP address of 192.168.1.1. So I set a static route from my workstation to that address.
192.168.1.0
192.168.1.1
255.255.255.0
I cannot surf the net with my workstation.
The Nic located in my workstation is set at 192.168.1.2
WHAT AND WHY?????????
:mad: :mad: :mad: :mad:
ok , do you have 2 nic cards in the firewall pc? if so they are eth0 and eth1 right? now, eth0 will be the card that goes to the internet ( roadrunner assigned an ip to it ) eth1 will have an address of 192.168.1.1. Your workstation will have the address of 192.168.1.2, with the ip of eth1 as your gateway. On the firewall pc you need to have in the /etc/hosts.conf file ( i think) you need to have the ip and the name of your work station.
*******if you are going straight from one pc to the other WITHOUT a hub you NEED a crossover cable***********
Hope this helps