Page 1 of 1

Port Problem In Squid

Posted: Fri Apr 28, 2006 10:29 am
by sasif
Assalam-o-Alikum All of Linux Memebers i hope everyone is fine :)
i have installed Linux Enterprise 3 and squid 2.5 and 256 Radio Link direct connetcted to interface eth1.My prblem is that we are using kpt (Karachi Port Trust) Application and this applicaton use public ip ( and port 1433.
my question is that how can i alllow this ip and port in linux.
i have alredy try iptables but not success.
kindly help out.

Posted: Fri Apr 28, 2006 11:13 am
by kbukhari
where u want to allow these Ips
on ur linux Box or for clinets
if u want to allow them on clinets the tell me are us using private Ips ot using public ips on clinet side


Posted: Sat Apr 29, 2006 9:38 am
by LinuxFreaK
Dear sasif,

Use this rule.

# iptables -t nat -A POSTROUTING -s -p tcp --dport 1433 -j MASQUERADE

Best Regards.