Port Problem In Squid

General discussion about PLUC and Linux in Pakistan.

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
Posts: 14
Joined: Wed Feb 09, 2005 12:21 am
WLM: asf_sad@hotmail.com
Yahoo Messenger: asf_sad@yahoo.com
Location: Karachi

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
Major General
Posts: 1222
Joined: Sat Dec 31, 2005 12:29 am
Website: http://kashifbukhari.com
Location: Lahore


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
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
ICQ: 82075802
Website: http://www.linuxpakistan.net/wiki/index.php?pagename=LinuxFreak
WLM: f4fahmed@hotmail.com
Yahoo Messenger: f4fahmed@yahoo.com
AOL: linuxpakistan@aol.com
Location: Karachi

Return to “%s” General

Who is online

Users browsing this forum: No registered users and 1 guest