Показаны сообщения с ярлыком firewall. Показать все сообщения
Показаны сообщения с ярлыком firewall. Показать все сообщения

21.6.22

Configure Windows Firewall Inbound Connection Rules


NOTE: Also, you can configure Windows Firewall settings through Group Policy settings. To do this, edit the GPO affecting your firewall settings. Navigate to Computer Configuration → Administrative Templates → Network → Network Connections → Windows Firewall, select Domain Profile or Standard Profile. Then, enable the Allow inbound remote administration exception.


On each audited server, navigate to Start → Control Panel and select Windows Firewall.

In the Help Protect your computer with Windows Firewall page, click Advanced settings on the left.

In the Windows Firewall with Advanced Security dialog, select Inbound Rules on the left.


Enable the following inbound connection rules:


Remote Event Log Management (NP-In)

Remote Event Log Management (RPC)

Remote Event Log Management (RPC-EPMAP)

Windows Management Instrumentation (ASync-In)

Windows Management Instrumentation (DCOM-In)

Windows Management Instrumentation (WMI-In)

Network Discovery (NB-Name-In)

File and Printer Sharing (NB-Name-In)

Remote Service Management (NP-In)

Remote Service Management (RPC)

Remote Service Management (RPC-EPMAP)

Performance Logs and Alerts (DCOM-In)

Performance Logs and Alerts (Tcp-In)

Remote Scheduled Tasks Management (RPC)

Remote Scheduled Tasks Management (RPC-EMAP)

https://helpcenter.netwrix.com/bundle/Auditor_10.0/page/Content/Configure_IT_Infrastructure/Windows_Server/WS_Firewall_Rules.htm

19.6.14

как отключить файервол в ubuntu

Проверить файервол можно с помощью команды

$ sudo iptables -L -n

Пример выполнения команды
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
ACCEPT     udp  --  0.0.0.0/0            0.0.0.0/0           udp dpt:53
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpt:53
ACCEPT     udp  --  0.0.0.0/0            0.0.0.0/0           udp dpt:67
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpt:67
Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
ACCEPT     all  --  0.0.0.0/0            192.168.122.0/24    state RELATED,ESTABLISHED
ACCEPT     all  --  192.168.122.0/24     0.0.0.0/0
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0
REJECT     all  --  0.0.0.0/0            0.0.0.0/0           reject-with icmp-port-unreachable
REJECT     all  --  0.0.0.0/0            0.0.0.0/0           reject-with icmp-port-unreachable
Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
Сохраняем текущие правила

$ sudo iptables-save > firewall.rules


Отключаем файервол

$ sudo iptables -X
$ sudo iptables -t nat -F
$ sudo iptables -t nat -X
$ sudo iptables -t mangle -F
$ sudo iptables -t mangle -X
$ sudo iptables -P INPUT ACCEPT
$ sudo iptables -P FORWARD ACCEPT
$ sudo iptables -P OUTPUT ACCEPT

В последних версиях ubuntu файервол отключается командой

$ sudo ufw disable

http://www.cyberciti.biz/faq/ubuntu-server-disable-firewall/