Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Gud day to everyone! I would like to ask you guys for help. I was installing squid2.6STABLE17 on my fc6 box. I wanted my proxy server to be transparent when i redirect packets from my packet filter firewall and at the same time allow ping requests, so I inputted the following on configure:
And so I make the file and then did make install. A floury of messages appeared and then suddenly, it stopped and an error appeared. It was something like "No headers for packet filter found, this option will not be enabled". However, squid performed just fine but its still not transparent.
How can I change my squid.conf to make it transparent and allow ping to run through it. Thanx guys!
an error appeared. It was something like "No headers for packet filter found, this option will not be enabled"
You need to install the kernel sources that include the missing kernel headers.
To configure squid 2.6 as a transparent proxy you need just the following line in squid.conf
Code:
http_port xx.xx.xx.xx:3128 transparent
For more details
read this (the part for 2.6 version).
You must first install the kernel sources for your exact kernel version. It's in the installation CD of your distro.
Then to build squid again, you run:
Code:
make clean (to clean your previous attempt)
./configure --enable-pf-transparent --enable-icmp --prefix=/etc/squid
make
make install (as root)
my server just got doped the other day, it wasn't blocking the sites i indicated on the squid.conf. so i finally gave up and reinstalled the whole fc6 + squid2.6. but another problem went up. i tried using yum install squid but i wasnt able to start squid it always fails. then i tried another approach w/c was the make install but i can't start squid properly even though i did an /usr/local/squid/sbin/squid -NCd1 on it and reported : "Ready to accept connections" (it should be fine right?) yet my clients can't connect to it.
i did an /usr/local/squid/sbin/squid -NCd1 on it and reported : "Ready to accept connections" (it should be fine right?) yet my clients can't connect to it.
. Make sure that squid is running and it's listening on the port your clients use to connect:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.