Open main menu

CDOT Wiki β

Changes

OPS705 Lab 2

10 bytes added, 14:59, 16 January 2023
m
Part 3: Adding a Firewall Rule for the Custom SSH Port
== Part 3: Adding a Firewall Rule for the Custom SSH Port ==
[[Image:Ops705_sshd_custom_rule.png|right|500px|thumb|Figure 9: Adding a firewall rule for our new SSH custom port.]]
As mentioned, we want to change what port the system uses to allow incoming SSH connections. To do that, we have to add an extra rule to our firewall to allow it through:
# Review your current rules for reference: <code>sudo iptables -nvL --line</code>