访问 HTTP
是正常的:
[root@localhost ~]# wget http://www.baidu.com
--2020-10-28 18:00:30-- http://www.baidu.com/
Resolving www.baidu.com (www.baidu.com)... 180.101.49.12, 180.101.49.11
Connecting to www.baidu.com (www.baidu.com)|180.101.49.12|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://172.28.3.10/webAuth/index.htm?www.baidu.com/ [following]
--2020-10-28 18:00:30-- http://172.28.3.10/webAuth/index.htm?www.baidu.com/
Connecting to 172.28.3.10:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3995 (3.9K) [text/html]
Saving to: ‘index.html.1’
index.html.1 100%[==============>] 3.90K --.-KB/s in 0s
2020-10-28 18:00:31 (419 MB/s) - ‘index.html.1’ saved [3995/3995]
访问 HTTPS
异常:
[root@localhost ~]# wget https://www.baidu.com
--2020-10-28 18:05:07-- https://www.baidu.com/
Resolving www.baidu.com (www.baidu.com)... 180.101.49.11, 180.101.49.12
Connecting to www.baidu.com (www.baidu.com)|180.101.49.11|:443... failed: Connection timed out.
Connecting to www.baidu.com (www.baidu.com)|180.101.49.12|:443...
防火墙和 iptables
都已经停了
[root@localhost ~]# systemctl status firewalld.service
● firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled)
Active: inactive (dead)
Docs: man:firewalld(1)
[root@localhost ~]# systemctl status iptables.service
● iptables.service - IPv4 firewall with iptables
Loaded: loaded (/usr/lib/systemd/system/iptables.service; disabled; vendor preset: disabled)
Active: inactive (dead)
总感觉是网络策略的问题, 但是对 Linux
不精通, 不知道真正问题出在哪里