[Q] Some newbie questions.....

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



G'Day,

I have the following setup: CAPS = Device / Machine

-	ROUTER: WAN Address: xxxxxxxxx LAN Address: 192.168.40.1
-	IPTABLES: 1 LAN Interface 192.168.40.5 (Gateway: 192.168.40.1)
-	PROXY: 1 LAN Interface 192.168.40.10 (Gateway: 192.168.40.5)

I have a number of other machines also on the 192.168.40/24 network who all
have their GW set to 192.168.40.5. What I want NETFILTER to do is the
following:

-	Have a transparent proxy such that any port 80 connections from
these machines get processed by PROXY on port 3128
-	Allow all established connections from these machines to be allowed
out via 192.168.40.1 otherwise disallowed
-	IPTABLES to do no NAT as that is already being done by ROUTER

Can anyone help me with some sample rules to get going?

TIA

--Donovan 
Web: http://www.edye.wattle.id.au <http://www.edye.wattle.id.au/> 
----------------------------------------------------------------------
SetiStats - Get your SETI statistics delivered to your mailbox daily.
http://www.edye.wattle.id.au/p.php?page=/delphi/setistats
---------------------------------------------------------------------- 


<<attachment: winmail.dat>>


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux