LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-14-2005, 07:19 AM   #1
David@330
Member
 
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

Thanks
 
Old 03-14-2005, 07:54 AM   #2
overlord73
Member
 
Registered: Apr 2004
Location: ..where no life dwells..
Posts: 541

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, 09:03 AM   #3
David@330
Member
 
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.

Thanks

Last edited by David@330; 03-15-2005 at 01:03 AM.
 
Old 03-15-2005, 07:17 PM   #4
superpinjal
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
regards
maturnuwun
tenkyu

 
  


Reply


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 02:05 PM
opening a port Robin01 Linux - General 3 11-17-2004 11:40 PM
Opening a Port gpamkenny Linux - Networking 3 11-04-2004 03:51 PM
opening port 6891 KurtB Linux - Networking 0 04-08-2004 10:43 AM
Opening port 80 nmoog Linux - Newbie 4 02-01-2004 05:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:02 AM.

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