Port Problem In Squid

General discussion about PLUC and Linux in Pakistan.
Posts: 14
Joined: Wed Feb 09, 2005 12:21 am
Location: Karachi

Port Problem In Squid

Postby sasif » Fri Apr 28, 2006 10:29 am

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.
Syed Asif Mansoor

Major General
Posts: 1222
Joined: Sat Dec 31, 2005 12:29 am
Location: Lahore

Postby kbukhari » Fri Apr 28, 2006 11:13 am

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
Syed Kashif Ali Bukhari

Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi


Postby LinuxFreaK » Sat Apr 29, 2006 9:38 am

Dear sasif,

Use this rule.

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

Best Regards.
Farrukh Ahmed

Return to “General”

Who is online

Users browsing this forum: No registered users and 2 guests