Linux / UNIX Tech Support Forum
This is a discussion on Squid Transparent Proxy iptable rules within the CentOS / RHEL / Fedora forums, part of the Linux Distribution category; I use CentOS 5.2. I want to know that is it necessary to use the fw.proxy script to be able ...
|
|||||||
| CentOS / RHEL / Fedora Discussion about Redhat Enterprise Linux or CentOS or Fedora Linux related problems. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I use CentOS 5.2. I want to know that is it necessary to use the fw.proxy script to be able to use the server as a transparent proxy?
What if I only use the following iptables rules: Code:
iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j DNAT --to 192.168.1.1:3128 iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128 Will the proxy work this way? |
| Sponsored Links | ||
|
|
|
||||
|
Yes, it should work as long as nothing else is blocking out...
__________________
Vivek Gite Linux Evangelist |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to make iptable rules? | saroj | Networking, Firewalls and Security | 7 | 11-03-2009 06:18 PM |
| Squid transparent proxy in ubuntu | Avinash More | Ubuntu / Debian | 3 | 12-02-2009 06:54 AM |
| Squid proxy transparent | xoroz | Linux software | 1 | 02-12-2008 07:51 PM |
| How to Squid 2.6 transparent proxy? | alex.inoa | Networking, Firewalls and Security | 5 | 30-10-2007 03:41 AM |
| transparent squid proxy authentication | chiku | Linux software | 1 | 27-04-2007 04:58 PM |