June 29, 2024
Connecting to the network firewall we can see it is running pfsense which is typically configured through its web interface.
To access this, we will remote into the Security-Desk and navigate to the firewall ip address in the browser.
Navigating to the Firewall | NAT section of pfsense, we can begin creating the rules.
To create a rule to direct HTTP traffic
Repeat these steps for the HTTPS rule. Apply the configuration changes.
Running iptables -L to list the existing rules returns an error message stating command not found.
iptables can be installed using apt with the command
Once installed, we’ll add two rules to allow the desired traffic, and one rule to deny nonmatching traffic.
In the Windows Server Manager screen, open the Windows Firewall with Advanced Security tool from the Tools dropdown menu.
Enable each of the firewall domains on the main screen.
The default settings will block any non-matching connections.
To create a new firewall rule
Note: It’s may be worth double checking the SSH config file to ensure it contains the line required to enable SFTP.
Previous post
Next post