Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-14-2005, 06:19 AM   #1
Registered: Jul 2004
Location: South Africa
Posts: 146

Rep: Reputation: 15
Cool Opening a Linux port on Squid

Hi All

Can someone help, I am trying to open port 15000 on my Linux Redhat 7.3

Old 03-14-2005, 06:54 AM   #2
Registered: Apr 2004
Location: ..where no life dwells..
Distribution: RH,FC/SuSE/Debian/HPUX/OSX
Posts: 518

Rep: Reputation: 30
please specify your intention.
a) do you want to open a port on squid or b) on your box ?

a) -> squid.conf (default http_port 3128)
b) -> iptablesDefault:

Old 03-14-2005, 08:03 AM   #3
Registered: Jul 2004
Location: South Africa
Posts: 146

Original Poster
Rep: Reputation: 15
Hi overlord73

Sorry I was looking at Linux Config, I thought it was squid config. I want to open a port on Linux particular port number 15000.


Last edited by David@330; 03-15-2005 at 12:03 AM.
Old 03-15-2005, 06:17 PM   #4
LQ Newbie
Registered: Feb 2005
Location: Indonesia
Distribution: Ubuntu for Desktop, Redhat for Server and XP ... just put it in trash ^_^
Posts: 5

Rep: Reputation: 0
Hmm .. maybe u just need to learn more bout firewall rules, if u want to open some ports on your machine you have to make sure it won't harm you. Okieee .. if u want to open some ports on your machine you have to add this rule to your firewall rules (i'm using shorewall for my firewall /etc/shorewall/rules) :

.::if u want to allow your local network to access all resources on port TCP 15000
ACCEPT:info loc all tcp 15000

.::if u want to allow access from internet to your firewall on port TCP 15000
ACCEPT:info net fw tcp 15000

.::if u want to forward traffic from internet to other machine (not the firewall machine) on TCP 15000
DNAT net loc:ip.address.other.machine tcp 15000

and so on

okiee dookieee

nuhun euyy



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Opening Port steve007 Linux - Newbie 5 07-23-2005 01:05 PM
opening a port Robin01 Linux - General 3 11-17-2004 10:40 PM
Opening a Port gpamkenny Linux - Networking 3 11-04-2004 02:51 PM
opening port 6891 KurtB Linux - Networking 0 04-08-2004 09:43 AM
Opening port 80 nmoog Linux - Newbie 4 02-01-2004 04:00 PM

All times are GMT -5. The time now is 01:55 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration