LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > Linux - Certification
User Name
Password
Linux - Certification This forum is for the discussion of all topics relating to Linux certification.

Notices


Reply
  Search this Thread
Old 07-05-2016, 01:31 AM   #1
pratik11886
LQ Newbie
 
Registered: Jul 2016
Posts: 2

Rep: Reputation: Disabled
how to configure serverX to forward traffic incoming on port 80/tcp from desktopX to port on 5243/tcp.


RHCE 7 Question :: Â configure serverX to forward traffic incoming on port 80/tcp from desktopX to port on 5243/tcp.
 
Old 07-05-2016, 01:33 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,039

Rep: Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347
Is this your homework?
look for ssh tunneling and/or firewall settings.
 
Old 07-05-2016, 01:54 AM   #3
pratik11886
LQ Newbie
 
Registered: Jul 2016
Posts: 2

Original Poster
Rep: Reputation: Disabled
no not homework..
actually i m preparing for RHCE exam
i have doubt to answer given to mention question "Â configure serverX to forward traffic incoming on port 80/tcp from desktopX to port on 5243/tcp"...
The answer given is
#firewall-cmd --permanent --add-rich-rule='rule family=ipv4 source address=172.25.5.10 forward-port port=5243 protocol=tcp to-port=80'

and i m thinking of this
#firewall-cmd --permanent --add-rich-rule='rule family=ipv4 source address=172.25.5.10 forward-port port=80 protocol=tcp to-port=5243'
 
Old 07-05-2016, 02:56 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,039

Rep: Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347Reputation: 7347
Hm. Next time you could start with your real question...
assuming your desktopX is 172.25.5.10 and you execute that command on serverX looks like you are right.
see man firewalld.richlanguage
 
1 members found this post helpful.
Old 07-15-2016, 01:34 PM   #5
tshikose
Member
 
Registered: Apr 2010
Location: Kinshasa, Democratic Republic of Congo
Distribution: RHEL, Fedora, CentOS
Posts: 525

Rep: Reputation: 95
Hi,

As you are preparing for RHCE, my advice is: try both and test until you find out the working way.
 
1 members found this post helpful.
  


Reply



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
Monitoring TCP Port Traffic Javezim Linux - Server 4 04-29-2016 09:44 AM
Duplicate TCP traffic on a port to another sidsgr88 Linux - Networking 0 05-25-2013 02:45 PM
Incoming TCP listen port sycamorex Linux - Networking 5 05-15-2007 11:35 AM
unwanted network traffic on tcp port 135 debasish_5849 Linux - Security 4 04-20-2006 10:33 PM
close port 6000/tcp 515/tcp SchwipSchwap Linux - Newbie 1 09-12-2002 08:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General > Linux - Certification

All times are GMT -5. The time now is 11:03 PM.

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