我试图在我的家庭服务器上托管一个网站,主要用于练习和私人使用。我可以访问路由器的LAN网络内的网站,但不能访问WAN。我打开了端口80和443,但无法从局域网外部连接到它。我转发了路由器上的端口,我尝试停止iptables,然后连接到网站,但没有运气。我不知道该怎么办......请帮忙
iptables -vnL
<div class="not-my-div">
<p>Some Text Here</p>
<div class="my-div"></div>
</div>
/etc/httpd/conf.d/vhost.conf
Start-Process -FilePath 'cmd' -WorkingDirectory [Directory] -ArgumentList '/k dotnet build'
netstat -ant
[root@offworld teamspeak]# iptables -vnL
Chain INPUT (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT tcp -- !lo * 84.255.210.79 0.0.0.0/0 tcp dpt:53
0 0 ACCEPT udp -- !lo * 84.255.210.79 0.0.0.0/0 udp dpt:53
0 0 ACCEPT tcp -- !lo * 84.255.210.79 0.0.0.0/0 tcp spt:53
0 0 ACCEPT udp -- !lo * 84.255.210.79 0.0.0.0/0 udp spt:53
0 0 ACCEPT tcp -- !lo * 84.255.209.79 0.0.0.0/0 tcp dpt:53
0 0 ACCEPT udp -- !lo * 84.255.209.79 0.0.0.0/0 udp dpt:53
0 0 ACCEPT tcp -- !lo * 84.255.209.79 0.0.0.0/0 tcp spt:53
12 1614 ACCEPT udp -- !lo * 84.255.209.79 0.0.0.0/0 udp spt:53
2844 554K LOCALINPUT all -- !lo * 0.0.0.0/0 0.0.0.0/0
3 180 ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0
31 1548 INVALID tcp -- !lo * 0.0.0.0/0 0.0.0.0/0
2 80 ACCEPT all -- !lo * 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED
0 0 ACCEPT tcp -- !lo * 0.0.0.0/0 0.0.0.0/0 ctstate NEW tcp dpt:20
1 44 ACCEPT tcp -- !lo * 0.0.0.0/0 0.0.0.0/0 ctstate NEW tcp dpt:21
1 44 ACCEPT tcp -- !lo * 0.0.0.0/0 0.0.0.0/0 ctstate NEW tcp dpt:22
0 0 ACCEPT tcp -- !lo * 0.0.0.0/0 0.0.0.0/0 ctstate NEW tcp dpt:2008
0 0 ACCEPT tcp -- !lo * 0.0.0.0/0 0.0.0.0/0 ctstate NEW tcp dpt:10011
0 0 ACCEPT tcp -- !lo * 0.0.0.0/0 0.0.0.0/0 ctstate NEW tcp dpt:30033
0 0 ACCEPT tcp -- !lo * 0.0.0.0/0 0.0.0.0/0 ctstate NEW tcp dpt:41144
0 0 ACCEPT udp -- !lo * 0.0.0.0/0 0.0.0.0/0 ctstate NEW udp dpt:20
0 0 ACCEPT udp -- !lo * 0.0.0.0/0 0.0.0.0/0 ctstate NEW udp dpt:21
0 0 ACCEPT udp -- !lo * 0.0.0.0/0 0.0.0.0/0 ctstate NEW udp dpt:9987
0 0 ACCEPT icmp -- !lo * 0.0.0.0/0 0.0.0.0/0 icmptype 8 limit: avg 1/sec burst 5
0 0 ACCEPT icmp -- !lo * 0.0.0.0/0 0.0.0.0/0 icmptype 0 limit: avg 1/sec burst 5
0 0 ACCEPT icmp -- !lo * 0.0.0.0/0 0.0.0.0/0 icmptype 11
0 0 ACCEPT icmp -- !lo * 0.0.0.0/0 0.0.0.0/0 icmptype 3
49 2084 LOGDROPIN all -- !lo * 0.0.0.0/0 0.0.0.0/0
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:443
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:80