質問編集履歴
2
iptables等の追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -63,4 +63,73 @@
|
|
63
63
|
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN
|
64
64
|
```
|
65
65
|
|
66
|
-
お助けください。
|
66
|
+
お助けください。
|
67
|
+
|
68
|
+
-----追記-----
|
69
|
+
皆様ありがとうございます。
|
70
|
+
|
71
|
+
IPアドレスは固定されています。
|
72
|
+
メールサーバにしたいマシンへの
|
73
|
+
sshやping, Webサーバ, ntpのアクセスはできています。
|
74
|
+
|
75
|
+
iptablesの結果は長すぎて追記できないので一部だけですが。
|
76
|
+
```iptables
|
77
|
+
Chain ufw-after-input (1 references)
|
78
|
+
target prot opt source destination
|
79
|
+
ufw-skip-to-policy-input udp -- anywhere anywhere udp dpt:netbios-ns
|
80
|
+
ufw-skip-to-policy-input udp -- anywhere anywhere udp dpt:netbios-dgm
|
81
|
+
ufw-skip-to-policy-input tcp -- anywhere anywhere tcp dpt:netbios-ssn
|
82
|
+
ufw-skip-to-policy-input tcp -- anywhere anywhere tcp dpt:microsoft-ds
|
83
|
+
ufw-skip-to-policy-input udp -- anywhere anywhere udp dpt:bootps
|
84
|
+
ufw-skip-to-policy-input udp -- anywhere anywhere udp dpt:bootpc
|
85
|
+
ufw-skip-to-policy-input all -- anywhere anywhere ADDRTYPE match dst-type BROADCAST
|
86
|
+
|
87
|
+
Chain ufw-before-forward (1 references)
|
88
|
+
target prot opt source destination
|
89
|
+
ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
|
90
|
+
ACCEPT icmp -- anywhere anywhere icmp destination-unreachable
|
91
|
+
ACCEPT icmp -- anywhere anywhere icmp source-quench
|
92
|
+
ACCEPT icmp -- anywhere anywhere icmp time-exceeded
|
93
|
+
ACCEPT icmp -- anywhere anywhere icmp parameter-problem
|
94
|
+
ACCEPT icmp -- anywhere anywhere icmp echo-request
|
95
|
+
ufw-user-forward all -- anywhere anywhere
|
96
|
+
|
97
|
+
Chain ufw-before-input (1 references)
|
98
|
+
target prot opt source destination
|
99
|
+
ACCEPT all -- anywhere anywhere
|
100
|
+
ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
|
101
|
+
ufw-logging-deny all -- anywhere anywhere ctstate INVALID
|
102
|
+
DROP all -- anywhere anywhere ctstate INVALID
|
103
|
+
ACCEPT icmp -- anywhere anywhere icmp destination-unreachable
|
104
|
+
ACCEPT icmp -- anywhere anywhere icmp source-quench
|
105
|
+
ACCEPT icmp -- anywhere anywhere icmp time-exceeded
|
106
|
+
ACCEPT icmp -- anywhere anywhere icmp parameter-problem
|
107
|
+
ACCEPT icmp -- anywhere anywhere icmp echo-request
|
108
|
+
ACCEPT udp -- anywhere anywhere udp spt:bootps dpt:bootpc
|
109
|
+
ufw-not-local all -- anywhere anywhere
|
110
|
+
ACCEPT udp -- anywhere 224.0.0.251 udp dpt:mdns
|
111
|
+
ACCEPT udp -- anywhere 239.255.255.250 udp dpt:1900
|
112
|
+
ufw-user-input all -- anywhere anywhere
|
113
|
+
|
114
|
+
Chain ufw-user-input (1 references)
|
115
|
+
target prot opt source destination
|
116
|
+
ACCEPT tcp -- anywhere anywhere tcp dpt:ntp
|
117
|
+
ACCEPT udp -- anywhere anywhere udp dpt:ntp
|
118
|
+
ACCEPT tcp -- anywhere anywhere tcp dpt:http
|
119
|
+
ACCEPT udp -- anywhere anywhere udp dpt:http
|
120
|
+
ACCEPT tcp -- anywhere anywhere tcp dpt:domain
|
121
|
+
ACCEPT udp -- anywhere anywhere udp dpt:domain
|
122
|
+
ACCEPT tcp -- anywhere anywhere tcp dpt:domain
|
123
|
+
ACCEPT udp -- anywhere anywhere udp dpt:domain
|
124
|
+
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
|
125
|
+
ACCEPT udp -- anywhere anywhere udp dpt:ssh
|
126
|
+
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
|
127
|
+
ACCEPT udp -- anywhere anywhere udp dpt:ntp
|
128
|
+
|
129
|
+
Chain ufw-user-output (1 references)
|
130
|
+
target prot opt source destination
|
131
|
+
ACCEPT tcp -- anywhere anywhere tcp dpt:domain
|
132
|
+
ACCEPT udp -- anywhere anywhere udp dpt:domain
|
133
|
+
ACCEPT tcp -- anywhere anywhere tcp dpt:ntp
|
134
|
+
ACCEPT udp -- anywhere anywhere udp dpt:ntp
|
135
|
+
```
|
1
netstatの結果を追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -56,4 +56,11 @@
|
|
56
56
|
telnet localhost 143はうまくいくのですが、
|
57
57
|
他のPCから telnet <IPADDRESS> 143は動きませんでした。
|
58
58
|
|
59
|
+
netstat では以下の様子が見られます。
|
60
|
+
```netstat
|
61
|
+
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN
|
62
|
+
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN
|
63
|
+
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN
|
64
|
+
```
|
65
|
+
|
59
66
|
お助けください。
|