FTLinuxCourse - Tin tổng hợp mới nhất không thể bỏ lỡ
  • Home
  • Lập Trình Linux
  • Công Nghệ
  • Máy Tính
No Result
View All Result
  • Home
  • Lập Trình Linux
  • Công Nghệ
  • Máy Tính
No Result
View All Result
FTLinuxCourse - Tin tổng hợp mới nhất không thể bỏ lỡ
No Result
View All Result

Linux – UFW Firewall Setup (ufw)

admin by admin
April 21, 2020
in Lập Trình Linux
12
Linux – UFW Firewall Setup (ufw)



Find code and diagrams at:

UFW is a simple firewall application that is included with Ubuntu nd can be installed on other distributions of Linux.

Note: For the demonstrations to work you may need to change settings or hardware configurations within your virtualization software. I had to connect my host machine to a hard word connection for Rules for specific IP Addresses to work.

sudo ufw status – shows current status of ufw
sudo ufw enable – Enables ufw firewall
By default ALL incoming traffic is blocked
sudo ufw disable – Disables ufw
sudo ufw status verbose – Shows all Rules currently configured for ufw
sudo ufw allow 21 – Allows specific port
sudo ufw allow ssh – Allows ports for a specific service
sudo ufw status numbered – Shows rules in numbered order so that you can delete specific rules
sudo ufw delete 1 – Deletes rule based on number
sudo ufw allow from 192.168.1.2 – Allows traffic from a specific IP address to all ports
sudo ufw allow from 192.168.1.0/24 – Allows traffic from a subnet to all ports
sudo ufw allow from 192.168.1.2 to any port 22 – Allows traffic from a specific IP address to a specific port
sudo ufw allow from 192.168.1.0/24 to any port 22 – Allows traffic from a subnet to a specific port
sudo ufw reset – Deletes all rules and disables ufw

Nguồn: https://ftlinuxcourse.com

Xem thêm bài viết khác: https://ftlinuxcourse.com/lap-trinh-linux

Xem thêm Bài Viết:

  • Trải nghiệm mới hay ho với hướng dẫn cài Mac Os trên vmware
  • Bật mí cách cài đặt ssl miễn phí lên Let’s Encrypt
  • Tuyệt chiêu tạo usb boot kali linux đơn giản dành cho bạn
  • Hướng dẫn chi tiết từ A – Z các bước cài đặt Python trên Windows 10
  • Bật mí quy trình cài đặt Kali Linux trên Vmware đúng chuẩn và chi tiết
Tags: Youtube
Previous Post

Hướng dẫn sử dụng phần mềm Sketchup vẽ mô hình 3D, phần 2: Vẽ một ngôi nhà nhỏ (Vietnamese)

Next Post

Trailer | Gửi Thời Mỹ Mãn Ngọt Ngào Của Chúng Ta - Tập 13 (Vietsub) | Thanh Xuân Vườn Trường 2020

Next Post
Trailer | Gửi Thời Mỹ Mãn Ngọt Ngào Của Chúng Ta – Tập 13 (Vietsub) | Thanh Xuân Vườn Trường 2020

Trailer | Gửi Thời Mỹ Mãn Ngọt Ngào Của Chúng Ta - Tập 13 (Vietsub) | Thanh Xuân Vườn Trường 2020

Comments 12

  1. Aaron says:
    3 years ago

    Allowing only a specific ip-address to access does not work if the client is using DHCP right?

    Reply
  2. Production Penguin says:
    3 years ago

    awesome video, subscribed!

    Reply
  3. geekPanther says:
    3 years ago

    Very informative video and Thank you so much for Adding those UFW commands on the description, It really make life lot easier.

    Reply
  4. acb dxb says:
    3 years ago

    sometimes the ftp service ufw doesn't let the ftp work and then when i write "ufw allow proto ftp to any port 21" it returns with "ERROR: Unsupported protocol 'ftp'". Is there a solution to my problem and why is this happening?

    Reply
  5. Karthick Narayanan says:
    3 years ago

    Hey eli it's amazing that u made the learning new technologies much in ease manner, y don't u prefer doing videos about RPA(Robotic Process Autonation)

    Reply
  6. - says:
    3 years ago

    3:12 – I want my specific login to access SSH (and FTP) regardless of my IP address (I want to access the server from other systems without granting the system specifically access), but FTP and SSH have thus far thwarted my attempts to log in from outside my LAN. :-

    Reply
  7. Chris Wiley says:
    3 years ago

    Thank you so much for this series. I've learned a ton so far.

    Reply
  8. mdd1963 says:
    3 years ago

    Great tutorial, Sir!

    Reply
  9. Mohammed Barsad says:
    3 years ago

    Thanks sir , your MCSC course was very worthy for me and God bless you

    Reply
  10. mdd1963 says:
    3 years ago

    'impore-TUNT' 🙂 (Other 'Eli-isms' – industry = INN-doss-tree) 🙂

    Reply
  11. TARGET LOCKED says:
    3 years ago

    It's so simple rules like dog commands.

    Reply
  12. ronald jorgensen says:
    3 years ago

    my system is 10 years old should I start fresh to use this Linux

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Xem Thêm

Những điều bạn có thể chưa biết về Thánh sim Hi Vietnamobile

Những điều bạn có thể chưa biết về Thánh sim Hi Vietnamobile

January 17, 2021
Xiaomi Mi 10 Pro thiết kế thời thương, màn hình cong ấn tượng

Xiaomi Mi 10 Pro thiết kế thời thương, màn hình cong ấn tượng

June 1, 2021
Địa chỉ in bao bì nhựa tại Đà Nẵng chiết khấu cao

Địa chỉ in bao bì nhựa tại Đà Nẵng chiết khấu cao

January 26, 2021
Địa chỉ bán đèn tuýp LED Philips uy tín và chất lượng trên thị trường?

Bán đèn tuýp led Philips – Skyled

July 27, 2020
Lựa chọn chủ đề in áo thun phù hợp

Lựa chọn dịch vụ in áo thun cotton cần lưu ý gì?

August 2, 2020
Cần xác định được điểm đặt pallet cao nhất để mua xe

Bí quyết chọn mua xe nâng điện đẩy tay

August 3, 2020

Về Chúng Tôi

Báo ftlinuxcourse.com 24h – Đón xem những tin tức mới nhất về tình hình chính trị, xã hội, an ninh trật tự, văn hóa – giải trí, thể thao, thông tin trong ngày.

  • Liên Hệ
  • Chính Sách Bảo Mật

© 2023 JNews - Premium WordPress news & magazine theme by Jegtheme.

No Result
View All Result
  • Home
  • Lập Trình Linux
  • Công Nghệ
  • Máy Tính

© 2023 JNews - Premium WordPress news & magazine theme by Jegtheme.