elric8's recent timeline updates
elric8

elric8

V2EX member #98177, joined on 2015-02-16 22:18:40 +08:00
elric8's recent replies
Oct 6, 2016
Replied to a topic by elric8 问与答 centos 无法 dns 解析
# Generated by iptables-save v1.4.7 on Thu Oct 6 09:32:03 2016
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [4:512]
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -p icmp -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT
-A INPUT -j REJECT --reject-with icmp-host-prohibited
-A INPUT -p tcp -m tcp --dport 443 -j ACCEPT
-A INPUT -p udp -m udp --dport 443 -j ACCEPT
-A INPUT -p udp -m udp --dport 53 -j ACCEPT
-A FORWARD -j REJECT --reject-with icmp-host-prohibited
-A OUTPUT -p tcp -m tcp --dport 443 -j ACCEPT
-A OUTPUT -p udp -m udp --dport 443 -j ACCEPT
-A OUTPUT -p udp -m udp --dport 53 -j ACCEPT
COMMIT
# Completed on Thu Oct 6 09:32:03 2016
@rainy3636
@acess
打ls可以看到根目录
但是打yum wget netstat
就显示
sftp:/root> yum
sftp: unknown command "yum"
sftp:/root> yum
sftp: unknown command "yum"
sftp:/root> wget
sftp: unknown command "wget"
sftp:/root> netstat -antp
sftp: unknown command "netstat"
sftp:/root>
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5273 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 102ms · UTC 05:45 · PVG 13:45 · LAX 22:45 · JFK 01:45
♥ Do have faith in what you're doing.