Network Troublshooting > Linux Proxy Server Support

YAHOO CHAT ROOM through yahoo messenger using squid proxy

<< < (4/8) > >>

Ricky:
If you are doing Maquerading ie. NAT then you should not face voice problem. I suggets you to turn of redirection  so that we can check few thigns and see if it works, if still it won't then you must have some firewall rules set in system then you will have to review them.

ffidx:
As I've sent you all my configuration. Plz point out my mistake. or plz send me some appropriate configuration.

Thanks,
Regards,
Farrukh

ffidx:
should I use SNAT like

iptables -t nat -A POSTROUTING -i eth1 -p tcp -m multiport --dport 5050,11999,5000,5001,5100 -j SNAT --to-source xxx.xxx.xxx.xxx

Then here what source ip should I use, in my case eth0 is my internet NIC and eth1 is my LAN

eth0 = 192.168.0.6/24
eth1 = 192.168.11.0/24

--to-source xxx.xxx.xxx can i use 192.168.0.6 beacause in MASQUERADING it used by default

Sir plz help me

Ricky:
give me line of masquerade also as well as make sure that you are using right DNS server in your clients.. if you have enabled caching nameserver then use ur server's IP as use ur ISP's IP as DNS server.

ffidx:
iptables -t nat -A POSTROUTING -s 192.168.11.0/24 -d ! 192.168.11.0/24 -o eth0 -j MASQUERADE

This line I am using for masquerading, my eth1 lan interface ip=192.168.11.2 eth0 internet interface ip=192.168.0.6

On the client side the DNS i am using is 192.168.11.2 although I've not configure any dns on my network server.
and in proxy setting i am using 192.168.0.6:8080 as my porxy

Previous setting and this configuration is all about. It is working well for msn and all other browsing accept Yahoo login with no proxy. Can I use following line after Masquerade.

iptables -t nat -A POSTROUTING -i eth1 -p tcp -m multiport --dport 5050,11999,5000,5001,5100 -j SNAT --to-source 192.168.0.6.

Thanks for your help and still waiting for your response.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version