LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-02-2014, 06:07 PM   #1
rcmonroig
Member
 
Registered: Mar 2007
Location: Chandler, AZ
Distribution: Fedora 10,12,and 14
Posts: 62
Blog Entries: 1

Rep: Reputation: 15
Question opening ports using firewalld


Dear Forum
I have a fedora 20 router. I'm trying to configure NAT for our LAN to WAN connection. I can access our Linux cloud from our LAN just fine and a VM Linux Console just fine. But from a remote sight over the WAN I cannot access the Linux VM Console. I can access the VM Client but not the Linux VM over the WAN. I ran a port scan and found only ports 22 and 8080 were open on the router. I have port forwarding set to 140.xxx.xxx.xxx:8080 -> 192.xxx.xxx.xxx:9443 which gets me to the VM Center Host. I believe I also need the following ports open: 902/tcp, 903/tcp, and 7331/tcp to have access to the console. I thought I opened these ports on the external zone, but when I port scan they are closed and only 22 and 8080 are open.

Can anyone shed some light on the proper config for setting ports 902, 903, and 7331 open permanent on the external zone or should it be the trusted zone?

Thanks,
RonM
 
Old 09-02-2014, 06:48 PM   #2
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
when you figure it out, please let me know. on my CentOS v7 system i had to disable firewalld in order for plex, minecraft, and NFS to share via the LAN. thankfully im behind a rather robust hardware firewall/router, but still would like to have my firewalld just function like IPTables. If i cant figure it out soon, ill disable firewalld totally and activate IPTables and IPv6Tables as I know they work and how they work.
 
Old 09-03-2014, 06:41 PM   #3
Doug G
Member
 
Registered: Jul 2013
Posts: 749

Rep: Reputation: Disabled
firewall-cmd for command-line setting changes.

The fedora 20 firewall gui (firewall-config from command line) is pretty simple. btw, I use xfce.

Last edited by Doug G; 09-03-2014 at 06:43 PM.
 
Old 09-03-2014, 11:40 PM   #4
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora/Pop!_OS
Posts: 2,983

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
doug while that is supposed to work, it does not.

see below:

https://www.linuxquestions.org/quest...v7-4175516086/

Last edited by lleb; 09-04-2014 at 08:38 AM.
 
Old 09-05-2014, 10:23 PM   #5
Doug G
Member
 
Registered: Jul 2013
Posts: 749

Rep: Reputation: Disabled
Quote:
Originally Posted by lleb View Post
doug while that is supposed to work, it does not.

see below:

https://www.linuxquestions.org/quest...v7-4175516086/
I don't use NFS specifically, but I haven't had any problems opening ports with firewall-cmd. Don't forget you need to do the same firewall-cmd call without the --permanent if you want to see the change in the current runtime configuration. Same with the GUI, you need to change both the runtime and the permanent configurations.
 
  


Reply

Tags
firewalld


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 ports snooze1 Linux - Newbie 8 01-25-2012 06:23 PM
Problem opening ports - ports appear open, but do not work. computer_freak_8 Linux - Software 10 09-20-2008 09:39 PM
Opening ports? skumaryermal Linux - Newbie 1 09-28-2006 01:36 PM
opening ports I think jleipert Linux - Security 7 09-04-2005 09:14 AM
Opening Ports george3k Linux - Newbie 7 02-16-2003 01:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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