Subject: router table
To: tech-net \(E-mail\) <tech-net@netbsd.org>
From: Carleton, Sam \(SCI TW\) <Sam_Carleton_TW@stercomm.com>
List: tech-net
Date: 12/30/2002 12:29:19
Folks,
I have Squid up and running just fine. Squid is running on my firewall, on
port 3128. When a packet comes into my NetBSD 1.6 firewall, I use a ipnat
rule to redirect the packet to port 3128:
rdr ex0 0/0 port 80 -> 192.168.1.1 port 3128 tcp
Yes, my firewall's internal NIC is 192.168.1.1.
Now the problem. I have setup a new server network with one server at
172.16.1.10. The firewall's IP is 172.16.1.1. The problem is that Here is
my routing table info:
Routing table:
Internet:
Destination Gateway Flags
default x.x.x.x UG
x.x.x.x link#3 U
loopback 127.0.0.1 UGR
localhost 127.0.0.1 UH
172.16.1.0 link#2 U
192.168.1.0 link#1 U
I do NOT want to put squid between the two networks. How would I go about
doing that?
Sam