port forwarding form IP range
no there is only Forward default chain.
I am confused , I have attached herewith my rc.firewall could you please look into.If I am going wrong way.
Thanks
Nilesh,
Quoted 140 lines · --- Seferovic Edvin
-i eth1 -o eth1 ??? How is this suppose to work? Is there any forward chain
on one interface?iptables -A FORWARD -s 192.168.0.10 -i eth1 -d
192.168.0.1 -o eth1 -p tcp --sport 1024:65535
--dport
3128 -j ACCEPT.Regards,
Edvin
Quoted 4 lines · --- Rob Sterenborg
Quoted 3 lines · Nilesh
Thanks Leandro,
I have tried with this rules but unfortunately
not
Quoted 7 lines
Quoted 3 lines
working.
Squid server running on the 192.168.0.3 and its working fine. I have not installed any firewallon
Quoted 3 lines
the 192.168.0.3.
In my Internet browser settings If I chnage the settings from 192.168.0.1:3128 to192.168.0.3:3128
Quoted 8 lines
I
Quoted 5 lines
can surf the web.
but If I dont change to 192.168.0.3:3128 proxy settings I get the connection timout error.I think DNAT is not working
Probably you tell Netfilter to do DNAT, but are
not
Quoted 2 lines
allowing it.
Do you have a FORWARD rule that allows thistraffic
Quoted 16 lines
or is your policy ACCEPT ?
Please don't top-post.
Gr,
RobQuoted 7 lines
Quoted 5 lines · --- Leandro Silva
Hello !
You can use something like that:
iptables -I PREROUTING -t nat -s 192.168.0.10
-p
Quoted 4 lines
tcp
Quoted 3 lines
Quoted 3 lines
--dport 80 -j
DNAT --to 192.168.0.3:3128
iptables -I PREROUTING -t nat -s 192.168.0.10-p
Quoted 5 lines
tcp
Quoted 4 lines
Quoted 4 lines
--dport 3128 -j
DNAT --to 192.168.0.3:3128If you have iprange compiled for iptables you
can
Quoted 11 lines
Quoted 3 lines
Quoted 3 lines
use:
iptables -I PREROUTING -t nat -m iprange
--src-range
Quoted 1 line
Quoted 1 line
192.168.0.10-192.168.0.20 -p tcp --dport 80 -j
DNAT
Quoted 3 lines
Quoted 3 lines
--to
192.168.0.3:3128
iptables -I PREROUTING -t nat -m iprange--src-range
Quoted 1 line
Quoted 1 line
192.168.0.10-192.168.0.20 -p tcp --dport 3128
-j
Quoted 17 lines
Quoted 17 lines
Quoted 17 lines
DNAT --to
192.168.0.3:3128I hope this can help,
Leandro2006/3/11, Nilesh <[email protected]>:
Quoted 10 lines
Dear all,
I have two squid proxy servers and two ISP
1) 192.168.0.1 port 3128
2) 192.168.0.3 port 3128We have around 70 comps assigned IP's between
192.168.0.4 to 192.168.0.250
The default proxy we are using is 192.168.0.1Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
which is
Quoted 2 lines
on the ISP 1.
Now I have configured 192.168.0.3 squid proxyserver
Quoted 2 lines
on ISP 2 line.
Both ISP 1 and ISP 2 are landing (connected)on
Quoted 13 lines
Quoted 4 lines
Quoted 4 lines
the
Quoted 3 lines
same Switch.
Now I want setup the request coming from IP
range
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
(192.168.0.10 to 192.168.0.20) for the
192.168.0.1:3128
Will be forward to 192.168.0.3:3128
So the users from this IP range will accessonly
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
192.168.0.3 proxy server.
Could any one please help me which rules
should
Quoted 14 lines
I
Quoted 9 lines
Quoted 9 lines
use
Quoted 8 lines
in IPTABLES .
I have attached herewith my rc.firewall file.
Please help me.
Regards
Nilesh.__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around
http://mail.yahoo.com
Quoted 9 lines
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around
http://mail.yahoo.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around
http://mail.yahoo.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com