Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Routing through firewall

Status
Not open for further replies.

jenlion

IS-IT--Management
Nov 13, 2001
215
Hello,

I know little about unix. We have a SCO system that will be accessed remotely via telnet.

I've set up my firewall to send telnet requests to the internal unix machine. Internal network monitoring shows that external IPs are indeed being sent to the unix IP address.

Unix box isn't responding.

I was told to do this: route add 0.0.0.0 192.168.101.253 3. (192.168.101.253 is my internal firewall gateway). This did nothing. Found a command netstat -nr, and it gives me this:

Routing tables
Destination Gateway Flags Refs Use Interface
default 192.168.101.123 UGS 0 0 net0
127.0.0.1 127.0.0.1 UH 3 9811 lo0
192.168.101 192.168.101.123 UC 1 0 net0
192.168.101.123 127.0.0.1 UGHS 5 112 lo0
224 192.168.101.123 UCS 0 0 net0


I need to set this up -- any idea what I need??
 
DNS resolution of the remote machines is probably the problem.

does your dns exist in /etc/resolv.conf ?
your default route is correct going to your router/gateway, you might need to set the dns to this address as well, or to your isp's dns.
 
Actually, the default route turned out to be the problem. .123 is the machine. (Duh. Told you I knew nothing about how Unix does things. Now I know). Found out that I had to remove the default route and add it back with the correct gateway. I inherited the machine from someone who must have set the default route up wrong... it's finally working now.

Thanks for the answer, though. If I ever need to resolve anything (right now I can't), I know where to look now.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top