Forum / NoMachine for Linux / Firewall settings that worked for me on Fedora 20
- This topic has 6 replies, 4 voices, and was last updated 11 years, 4 months ago by
fra81.
-
AuthorPosts
-
February 17, 2014 at 12:35 #2336
yaconsultParticipantI have used NX 3 quite a bit but attempts at pre-release NX 4 on Fedora were previously unsuccessful.
I am happy to report that the latest NX works fine on Fedora 20, but you need to open two ports on the firewall first, as follows.
Open the firewall configuration GUI and select Permanent in the Configuration pulldown. The click the plus sign at the bottom of the Service column to add a new entry. Name it NX or whatever you like and save it. Then select the entry you just created and go over to the Ports and Protocols tab and push the add button under it. Add one entry for port 4000 and a second entry for port 24004. Leave the protocol set to the default of TCO for both of them.
After making these changes, go up to Options on the menu bar and select Reload Firewall. Now you will be able to connect to the Fedora machine from NX running on another system.
February 17, 2014 at 15:45 #2365
titanParticipantTechnically, you just need port 4000 TCP (or the port you decided to use for the NX service).
I presume the additional port 24004 is what the client or server selected at random for UDP. You can change it or disable UDP altogether in Edit connection, Advanced.
Both the client and the server try to use UDP, if they can. First the server will try to use the UDP port opened by the client, then the client will try to establish the communication on the UDP port opened by the server. If both attempts fail, the communication will continue using only the TCP port.
At the time I’m writing, the ports are added automatically to the firewall configuration on Windows. Not so on Mac and Linux. This is going to change in the future.
February 28, 2014 at 14:06 #2589
snejokParticipantHello, titan!
“If both attempts fail, the communication will continue using only the TCP port.”
Can you explain me (or give the link to article) which functionality/features I will lose if I disable UDP and will use only TCP?
There is any difference between “SSH” and “NX without UDP”?
March 4, 2014 at 10:11 #2626
fra81ModeratorNo functionality will be lost if you disable UDP. It may only affect performance.
These articles can be of interest for you:
March 5, 2014 at 11:11 #2642March 5, 2014 at 11:13 #2644
snejokParticipantIt may only affect performance.
Do you mean multimedia (audio/video) only or overall session performance too?
June 12, 2014 at 15:42 #3896
fra81ModeratorSorry for really long delay. I missed your reply.
Surely the difference will be more noticeable in case of multimedia.
-
AuthorPosts
This topic was marked as solved, you can't post.
