Re: Shorewall and squid transparent proxy problem

2011-04-06 Thread Николай Федосов
The most simple way is: Put here the commands output: iptables -t filter -L iptables -t nat -L iptables -t mangle -L And this will be the start point! If you also write about your goals (I remember about squid) It will be great 06.04.2011 05:40, Diego Xirinachs пишет: Thanks a lot for your

Re: Shorewall and squid transparent proxy problem

2011-04-05 Thread Diego Xirinachs
Thanks a lot for your input, to answer your questions and clarify further, - I had the ACCEPT rule before the REDIRECT one before asking for help, and didnt work also, will change it back and leave it like that, so rules order would be: ACCEPT$FWnettcpwww REDIREC

Re: Shorewall and squid transparent proxy problem

2011-04-05 Thread Николай Федосов
06.04.2011 01:43, Diego Xirinachs пишет: DNS is already accepted on my shorewall rules file, here is the complete file, I dont know why I didnt post it complete earlier. REDIRECTloc3128tcpwww- ACCEPT$FWnettcpwww ACCEPT

Re: Shorewall and squid transparent proxy problem

2011-04-05 Thread Diego Xirinachs
DNS is already accepted on my shorewall rules file, here is the complete file, I dont know why I didnt post it complete earlier. # #ACTIONSOURCEDESTPROTODESTS

Re: Shorewall and squid transparent proxy problem

2011-04-05 Thread Николай Федосов
My proposal is to change the order of your rules... But the true way is to : apt-get purge shorewall (it is very complicated, more complicatated than iptables) 05.04.2011 13:29, Diego Xirinachs пишет: >> My /etc/shorewall/rules are setup with this ACCEPT and REDIRECT rules: >> >> #ACTION SOU

Re: Shorewall and squid transparent proxy problem

2011-04-05 Thread DULMANDAKH Sukhbaatar
You need to allow outgoing DNS requests to make squid work properly. On 5 Apr 2011 07:08, "Diego Xirinachs" wrote: > Hi all, speaking of gateways and shorewall, I bumped into a problem today > with it. I have a 10.04 LTS server setup at a small office running shorewall > and squid, clients are co

Re: Shorewall and squid transparent proxy problem

2011-04-05 Thread Diego Xirinachs
Forget my ignorance. How do I show those IP tables you want? I thought that shorewall's job was to configure the iptables in an easy way. Isn't it? Also, according to shorewall's documentation, it is correct to put the destination port there. I double checked it by running "sudo shorewall check" a

Re: Shorewall and squid transparent proxy problem

2011-04-04 Thread Николай Федосов
May be iptables better ? Error 137 (net::ERR_NAME_RESOLUTION_FAILED): Unknown error. My /etc/shorewall/rules are setup with this ACCEPT and REDIRECT rules: #ACTION SOURCE DEST PROTODEST PORT(S) SOURCE ORIGINAL # PORT(

Shorewall and squid transparent proxy problem

2011-04-04 Thread Diego Xirinachs
Hi all, speaking of gateways and shorewall, I bumped into a problem today with it. I have a 10.04 LTS server setup at a small office running shorewall and squid, clients are configured MANUALLY to use the proxy server, but now I want to make this proxy transparent and let shorewall redirect the pro