LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-14-2010, 11:53 PM   #1
asifbasha
Member
 
Registered: Feb 2009
Posts: 98

Rep: Reputation: 15
Squid with iptables


Hai to all

i have the following ip assignments

fedora (iptables)
eth0 -private :192.168.1.1
eth1 -public : 186.117.50.6

squid proxy
192.168.1.10:3128

my clients range

192.168.2.0/24

how can i make my clients to browse internet only from proxy server

my network is NAT 'ed .

Please specify a iptable rule to allow internet access for my clients to browse ONLY if they come through proxy server .

Thanks in advance to all
 
Old 06-15-2010, 01:16 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Don't double/cross-post, it is against the LQ rules.

Continue here.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Iptables with squid asifbasha Linux - Networking 1 06-15-2010 04:20 AM
squid + iptables nomankhn Linux - Networking 0 06-16-2006 02:33 AM
iptables+squid alcor Linux - Networking 1 11-02-2005 05:13 PM
squid + iptables varun_saa Mandriva 10 02-11-2005 09:27 PM
iptables and squid batfink Linux - Networking 3 09-15-2003 02:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration