diff --git a/Linux-and-BSD-firewalls-cheat-sheet.adoc b/Linux-and-BSD-firewalls-cheat-sheet.adoc index 31b3ad7..e31703f 100644 --- a/Linux-and-BSD-firewalls-cheat-sheet.adoc +++ b/Linux-and-BSD-firewalls-cheat-sheet.adoc @@ -83,7 +83,7 @@ v1.0, 2020-09-01 |Parse security rules stored in a file without installing them (dry run). |*pass in quick on egress from 62.13.77.141 to any* -| 'Quick' rule (means allows this traffic on all interfaces, otherwise we would need 2nd rule allowing this traffic in _outgoing_ direction on egress interface) to allow incoming ANY port/protocol with the source being `62.13.77.141` and destination being ANY IP address behind the PF firewall. NOTE: here, `egress` is not a direction, but a group name to which the interface in question (`em0`) belongs to. In OpenBSD you set it in a file `/etc/hostname.em0: group egress`. +| 'Quick' rule (means allows this traffic on all interfaces, otherwise we would need 2nd rule allowing this traffic in _outgoing_ direction on egress interface) to allow incoming ANY port/protocol with the source being `62.13.77.141` and destination being ANY IP address behind the PF firewall. NOTE: here, `egress` is not a direction, but a group name to which the interface in question (`em0`) belongs to. In OpenBSD you set it in a file `/etc/hostname.em0: group egress` or in real-time with the command: `ifconfig em0 group egress`. diff --git a/Linux-and-BSD-firewalls-cheat-sheet.pdf b/Linux-and-BSD-firewalls-cheat-sheet.pdf index 9396294..c4edadb 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:20201030160315+00'00') -/CreationDate (D:20201030160320+00'00') +/ModDate (D:20201030160453+00'00') +/CreationDate (D:20201030160455+00'00') >> endobj 2 0 obj @@ -1573,7 +1573,7 @@ endobj [7 0 R /XYZ 0 324.519 null] endobj 17 0 obj -<< /Length 10210 +<< /Length 10506 >> stream q @@ -1797,11 +1797,11 @@ f f 0.0 0.0 0.0 scn 1.0 1.0 1.0 scn -48.24 360.85 249.4 179.58 re +48.24 345.07 249.4 195.36 re f 0.0 0.0 0.0 scn 1.0 1.0 1.0 scn -297.64 360.85 249.4 179.58 re +297.64 345.07 249.4 195.36 re f 0.0 0.0 0.0 scn 0.5 w @@ -2117,20 +2117,20 @@ S [] 0 d 0.5 w 0.8667 0.8667 0.8667 SCN -48.24 360.85 m -297.64 360.85 l +48.24 345.07 m +297.64 345.07 l S [] 0 d 0.5 w 0.8667 0.8667 0.8667 SCN 48.24 540.68 m -48.24 360.6 l +48.24 344.82 l S [] 0 d 0.5 w 0.8667 0.8667 0.8667 SCN 297.64 540.68 m -297.64 360.6 l +297.64 344.82 l S [] 0 d 1 w @@ -2159,20 +2159,20 @@ S [] 0 d 0.5 w 0.8667 0.8667 0.8667 SCN -297.64 360.85 m -547.04 360.85 l +297.64 345.07 m +547.04 345.07 l S [] 0 d 0.5 w 0.8667 0.8667 0.8667 SCN 297.64 540.68 m -297.64 360.6 l +297.64 344.82 l S [] 0 d 0.5 w 0.8667 0.8667 0.8667 SCN 547.04 540.68 m -547.04 360.6 l +547.04 344.82 l S [] 0 d 1 w @@ -2335,6 +2335,24 @@ ET BT 363.64 367.666 Td /F1.0 10.5 Tf +<206f7220696e207265616c2d74696d6520776974682074686520636f6d6d616e643a> Tj +ET + +0.6941 0.1294 0.2745 scn +0.6941 0.1294 0.2745 SCN + +BT +300.64 351.886 Td +/F4.0 10.5 Tf +<6966636f6e66696720656d302067726f757020656772657373> Tj +ET + +0.0 0.0 0.0 SCN +0.2 0.2 0.2 scn + +BT +431.89 351.886 Td +/F1.0 10.5 Tf <2e> Tj ET @@ -2748,37 +2766,37 @@ xref 0000020881 00000 n 0000021053 00000 n 0000021097 00000 n -0000031361 00000 n -0000031728 00000 n -0000031772 00000 n -0000031846 00000 n -0000032124 00000 n -0000032471 00000 n -0000032731 00000 n -0000033042 00000 n -0000033102 00000 n -0000033372 00000 n -0000033642 00000 n -0000042707 00000 n -0000042926 00000 n -0000044288 00000 n -0000045202 00000 n -0000050718 00000 n -0000050942 00000 n -0000052304 00000 n -0000053218 00000 n -0000061904 00000 n -0000062118 00000 n -0000063480 00000 n -0000064394 00000 n -0000067981 00000 n -0000068194 00000 n -0000069556 00000 n +0000031657 00000 n +0000032024 00000 n +0000032068 00000 n +0000032142 00000 n +0000032420 00000 n +0000032767 00000 n +0000033027 00000 n +0000033338 00000 n +0000033398 00000 n +0000033668 00000 n +0000033938 00000 n +0000043003 00000 n +0000043222 00000 n +0000044584 00000 n +0000045498 00000 n +0000051014 00000 n +0000051238 00000 n +0000052600 00000 n +0000053514 00000 n +0000062200 00000 n +0000062414 00000 n +0000063776 00000 n +0000064690 00000 n +0000068277 00000 n +0000068490 00000 n +0000069852 00000 n trailer << /Size 44 /Root 2 0 R /Info 1 0 R >> startxref -70470 +70766 %%EOF