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 (66.206.22.18) 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
sasif
Cadet
 
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
+92-345-8444420
http://sysadminsline.com
http://kashifbukhari.com
kbukhari
Major General
 
Posts: 1222
Joined: Sat Dec 31, 2005 12:29 am
Website: http://kashifbukhari.com
Location: Lahore

Re:

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

Dear sasif,
Salam,

Use this rule.

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

Best Regards.
Farrukh Ahmed
LinuxFreaK
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 2 guests

cron