Moxa UC-8410A-T-LX [47/86] Iptables

Moxa UC-8410A-T-LX [47/86] Iptables
UC-8410A Series Linux Software General Debian Package Usage
5-7
Match User sftp
ChrootDirectory /home/%u
ForceCommand internal-sftp
3. Restart SSHD Daemon:
moxa@Moxa:~$ sudo /etc/init.d/sshd restart
4. At this point, the account and its default path should be configured.
NOTE
Click the following link for more information on SSH.
https://wiki.debian.org/SSH
DNS
The UC-8410A-LX supports DNS client (but not DNS server). To set up DNS client, you need to edit three
configuration files:
/etc/hosts, /etc/resolv.conf, and /etc/nsswitch.conf.
/etc/hosts
This is the first file that the Linux system reads to resolve the host name and IP address.
/etc/resolv.conf
This is the most important file that you need to edit when using DNS for the other programs. For example,
before using
#ntpdate time.nist.goc to update the system time, you will need to add the DNS server
address to the file. Ask your network administrator which DNS server address you should use. The DNS server’s
IP address is specified with the
nameserver command. For example, add the following line to /etc/resolv.conf
file if the DNS server’s IP address is 168.95.1.1:
nameserver 168.95.1.1
10.120.53.100 – PuTTY
moxa@Moxa:~$ sudo cat /etc/resolv.conf
#
# resolv.conf This file is the resolver configuration file
# See resolver(5).
#
#nameserver 192.168.1.16
nameserver 168.95.1.1
nameserver 140.115.1.31
nameserver 140.115.236.10
/etc/nsswitch.conf
This file defines the sequence to resolve the IP address by using /etc/hosts file or /etc/resolv.conf.
IPTABLES
IPTABLES is an administrative tool for setting up, maintaining, and inspecting the Linux kernel’s IP packet filter
rule tables. Several different tables are defined, with each table containing built-in chains and user-defined
chains.

Содержание

Скачать