Networking Open source

How to open ports with the Portmaster network monitor

Jack Wallen demonstrates how to open a port in Portmaster to enable safe shell site visitors right into a desktop pc.

portmaster network monitor linux
Image: Stock

Portmaster isn’t only a cross-platform network monitor — it’s additionally a really highly effective safety instrument that may assist to lock down your desktops and block issues like adverts, trackers and malware. I’ve been utilizing Portmaster on my major Linux desktop and I can attest to its potential to block incoming site visitors.

I not too long ago had an incident when, for no matter purpose (in all probability as a result of I used to be feeling lazy and didn’t need to make the trek to my workplace at the finish of the home), I had to SSH into my desktop from one other machine on the LAN. I’d forgotten Portmaster was working, and I hadn’t but made a rule to enable that exact IP tackle by. No matter what I attempted, I couldn’t get in. But after I added the enable rule, entrance by the required port was permitted and all was effectively.

SEE: Hiring Kit: Network Engineer (TechRepublic Premium)

I would love to present you simply how to add such a rule to Portmaster so you can also enable particular site visitors right into a machine.

What you’ll want

To make this work, you’ll want Portmaster put in. It doesn’t matter what working system you employ, as the Portmaster UI is the similar throughout the board. However, I’m going to be demonstrating opening the SSH service to an IP tackle. If your machine doesn’t embody SSH, you’ll have to change that service for one thing else.

How to open the Secure Shell port

Open the Portmaster interface, which will be achieved out of your system tray if it’s already working. In the predominant window (Figure A), click on the Apps Overview button.

Figure A

The Apps Overview icon is in the blue sq..

In the ensuing window (Figure B), sort sshd in the search area.

Figure B

The Portmaster Apps Overview window.

Click the sshd entry and, in the new display screen, scroll down till you see the Incoming Rules part (Figure C).

Figure C

The Incoming Rules part of the sshd entry.

The very first thing you need to do is make sure that Block Connections is in the ON place, since you don’t need simply any SSH connection to be allowed. Next, click on Add Rule.

From the Select drop-down, choose Allow after which sort the IP tackle you need to enable by the SSH port (Figure D). When completed, click on the checkmark to save the rule.

Figure D

Allowing by the firewall.

One factor I’ve seen is that it’s all the time greatest to add the incoming rule earlier than you try to SSH into the machine. I’ve had cases when, after making an attempt an SSH connection, including the rule for that IP tackle failed to work. However, I’ve by no means had an occasion the place the Portmaster world guidelines would block a connection if the rule was added earlier than an tried SSH login. The lesson right here is to all the time add guidelines earlier than making an attempt to join.

And that’s all there’s to open a port with Portmaster. I’ve discovered this app to be a useful instrument for not solely locking down my desktops however for a lot better and simpler management over what’s allowed out and in of any given system. I extremely suggest this free, open-source instrument for your whole desktops and laptops — and, if they’ve a GUI, your servers as effectively.

Subscribe to TechRepublic’s How To Make Tech Work on YouTube for all the newest tech recommendation for enterprise execs from Jack Wallen.


Leave a Reply

Your email address will not be published.Required fields are marked *