nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

SQuid Proxy Server AND IpTables

This is a discussion on SQuid Proxy Server AND IpTables within the Proxy Servers forums, part of the Mastering Servers category; Hello EVeryOne I am going to use squid and iptables on same server my squid work perfect without iptables but ...

Register free or login to your existing account and remove all advertisements.


Go Back   nixCraft Linux Forum > Mastering Servers > Proxy Servers

Linux answers from nixCraft.


Proxy Servers Discussion about UNIX / Linux caching proxy servers, web proxy, reverse / content filtering proxy server.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-21-2009, 11:21 PM
Junior Member
User
 
Join Date: May 2009
OS: Ubuntu
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
umer is on a distinguished road
Default SQuid Proxy Server AND IpTables

Hello EVeryOne I am going to use squid and iptables on same server
my squid work perfect without iptables
but when i use rules in iptables it does not work

should i change anything in config file of squid (for iptables)?

Hier is my rules

Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all -- 192.168.20.0/24 anywhere
ACCEPT all -- anywhere 192.168.20.0/24
ACCEPT tcp -- anywhere anywhere tcp dpt:www

Chain FORWARD (policy DROP)
target prot opt source destination

Chain OUTPUT (policy DROP)
target prot opt source destination
ACCEPT all -- 192.168.20.0/24 anywhere
ACCEPT all -- anywhere 192.168.20.0/24
ACCEPT tcp -- anywhere anywhere tcp spt:www


after these rule when i surf to webside then i have timeout from proxy server(squid)
what i should do now??
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Squid Proxy server on Linux basha Getting started tutorials 0 03-12-2008 02:16 AM
Restrict number of simultaneous proxy connections in SQUID proxy pkvmreddy Getting started tutorials 1 06-15-2007 03:52 PM
Access yahoo messenger voice and webcam via squid proxy server lacloai Linux software 3 06-05-2007 10:24 AM
Squid Proxy Server lacloai Linux software 3 06-02-2007 10:19 PM
Squid Proxy bubloob_13 Linux software 4 12-03-2006 11:26 PM


All times are GMT +5.5. The time now is 05:34 PM.


Powered by vBulletin® Version 3.8.4 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2009 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38