-
Notifications
You must be signed in to change notification settings - Fork 81
/
Etapa-009-AtualizacaoDoCurso.txt
242 lines (224 loc) · 7.77 KB
/
Etapa-009-AtualizacaoDoCurso.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
Autor: Robson Vaamonde
Procedimentos em TI: http://procedimentosemti.com.br
Bora para Prática: http://boraparapratica.com.br
Robson Vaamonde: http://vaamonde.com.br
Facebook Procedimentos em TI: https://www.facebook.com/ProcedimentosEmTi
Facebook Bora para Prática: https://www.facebook.com/BoraParaPratica
Instagram Procedimentos em TI: https://www.instagram.com/procedimentoem
YouTUBE Bora Para Prática: https://www.youtube.com/boraparapratica
LinkedIn Robson Vaamonde: https://www.linkedin.com/in/robson-vaamonde-0b029028/
Data de criação: 11/07/2021
Data de atualização: 10/09/2021
Versão: 0.05
Testado e homologado no Firewall NG UTM Netgate pfSense 2.4.x e 2.5.x
Atualização da versão do pfSense 2.5.2: https://docs.netgate.com/pfsense/en/latest/releases/2-5-2.html
Versão anterior do pfSense 2.5.1: https://docs.netgate.com/pfsense/en/latest/releases/21-02-2_2-5-1.html
Versão base do pfSense 2.5.0: https://docs.netgate.com/pfsense/en/latest/releases/2-5-0.html
Link Oficial do pfSense: https://docs.netgate.com/pfsense/en/latest/install/upgrade-guide.html
Atualização via console: https://docs.netgate.com/pfsense/en/latest/install/upgrade-guide-update.html#upgrading-using-the-console
Atualização via WebGUI: https://docs.netgate.com/pfsense/en/latest/install/upgrade-guide-update.html#upgrading-using-the-webgui
Opções de Configurações Gerais: https://docs.netgate.com/pfsense/en/latest/config/general.html
Dashboard do pfSense: https://docs.netgate.com/pfsense/en/latest/monitoring/dashboard.html
Configurações Gerais do pfSense: https://docs.netgate.com/pfsense/en/latest/config/general.html
Conexão via Console do pfSense: https://docs.netgate.com/pfsense/en/latest/hardware/connect-to-console.html
Conexão via SSH do pfSense: https://docs.netgate.com/pfsense/en/latest/recipes/ssh-access.html#enable-ssh-via-gui
Gerenciamento de autoridade de certificação do pfSense: https://docs.netgate.com/pfsense/en/latest/certificates/ca.html
CA do pfSense: https://docs.netgate.com/pfsense/en/latest/certificates/index.html
Configurando o suporte ao HTTPS do pfSense: https://docs.netgate.com/pfsense/en/latest/config/advanced-admin.html
Atualizando o pfSense pelo Console
13) Update from console
Proceed with upgrade? (y/N): y
Atualizando o pfSense pela WebConfigurator
System
Update
System Update
Update Settings
Updates
Dashboard check: Enabled
Save
System Update
Branch: Latest stable version (2.5.x)
Confirm Update: Confirm
Configurando as opções gerais do pfSense
System
General Setup
webConfigurator
The: pfSense-dark
Top Navigation: Fixed (Remains visible at top of page)
Hostname in Menu: Full Qualified Domain Name
Dashboard Columns: 3
Interfaces Sort: Sort Alphabetically (Enabled)
Associated Panels Show/Hide
Available Widgets: Enabled
Log Filter: Enabled
Manage Log: Enabled
Monitoring Settings: Enabled
Login page color: Blue
Login hostname: Enabled
Save
Configuração do Dashboard do pfSense
Dashboard
Available Widgets
#Configuração dos Widgets Esquerda
Picture: - Left-01
System Information: ON - Left-02
#Configuração dos Widgets Centro
Interfaces: ON - Center-01
Gateways: ON - Center-02
Interface Statistics: ON - Center-03
Traffic Graphs: ON - Center-04
Service Status: ON - Right-05
#Configuração dos Widgets Direita
NTP Status: ON - Right-01
Dynamic DNS Status: ON - Right-02
IPSec: ON - Right-03
OpenVPN: ON - Right-04
Firewall Logs: ON - Right-05
Edit
Widgets: Firewall Logs
Number of entries: 15
Filter actions: ON Pass, ON Block and ON Reject
Filter interface: ALL
Update interval: 15 Seconds
save
Save
Configuração da Porta Serial no Oracle VirtualBOX
Configurações
Portas Seriais
Porta 1
Habilitar Porta Serial (yes)
Número da Porta: COM3 - IRQ: 4 Endereço I/O: 0x3E8
Modo da Porta: Dispositivo no Hospedeiro
Caminho/Endereço: /dev/ttyS0
Configuração do Serviço do SSH (Secure Shell) do pfSense
System
Advanced
Secure Shell
Secure Shell Server (yes)
SSHd Key Only: Require Both Password and Public Key
Allow Agent Forwarding (default)
SSH port: 22
Login Protection
Threshold: 30
Blocktime: 120
Detection time: 1800
Pass list: (default)
Console Options
Console menu: ON
Save
Configuração da Porta Serial (Console) do pfSense
System
Advanced
Serial Communication
Serial Terminal (yes)
Serial Speed: 115200
Primary Console: Serial Console
Console Options
Console menu (yes)
Save
#Configuração do CA (Certificate Authority) e do Certificado SSL do pfSense
System
Cert. Manager
CAs
ADD
Create / Edit CA
Descriptive name: BoraParaPratica
Method: Create an internal Certificate Authority
Trust Store: (default)
Randomize Serial: (default)
Internal Certificate Authority
Key type: RSA
Key length (bits): 2048
Digest Algorithm: sha256
Lifetime (days): 3650
Common Name: internal-ca
Country Code: BR
Sate or Province: Guarulhos
City: Sao Paulo
Organization: Bora para Pratica
Organizational Unit: Matriz Bora para Pratica
Save
Export CA
Salvar Arquivo: BoraParaPratica.crt
Certificates
Add/Sign
Add/Sign a New Certificate
Method: Create an internal Certificate
Descriptive name: Certificado do pfSense
Internal Certificate
Certificate authority: BoraParaPratica
Key type: RSA
Key length: 2048
Digest Algorithm: sha256
Lifetime (days): 3650
Common Name: ptispo01fw01.pti.intra
Country Code: BR
State or Province: Guarulhos
City: Sao Paulo
Organization: Bora para Pratica
Organization Unit: Matriz de Bora para Pratica
Certificate Attributes
Certificate Type: Server Certificate
Alternative Names:
IP Address: 172.16.1.254
FQDN or Hostname: ptispo01fw01
FQDN or Hostname: ptispo01fw01.pti.intra
Save
Configuração do suporte ao HTTPS do pfSense
System
Advanced
webConfigurator
Protocol: HTTPS
SSL Certificate: Certificado do pfSense
Save
Instalação do CA (Certificate Authority) no Firefox (Linux ou Windows)
Firefox
Menu de Aplicativo (ou utilizar o atalho: about:preferences)
Preferências
Pesquisar em Preferências
Certificados
Ver Certificados...
Autoridades
Importar: BoraParaPratica.crt <Abrir>
Confiar nesta CA para identificar sites (yes)
Confiar nesta CA para identificar usuários de e-mail (yes)
<Ver>
<OK>
Instalação do CA (Certificate Authority) no Google Chrome (Linux)
Google Chrome
Digite a URL: chrome://settings/certificates
Autoridade
Importar
BoraParaPratica.crt <Abrir>
Confiar neste certificado para identificar sites (yes)
Confiar neste certificado para identificar usuários de e-mail (yes)
Confiar neste certificado para identificar fabricantes de software (yes)
<OK>
Digite a URL: chrome://restart
Instalação do CA (Certificate Authority) no Windows
BoraParaPratica.crt (clicar duas vezes em cima do certificado)
Abrir
Certificado
Geral
Instalar Certificado...
Assistente para Importação de Certificados
Máquina Local <Avançar>
Deseja permitir que este aplicativo faça alterações no seu dispositivo? <sim>
Colocar todos os certificados no repositório a seguir
Repositório de Certificados <Procurar>
Autoridades de Certificação Raiz Confiáveis <OK>
<Avançar>
<Concluir>
<OK>
Pesquisa do Windows
Gerenciar Certificados de Computador <Sim>
Autoridades de Certificação Raiz Confiáveis
Certificados
internal-ca
Instalação do CA (Certificate Authority) no Linux
BoraParaPratica.crt
Abrir como Root
Copia: BoraParaPratica.crt
Colar: /usr/local/share/ca-certificates
Terminal
sudo update-ca-certificates