LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 04-07-2015, 11:34 PM   #1
cebo_myeza
LQ Newbie
 
Registered: Apr 2015
Posts: 3

Rep: Reputation: Disabled
how to enable port 8000 in CentOS 7?


hi everybody

i am using centOS 7 and i am new to Linux, i just want to know how to modify the local firewall in centOS 7 to enable port 8000 because i need the port in order to be able to access the splunk web on centOS 7

Last edited by cebo_myeza; 04-07-2015 at 11:57 PM.
 
Old 04-08-2015, 07:55 AM   #2
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Hi Cebo

Welcome to Linuxquestions

Quote:
centOS 7 to enable port 8000
Enabling normally means configuring it to accept packets on the firewall. Most applications require at least 2 ports to be opened, I'm not familiar with splunk but I'd encourage you to check and see what the second port would be.
That said, according to memory, there is a graphical thingy that you can access by going to activities overview->typing in 'firewall' and hitting the enter key and then you'll see something named "firewal-config" or something similar. I've never used it but it's supposed to be easy to figure out.

Or, you can configure your firewall through iptables, which has an educational manual page and the added bonus of reliably working.
 
Old 04-08-2015, 12:01 PM   #3
Doug G
Member
 
Registered: Jul 2013
Posts: 749

Rep: Reputation: Disabled
If you're using the default firewalld, use firewall-cmd --add-port=8000/tcp

You can modify the command to operate in a specific zone, be a permanent change, etc. Refer to man firewall-cmd
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Managing A Single Firewall Policy For Multiple Servers Using Firewall Builder LXer Syndicated Linux News 0 12-06-2010 10:20 AM
old CISCO PIX 515 firewall to Linux firewall Winanjaya Linux - Security 8 03-22-2010 11:56 AM
router billion 5102 has firewall and software firewall tests aus9 Linux - Security 6 12-31-2006 10:09 PM
Firewall Builder sample firewall policy file ? (.xml) nuwanguy Linux - Networking 0 09-13-2003 12:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 07:09 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