This repository has been archived by the owner on Oct 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 90
/
Copy pathEtapa-010-NAT-PortForwarding.txt
91 lines (83 loc) · 2.89 KB
/
Etapa-010-NAT-PortForwarding.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
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: 18/08/2021
Data de atualização: 10/09/2021
Versão: 0.01
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
Criação de Apelidos: https://docs.netgate.com/pfsense/en/latest/firewall/aliases.html
NAT Encaminhamento de Portas: https://docs.netgate.com/pfsense/en/latest/nat/port-forwards.html
Configuração das Regras de Firewall: https://docs.netgate.com/pfsense/en/latest/firewall/configure.html
Criando os apelidos no pfSense
Firewall
Aliases
IP
+ADD
Properties
Name: ucsunivention
Description: Servidor UCS Univention DC-01
Type: Host(s)
Host(s)
IP or FQDN: 172.16.1.10 - Description: IP UCS Core Free
IP or FQDN: ptispo01dc01 - Description: Hostname UCS Core Free
IP or FQDN: ptispo01dc01.pti.intra - Description: FQDN UCS Core Free
Save
Apply Changes
Criando as regras de NAT no pfSense
Firewall
NAT
Port Forward
ADD
Edit Redirect Entry
Disabled: Off
No RDR(NOT): Off
Interface: WAN
Address Family: IPv4
Protocol: TCP
Source: Default
Destination
Invert match: Off
WAN Address
Destination port range:
From port: SSH
Custom: Default
To port: SSH
Custom: Default
Redirect target IP:
Type: Single host
Address: ucsunivention
Redirect target port:
Port: SSH
Custom: Default
Description: Redirecionamento da Porta 22 SSH do UCS Univention
No XMLRPC Sync: Off
NAT reflection: Use system default
Filter rule association: Add association filter rule
Save
Apply Changes
+Separator
Enter a description: Regras de NAT do Servidor UCS Univention - Color: Blue
Save
Configurando as regras de Firewall na Interface WAN do pfSense
Firewall
Rules
WAN
Edit
Extra Options
Log: ON
Description: NAT Redirecionamento da Porta 22 SSH do UCS Univention
Save
Apply Changes
+Separator
Enter a description: Regras de NAT do Servidor UCS Univention - Color: Blue
Save