Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Linux NFS service fixed ports and firewall configuration     - Computer black magic: tail recursion (Programming)

- Linux Firewall IPCop Profile (Linux)

- Switching Virtual Machine + Ubuntu graphical interface and terminal interface (Linux)

- Solaris 11 forget the root password (Linux)

- VirtualBox install Windows 8.1 has encountered an error 0x000000C4 solutions (Linux)

- Linux process management related content (Linux)

- VMWare virtual machine without rebooting way to add virtual disk (Linux)

- GitLab Installation Guide -Ubuntu 14.04 LTS (Server)

- Swift used in the application to add a local push at the specified time (Programming)

- Unix system security configuration (Linux)

- PostgreSQL vacuum principle of a function and parameters (Database)

- How to choose the correct HTTP status code (Server)

- Ceph performance optimization summary (v0.94) (Server)

- Simple comparison of MySQL and Oracle in a sql analytical details (Database)

- Nginx + Tomcat static and dynamic load balancing and separation configuration essentials under Linux (Server)

- Customize own small private Linux system (Linux)

- Linux host dual LAN transceiver package ARP problem (Linux)

- To use Java arrays implement the order form (Programming)

- Linux System Getting Started Tutorial: how to find information on Linux-embedded module (Linux)

- Category prevent DoS attacks against Linux (Linux)

 
         
  Linux NFS service fixed ports and firewall configuration
     
  Add Date : 2017-08-31      
         
         
         
  #Linux NFS service fixed ports and firewall configuration #

1. Install NFS normal service on Linux

2. Modify the / etc / service, add the following (port number must be 1024 or less, and has not been occupied)
    # Local services
    mountd 1011 / tcp # rpc.mountd
    mountd 1011 / udp # rpc.mountd
    rquotad 1012 / tcp # rpc.rquotad
    rquotad 1012 / udp # rpc.rquotad

3. To restart the nfs service
  service nfs restart
    chkconfig nfs on

4. The rpc associated port has been fixed, you can add firewall rules
#portmap
/ Sbin / iptables -A INPUT -s 192.168.1.0/24 -p tcp --dport 111 -j ACCEPT
/ Sbin / iptables -A INPUT -s 192.168.1.0/24 -p udp --dport 111 -j ACCEPT
#nfsd
/ Sbin / iptables -A INPUT -s 192.168.1.0/24 -p tcp --dport 2049 -j ACCEPT
/ Sbin / iptables -A INPUT -s 192.168.1.0/24 -p udp --dport 2049 -j ACCEPT
#mountd
/ Sbin / iptables -A INPUT -s 192.168.1.0/24 -p tcp --dport 1011 -j ACCEPT
/ Sbin / iptables -A INPUT -s 192.168.1.0/24 -p udp --dport 1011 -j ACCEPT
#rquotad
/ Sbin / iptables -A INPUT -s 192.168.1.0/24 -p tcp --dport 1012 -j ACCEPT
/ Sbin / iptables -A INPUT -s 192.168.1.0/24 -p udp --dport 1012 -j ACCEPT
# Rpc.statd
/ Sbin / iptables -A INPUT -s 192.168.1.0/24 -p tcp --dport 32768 -j ACCEPT
/ Sbin / iptables -A INPUT -s 192.168.1.0/24 -p udp --dport 32768 -j ACCEPT
     
         
         
         
  More:      
 
- Usage logs Python library (Programming)
- Security Knowledge: redirection command application security (Linux)
- Linux can modify the maximum number of open files (Linux)
- Zabbix monitors the status of TCP connections (Server)
- Getting Started with Linux: Learn how to install and access CentOS 7 Remote Desktop on a VPS (Server)
- Analysis of potential problems through custom Orabbix monitoring Oracle (Database)
- Java enum use (Programming)
- Linux user opens a number of adjustment processes (Linux)
- Getting Started with Linux: CentOS7 Install Mono with the yum command (Server)
- Redis master-slave replication switch (Database)
- Atlassian Linux Shell Scripting the confluence remote backup methods (Linux)
- The Linux disguised as windows to make the system more secure (Linux)
- Update GAMIT10.6 command (Linux)
- C ++ overloaded stream insertion operator and the stream extraction operator (Programming)
- Selection sort, insertion sort, and Shell sort (Programming)
- SHELL script to use anti SSH brute force and vsftpd (Linux)
- Android Application Development: Genymotion can not start solving (Linux)
- Ubuntu 15.10 / 14.04 install subtitling software Aegisub (Linux)
- Ubuntu 14.04 Nvidia graphics driver installation and settings (Linux)
- Depth Java Singleton (Programming)
     
           
     
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.