Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Ubuntu server 8.04 Firewall Guide     - RHEL6.4 one key installation Redmine (Linux)

- Linux prohibit non-WHEEL user su command Detail (Linux)

- How to use the internal network IP forwarding to connect to the Internet on Linux (Linux)

- Android Studio interface-related settings (Linux)

- Shell script to delete empty folders recursively (Linux)

- Linux kernel TCP / IP parameters analysis and tuning (Linux)

- Android realize RippleEffect water (Programming)

- Various sorting algorithms implemented in Python (Programming)

- Port Telnet command to detect the remote host is turned on (Linux)

- Apache Web Security Linux systems (Linux)

- CentOS of NFS (Server)

- JavaScript, some conclusions about the implicit conversion (Programming)

- How to generate Linux, random password encryption or decryption (Linux)

- 8 Git tips (Linux)

- Kafka cluster deployment (Server)

- Dialogue UNIX:! $ # @ *% (Linux)

- View and modify Linux machine name (Linux)

- Python2.7.7 source code analysis (Programming)

- Safe learning through self-extracting package to achieve invasion (Linux)

- phpinfo (): like phpinfo as a Python script (Programming)

 
         
  Ubuntu server 8.04 Firewall Guide
     
  Add Date : 2017-08-31      
         
         
         
  Create a tool for host-based iptables firewall configuration. This tool should provide an easy to use interface to the user, as well as support package integration and dynamic-detection of open ports.
Install UFW in Ubuntu
Currently this firewall package is available in Ubuntu 8.04
sudo apt-get install ufw
This will complete the installation
Turn firewall on and off ( 'disable' is default ACCEPT)
# Ufw enable | disable
Toggle logging
# Ufw logging on | off
Set the default policy (ie "mostly open" vs "mostly closed")
# Ufw default allow | deny
Accept or drop incoming packets to (can see what services are available with 'status' (see below)) can be specified via service name in / etc / services,..' Protocol: port ', or via package meta-data' allow 'adds service entry to / etc / ufw / maps and' deny 'removes service entry from / etc / ufw / maps Basic syntax.:
# Ufw allow | deny [service]
Display status of firewall and ports in the listening state, referencing / var / lib / ufw / maps. Numbers in parenthesis are not displayed to user
# Ufw status

UFW Examples

Allow port 53
$ Sudo ufw allow 53
Delete Allow port 53
$ Sudo ufw delete allow 53
Allow port 80
$ Sudo ufw allow 80 / tcp
Delete Allow port 80
$ Sudo ufw delete allow 80 / tcp
Allow port smtp
$ Sudo ufw allow smtp
Delete Allow port smtp
$ Sudo ufw delete allow smtp
Allow fro Particular IP
$ Sudo ufw allow from 192.168.254.254
Delete the above rule
$ Sudo ufw delete allow from 192.168.254.254
     
         
         
         
  More:      
 
- Shell Script: Bulk add users, and set the random character password (Programming)
- To setup CentOS LAMP environment (Server)
- 15 things to do after installing Ubuntu 15.04 Desktop (Linux)
- Lua non-blocking write log (Programming)
- The Concept and Semantics of Java Memory Model (Programming)
- Digital jQuery scrolling effect (Programming)
- Redis Linux system installation guide (Database)
- CentOS installation Percona Server 5.5.42 compiling problem solve one case (Linux)
- MyCAT log analysis (Database)
- On Android running ClojureScript (Linux)
- Text analysis tools - awk (Linux)
- How to create a bootable USB disk to use MultiSystem on Ubuntu (Linux)
- systemd run levels and service management command Introduction (Linux)
- Hazelcast integration with MongoDB (Database)
- Analyzing Linux server architecture is 32-bit / 64-bit (Server)
- Open remote MySQL database connection managed under CentOS (Database)
- Kubernetes Cluster Setup problems encountered and solutions (Server)
- Linux screen commonly commands (Linux)
- Nginx Keepalived Nginx monitoring scripts (Server)
- MySQL service failed to start thinking of settlement under CentOS7 (Database)
     
           
     
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.