Ocena wątku:
  • 0 głosów - średnia: 0
  • 1
  • 2
  • 3
  • 4
  • 5
Rozwiązane po restarcie nieaktywny firewall
#3
0
Kod:
victor@victor-HP-Pavilion-dv5-Notebook-PC:~$ sudo systemctl status ufw
[sudo] hasło użytkownika victor:         
● ufw.service - Uncomplicated firewall
    Loaded: loaded (/lib/systemd/system/ufw.service; enabled; vendor preset: e>
    Active: active (exited) since Tue 2021-04-27 21:02:28 CEST; 6min ago
      Docs: man:ufw(8)
    Process: 325 ExecStart=/lib/ufw/ufw-init start quiet (code=exited, status=0>
  Main PID: 325 (code=exited, status=0/SUCCESS)

kwi 27 21:02:28 victor-HP-Pavilion-dv5-Notebook-PC systemd[1]: Finished Uncompl>
Warning: journal has been rotated since unit was started, output may be incompl>
lines 1-9/9 (END)

Kod:
victor@victor-HP-Pavilion-dv5-Notebook-PC:~$ cat /lib/systemd/system/ufw.service
[Unit]
Description=Uncomplicated firewall
Documentation=man:ufw(8)
DefaultDependencies=no
Before=network.target

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/lib/ufw/ufw-init start quiet
ExecStop=/lib/ufw/ufw-init stop

[Install]
WantedBy=multi-user.target
Kod:
victor@victor-HP-Pavilion-dv5-Notebook-PC:~$ sudo ufw status
[sudo] hasło użytkownika victor:         
Stan: nieaktywny


Kod:
victor@victor-HP-Pavilion-dv5-Notebook-PC:~$ dpkg -l | grep -i firewall
ii  firewalld                                  0.8.2-1                            all          dynamically managed firewall with support for network zones
ii  python3-firewall                          0.8.2-1                            all          Python3 bindings for firewalld
ii  ufw                                        0.36-6                              all          program for managing a Netfilter firewall
victor@victor-HP-Pavilion-dv5-Notebook-PC:~$

Do wstawiania wyników z terminala używaj znaczników CODE/YB3


Wiadomości w tym wątku
po restarcie nieaktywny firewall - przez Victrius - 27-04-2021, 20:01
RE: po restarcie nieaktywny firewall - przez dedito - 27-04-2021, 20:11
RE: po restarcie nieaktywny firewall - przez Victrius - 27-04-2021, 21:13
RE: po restarcie nieaktywny firewall - przez dedito - 27-04-2021, 21:19
RE: po restarcie nieaktywny firewall - przez yahoob3 - 27-04-2021, 21:28
RE: po restarcie nieaktywny firewall - przez dedito - 27-04-2021, 21:36
RE: po restarcie nieaktywny firewall - przez dedito - 27-04-2021, 21:47

Skocz do:




Użytkownicy przeglądający ten wątek: 1 gości