diff --git a/Linux-and-BSD-firewalls-cheat-sheet.adoc b/Linux-and-BSD-firewalls-cheat-sheet.adoc index 42b0b36..fccb9d5 100644 --- a/Linux-and-BSD-firewalls-cheat-sheet.adoc +++ b/Linux-and-BSD-firewalls-cheat-sheet.adoc @@ -58,10 +58,10 @@ v1.0, 2020-09-01 |Reload firewall and rules. |*ufw allow * -| Allow some service in aany direction from/to any IP address using so called `simple` rule syntax. The service names are as per `/etc/services`. E.g. to allow ssh from any: `ufw allow ssh`. +| Allow some service in any direction from/to any IP address using so called `simple` rule syntax. The service names are as per `/etc/services`. E.g. to allow ssh from any: `ufw allow ssh`. |*/etc/ufw/before.rule* -|Some rules are pre-allowed by default, to change them edit the above file and reload firewall. +|Some rules are pre-allowed by default, to change them edit this file and reload the firewall. |=== diff --git a/Linux-and-BSD-firewalls-cheat-sheet.pdf b/Linux-and-BSD-firewalls-cheat-sheet.pdf index 61320c2..2826d14 100644 --- a/Linux-and-BSD-firewalls-cheat-sheet.pdf +++ b/Linux-and-BSD-firewalls-cheat-sheet.pdf @@ -5,8 +5,8 @@ /Author (Yuri Slobodyanyuk) /Creator (Asciidoctor PDF 1.5.3, based on Prawn 2.2.2) /Producer (Yuri Slobodyanyuk) -/ModDate (D:20200919060706+00'00') -/CreationDate (D:20200919060720+00'00') +/ModDate (D:20200919060847+00'00') +/CreationDate (D:20200919060849+00'00') >> endobj 2 0 obj @@ -49,7 +49,7 @@ endobj >> endobj 6 0 obj -<< /Length 18801 +<< /Length 18723 >> stream q @@ -957,11 +957,11 @@ f f 0.0 0.0 0.0 scn 1.0 1.0 1.0 scn -48.24 50.428 249.4 84.9 re +48.24 66.208 249.4 69.12 re f 0.0 0.0 0.0 scn 1.0 1.0 1.0 scn -297.64 50.428 249.4 84.9 re +297.64 66.208 249.4 69.12 re f 0.0 0.0 0.0 scn 0.5 w @@ -1329,20 +1329,20 @@ S [] 0 d 0.5 w 0.8667 0.8667 0.8667 SCN -48.24 50.428 m -297.64 50.428 l +48.24 66.208 m +297.64 66.208 l S [] 0 d 0.5 w 0.8667 0.8667 0.8667 SCN 48.24 135.578 m -48.24 50.178 l +48.24 65.958 l S [] 0 d 0.5 w 0.8667 0.8667 0.8667 SCN 297.64 135.578 m -297.64 50.178 l +297.64 65.958 l S [] 0 d 1 w @@ -1364,20 +1364,20 @@ S [] 0 d 0.5 w 0.8667 0.8667 0.8667 SCN -297.64 50.428 m -547.04 50.428 l +297.64 66.208 m +547.04 66.208 l S [] 0 d 0.5 w 0.8667 0.8667 0.8667 SCN 297.64 135.578 m -297.64 50.178 l +297.64 65.958 l S [] 0 d 0.5 w 0.8667 0.8667 0.8667 SCN 547.04 135.578 m -547.04 50.178 l +547.04 65.958 l S [] 0 d 1 w @@ -1387,21 +1387,21 @@ S BT 300.64 120.364 Td /F1.0 10.5 Tf -[<416c6c6f7720736f6d65207365727669636520696e2061616e> 20.0195 <7920646972656374696f6e2066726f6d2f746f>] TJ +[<416c6c6f7720736f6d65207365727669636520696e20616e> 20.0195 <7920646972656374696f6e2066726f6d2f746f20616e> 20.0195 <79>] TJ ET BT 300.64 104.584 Td /F1.0 10.5 Tf -[<616e> 20.0195 <792049502061646472657373207573696e6720736f2063616c6c656420>] TJ +<49502061646472657373207573696e6720736f2063616c6c656420> Tj ET 0.6941 0.1294 0.2745 scn 0.6941 0.1294 0.2745 SCN BT -451.9343 104.584 Td +430.8295 104.584 Td /F4.0 10.5 Tf <73696d706c65> Tj ET @@ -1410,23 +1410,23 @@ ET 0.2 0.2 0.2 scn BT -483.4343 104.584 Td +462.3295 104.584 Td /F1.0 10.5 Tf -<2072756c65> Tj +<2072756c652073796e7461782e> Tj ET BT 300.64 88.804 Td /F1.0 10.5 Tf -<73796e7461782e205468652073657276696365206e616d65732061726520617320706572> Tj +<5468652073657276696365206e616d6573206172652061732070657220> Tj ET 0.6941 0.1294 0.2745 scn 0.6941 0.1294 0.2745 SCN BT -300.64 73.024 Td +448.207 88.804 Td /F4.0 10.5 Tf <2f6574632f7365727669636573> Tj ET @@ -1435,36 +1435,32 @@ ET 0.2 0.2 0.2 scn BT -368.89 73.024 Td +516.457 88.804 Td /F1.0 10.5 Tf -[<2e20452e672e20746f20616c6c6f77207373682066726f6d20616e> 20.0195 <793a20>] TJ +<2e20452e672e> Tj +ET + + +BT +300.64 73.024 Td +/F1.0 10.5 Tf +[<746f20616c6c6f77207373682066726f6d20616e> 20.0195 <793a20>] TJ ET 0.6941 0.1294 0.2745 scn 0.6941 0.1294 0.2745 SCN BT -507.5633 73.024 Td +413.8088 73.024 Td /F4.0 10.5 Tf -<756677> Tj -ET - -0.0 0.0 0.0 SCN -0.2 0.2 0.2 scn -0.6941 0.1294 0.2745 scn -0.6941 0.1294 0.2745 SCN - -BT -300.64 57.244 Td -/F4.0 10.5 Tf -<616c6c6f7720737368> Tj +<75667720616c6c6f7720737368> Tj ET 0.0 0.0 0.0 SCN 0.2 0.2 0.2 scn BT -347.89 57.244 Td +482.0588 73.024 Td /F1.0 10.5 Tf <2e> Tj ET @@ -1577,7 +1573,7 @@ endobj [7 0 R /XYZ 0 324.519 null] endobj 17 0 obj -<< /Length 2312 +<< /Length 2310 >> stream q @@ -1742,7 +1738,7 @@ ET BT 300.64 753.366 Td /F1.0 10.5 Tf -<7468656d2065646974207468652061626f76652066696c6520616e642072656c6f6164206669726577616c6c2e> Tj +<7468656d206564697420746869732066696c6520616e642072656c6f616420746865206669726577616c6c2e> Tj ET 0.0 0.0 0.0 scn @@ -2109,46 +2105,46 @@ xref 0000000543 00000 n 0000000594 00000 n 0000000866 00000 n -0000019720 00000 n -0000020085 00000 n -0000020254 00000 n -0000020296 00000 n -0000020345 00000 n -0000020500 00000 n -0000020543 00000 n -0000020715 00000 n -0000020880 00000 n -0000021052 00000 n -0000021096 00000 n -0000023461 00000 n -0000023802 00000 n -0000023876 00000 n -0000024154 00000 n -0000024473 00000 n -0000024720 00000 n -0000024780 00000 n -0000025050 00000 n -0000025320 00000 n -0000032731 00000 n -0000032950 00000 n -0000034312 00000 n -0000035226 00000 n -0000040742 00000 n -0000040966 00000 n -0000042328 00000 n -0000043242 00000 n -0000051247 00000 n -0000051461 00000 n -0000052823 00000 n -0000053737 00000 n -0000056694 00000 n -0000056907 00000 n -0000058269 00000 n +0000019642 00000 n +0000020007 00000 n +0000020176 00000 n +0000020218 00000 n +0000020267 00000 n +0000020422 00000 n +0000020465 00000 n +0000020637 00000 n +0000020802 00000 n +0000020974 00000 n +0000021018 00000 n +0000023381 00000 n +0000023722 00000 n +0000023796 00000 n +0000024074 00000 n +0000024393 00000 n +0000024640 00000 n +0000024700 00000 n +0000024970 00000 n +0000025240 00000 n +0000032651 00000 n +0000032870 00000 n +0000034232 00000 n +0000035146 00000 n +0000040662 00000 n +0000040886 00000 n +0000042248 00000 n +0000043162 00000 n +0000051167 00000 n +0000051381 00000 n +0000052743 00000 n +0000053657 00000 n +0000056614 00000 n +0000056827 00000 n +0000058189 00000 n trailer << /Size 42 /Root 2 0 R /Info 1 0 R >> startxref -59183 +59103 %%EOF