salam
I use squid with transparent proxy. Everything work fine. When i use proxy in browser and open some website which use java applet could not be open with proxy. I want to allow these web site with proxy.
Thanks
Majid
Squid with proxy
-
- Naik
- Posts: 60
- Joined: Wed Oct 05, 2005 12:37 pm
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re:
Dear majidnazeer,
Salam,
Below command will help you. If you still face any problem you can paste you configuration file along with your firewall rules.
# iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
Best Regards.
Salam,
Below command will help you. If you still face any problem you can paste you configuration file along with your firewall rules.
# iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
Best Regards.
Farrukh Ahmed
Salam.
yes Farrukh bhai you are right. Masquerading the outgoing interface will make JAVA Applet work fine, and many other Apps.
yes Farrukh bhai you are right. Masquerading the outgoing interface will make JAVA Applet work fine, and many other Apps.
Kind Regards
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
Mudasir Mirza (RHCE)
(+971)55-1045754
http://www.crystalnetworks.org
http://www.diglinux.com
-
- Naik
- Posts: 60
- Joined: Wed Oct 05, 2005 12:37 pm
Dear Farrukh!
I use your mention rule already. My firewall rule are under.
echo "1" > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -o eth1 -j MASQUERADE
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080
squid config file is same as other squid server config file which is web site are run perfectly.
Thanks
Majid
[/quote]
I use your mention rule already. My firewall rule are under.
echo "1" > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -o eth1 -j MASQUERADE
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080
squid config file is same as other squid server config file which is web site are run perfectly.
Thanks
Majid
[/quote]
-
- Naib Subedar
- Posts: 347
- Joined: Thu Aug 18, 2005 9:25 am
- Location: Attock
- Contact: