typos
This commit is contained in:
parent
d765b46c8a
commit
e6bf19e377
1 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@ Ufw, by default, allows all outgoing connections and denies all incoming connect
|
||||||
sudo ufw allow 22/tcp
|
sudo ufw allow 22/tcp
|
||||||
```
|
```
|
||||||
|
|
||||||
ufw will automatically configure `iptables` to allow incoming connections on port 22 that use `tcp`. I will talk more about allowing and denying different connections later.
|
Ufw will automatically configure `iptables` to allow incoming connections on port 22 that use `tcp`. I will talk more about allowing and denying different connections later.
|
||||||
|
|
||||||
Just in case ufw blocks your ssh connection and you are unable to get back in, you can use another program called `at` to schedule the disabling of the ufw so that you can get back in again. If you don't have it installed, you can install it with `sudo apt install at`.
|
Just in case ufw blocks your ssh connection and you are unable to get back in, you can use another program called `at` to schedule the disabling of the ufw so that you can get back in again. If you don't have it installed, you can install it with `sudo apt install at`.
|
||||||
|
|
||||||
|
@ -78,7 +78,7 @@ To Action From
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Allowing connections
|
#### Allowing connections
|
||||||
Since we're going to be setting up a web server, we'll need to allow ti through ur new firewall. Doing so is easy. Simply do this:
|
Since we're going to be setting up a web server, we'll need to allow it through our new firewall. Doing so is easy. Simply do this:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo ufw allow 80/tcp
|
sudo ufw allow 80/tcp
|
||||||
|
|
Loading…
Reference in a new issue