I'll show you how to set up a firewall and lockdown the whole server for anyone to access. You can use knockd, where a special sequence will open the port for just that IP address. First, make a file called iptables.sh and copy the following into /etc/knockd.conf.
Martin Baun
@martinbaun
I am the founder of TigerTeamX a dedicated team of software developers on a mission to change the way people work.
STORY’S CREDIBILITY
Guide
Walkthroughs, tutorials, guides, and tips. This story will teach you how to do something new or how to do something better.