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

pf squid bridge



Hello again,

I seem (?) to have made some progress.

Quickly, I have a machine like this:

Internet-----Router----LAN-----OpenBSDbox-----mypc

To test.  Eventually it will be:

Internet------Router----OpenBSDbox-----LAN

rl0 is connected to mypc, xl0 to the LAN.

 From mypc, I can check my mail.  I cannot ping beyond rl0.  I cannot 
directly view any websites.  However, if I set my browser to a proxy at 
rl0's address port 80, and type in the IP address of my Intranet server 
within LAN, I can view the pages through squid!

I cannot hit any webserver beyond the router.  Not even by typing in the 
IP address directly.

Is this just a problem with DNS under squid?

In my cache.log file, it says:

DNS Socket created at 0.0.0.0, port 9520

My pf.conf:

rdr on rl0 inet proto tcp from 192.168.1.0/24 to any port 80 -> 
192.168.1.48 port 80
pass in all
pass out all

BTW, rl0 is 192.168.1.48

Thanks!


-- 
Lincoln Rutledge
Information Technology Manager
Fairfield County District Library
www.fairfield.lib.oh.us

Open Source Automation Software - oss4lib.org