Secure remote firewall system with SSH

Network administrators - Most firewall systems integrate a Web-based component that allows users to configure these firewall systems.

This is also true for many minimal firewall systems (such as Linksys, D-link, etc.) and is also true for many open source firewall systems like pfSense. These systems often provide a variety of remote web access options over the Internet, but this remote access is not guaranteed to be secure.

 

Secure remote firewall system with SSH Picture 1 .


Instead, if there is an internal firewall system that can forward a port for SSH (Secure Shell), a network protocol is used to provide a secure channel when two computers are connected. You can then enable SSH and use TCP Forwarding to access the firewall through the system within this network. This firewall has the advantage of decentralization and strong encryption capabilities. If the remote firewall system is running SSH, you don't need another internal system to run SSH, just run SSH in the firewall system.

For example, use the following code to edit ~ / .ssh / config and add an entry on the remote system:

Host remotefw
Hostname remotefw.remote.com
User admin
Port 522
LocalForward 8888 192.168.10.1:80
This code allows you to run the ssh remotefw command on the command interface to connect to the remotefw.remote.com server with the username admin on port 552 . It will also forward the connection on port 8888 of the local system to port 80 of the remote system with the IP address of 192.168.10.1 .

Then access the address http://127.0.0.1:8888 . You will be prompted to access the web platform configuration utility.

After you're done configuring the firewall, simply close the browser window and exit the SSH session.

If this utility does not work, then the remote SSH server will also cancel TCP Forwarding. You will have to connect to the remote system and enable the Allow TcpForwarding password and restart sshd .

The benefits of using TCP Forwarding on SSH to access remote firewall systems rather than enabling and using the administration of remote firewall systems are obvious. If you use SSH, you can restrict user access to SSH, and using password authentication will help prevent any attempt to break into the system. Also it's more secure thanks to SSH encryption.

If you use this method, you can configure the remote pfSense firewall system for workstations. However, the firewall system forwards a port for SSH to connect to the remote network, so you need a license to perform the login.

In addition, SSH also supports error detection or upgrading the firewall.
4 ★ | 1 Vote

May be interested

  • 10 free firewall software is most worthwhile10 free firewall software is most worthwhile
    windows has a great integrated firewall, but do you know there are completely free and alternative firewall software that you can install? yes, there are many firewall software that are easier to use and have more features, options that are easier to understand than microsoft 's built - in firewall.
  • How to check the firewallHow to check the firewall
    you may have turned on the firewall feature of your pc or wireless router at some point, but how do you know if it really works?
  • Why You Probably Don't Need a Third-Party Firewall App on WindowsWhy You Probably Don't Need a Third-Party Firewall App on Windows
    firewalls are your windows system's first line of defense against online threats, but is windows defender firewall up to the task?
  • Instructions allow applications to communicate with each other via Windows FirewallInstructions allow applications to communicate with each other via Windows Firewall
    windows firewall acts as a barrier to prevent your computer from connecting to the rest of the internet. the firewall retains unwanted network traffic and allows applications on your computer to communicate with the outside world. but each fence needs a gate, and that's where exceptions come in.
  • How to turn firewall (Firewall) on Win 7How to turn firewall (Firewall) on Win 7
    how to turn off the firewall (firewall) on windows 7. a firewall is a software that comes with windows and it is responsible for filtering information on and off the computer. firewalls are also an advantage of windows 7 when they protect against malicious files. viruses invade their computers
  • Learn about Cloud FirewallLearn about Cloud Firewall
    as the technology around us grows, firewalls also need to be brought to the cloud to keep up with the trend. that's why the term cloud firewall was born.
  • 7 basic questions about firewalls everyone needs to know7 basic questions about firewalls everyone needs to know
    besides the anti-virus software and communication ports in the system, you also need to pay attention to another important factor in a security system, firewall - firewall.
  • How to Configure Firewall on Debian Using UFWHow to Configure Firewall on Debian Using UFW
    ufw provides a user-friendly way to control incoming and outgoing traffic, strengthening your system's defenses against unauthorized access and potential threats.
  • Steps to Reset Firewall in Windows 10Steps to Reset Firewall in Windows 10
    how to reset firewall (windows firewall) on windows operating system? instructions on how to reset windows firewall to default state..
  • How to secure Ubuntu using Uncomplicated FirewallHow to secure Ubuntu using Uncomplicated Firewall
    you just installed ubuntu desktop 18.04 and can assume that your desktop is quite safe. that assumption is usually correct. however, we all know that any computer connected to the network is not safe.