[opensuse] squid tproxy
Dear all, Is there a howto/tutorial how to set up squid in openSUSE 10.2 with tproxy? Thank you in advance. -- Regards, Adi Nugroho -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Aug 25 2007 15:40, Adi Nugroho wrote:
Dear all,
Is there a howto/tutorial how to set up squid in openSUSE 10.2 with tproxy? Thank you in advance.
I have not actively run it lately, but iirc * grab kernel 2.6.18.8-1.ccj45 (rpm) * grab squid 2.6 (untested) or squid-3.0-322.ccj0.{i586|x86_64}.rpm * set tproxy on and tcp_outgoing_address to your IP address -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 25 August 2007 15:57, Jan Engelhardt wrote:
* grab kernel 2.6.18.8-1.ccj45 (rpm) * grab squid 2.6 (untested) or squid-3.0-322.ccj0.{i586|x86_64}.rpm * set tproxy on and tcp_outgoing_address to your IP address
Thank you for your reply. I have upgraded my kernel: # uname -a Linux Adi-Laptop 2.6.18.8-ccj45-default #1 SMP Fri Mar 2 13:51:59 UTC 2007 i686 i686 i386 GNU/Linux Unfortunately, it is still the same error: Adi-Laptop:/home/adi # iptables -t tproxy -A PREROUTING -i eth0 -p tcp -m tcp --dport 80 -j TPROXY --on-port 80 iptables v1.3.6: Unknown arg `--on-port' Try `iptables -h' or 'iptables --help' for more information. Adi-Laptop:/home/adi # iptables -t tproxy -A PREROUTING -i eth0 -p tcp -m tcp --dport 80 -j TPROXY iptables v1.3.6: Couldn't load target `TPROXY':/usr/lib/iptables/libipt_TPROXY.so: cannot open shared object file: No such file or directory Try `iptables -h' or 'iptables --help' for more information. Can anybody advise me? -- Salam, Adi Nugroho PT. iNterNUX - Internet Service Provider Jalan Dr. Sam Ratulangi No. 53J Makassar Tel. +62-411-834690 Fax. +62-411-834691 CDMA:+62-411-6109535 GSM:+62-816-27-9193 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Aug 29 2007 00:44, Adi Nugroho wrote:
* grab kernel 2.6.18.8-1.ccj45 (rpm) * grab squid 2.6 (untested) or squid-3.0-322.ccj0.{i586|x86_64}.rpm * set tproxy on and tcp_outgoing_address to your IP address
Thank you for your reply. I have upgraded my kernel:
# uname -a Linux Adi-Laptop 2.6.18.8-ccj45-default #1 SMP Fri Mar 2 13:51:59 UTC 2007 i686 i686 i386 GNU/Linux
Unfortunately, it is still the same error:
Adi-Laptop:/home/adi # iptables -t tproxy -A PREROUTING -i eth0 -p tcp -m tcp --dport 80 -j TPROXY --on-port 80 iptables v1.3.6: Unknown arg `--on-port' Try `iptables -h' or 'iptables --help' for more information.
Just use -j REDIRECT --to-port 80 [ Your iptables does not have TPROXY patched in (yeah, the error message is confusing but also happens with -j DOESNOTEXIST --on-port). ] Just FYI: My iptables package (and kernels 2.6.22) contain tproxy version *4*, but squid does not have tproxy4 support yet. So yeah, kinda an awkward position, but I am a bit tight on time so I won't know when I would have the chance to put tp4 into squid. Jan -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Adi Nugroho
-
Jan Engelhardt