Lubuntu 14.04 のファイアウォール設定
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
]
開始行:
[[Lubuntu 14.04 の設定]]
** 参考 [#u1caf4db]
- [[Ubuntu 10.04 のファイアウォール設定]]
** デフォルト設定 [#n036069d]
#pre{{
$ sudo iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination ...
Chain FORWARD (policy ACCEPT)
target prot opt source destination ...
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
}}
** gufw のインストール [#v9afc5ba]
$ sudo apt-get install gufw
** ファイアウォールの設定 [#lab57357]
「設定」→「ファイアウォール設定ツール」
Status を「オン」にします。
&ref(gufw.png);
#pre{{
kenji@kenji-MacBook:/etc$ sudo iptables -L
Chain INPUT (policy DROP)
target prot opt source destination ...
ufw-before-logging-input all -- anywhere a...
ufw-before-input all -- anywhere anywhere ...
ufw-after-input all -- anywhere anywhere ...
ufw-after-logging-input all -- anywhere an...
ufw-reject-input all -- anywhere anywhere ...
ufw-track-input all -- anywhere anywhere ...
Chain FORWARD (policy DROP)
target prot opt source destination ...
ufw-before-logging-forward all -- anywhere ...
ufw-before-forward all -- anywhere anywher...
ufw-after-forward all -- anywhere anywhere...
ufw-after-logging-forward all -- anywhere ...
ufw-reject-forward all -- anywhere anywher...
ufw-track-forward all -- anywhere anywhere...
Chain OUTPUT (policy ACCEPT)
target prot opt source destination ...
ufw-before-logging-output all -- anywhere ...
ufw-before-output all -- anywhere anywhere...
ufw-after-output all -- anywhere anywhere ...
ufw-after-logging-output all -- anywhere a...
ufw-reject-output all -- anywhere anywhere...
ufw-track-output all -- anywhere anywhere ...
Chain ufw-after-forward (1 references)
target prot opt source destination ...
Chain ufw-after-input (1 references)
target prot opt source destination ...
ufw-skip-to-policy-input udp -- anywhere a...
ufw-skip-to-policy-input udp -- anywhere a...
ufw-skip-to-policy-input tcp -- anywhere a...
ufw-skip-to-policy-input tcp -- anywhere a...
ufw-skip-to-policy-input udp -- anywhere a...
ufw-skip-to-policy-input udp -- anywhere a...
ufw-skip-to-policy-input all -- anywhere a...
Chain ufw-after-logging-forward (1 references)
target prot opt source destination ...
LOG all -- anywhere anywhere ...
Chain ufw-after-logging-input (1 references)
target prot opt source destination ...
LOG all -- anywhere anywhere ...
Chain ufw-after-logging-output (1 references)
target prot opt source destination ...
Chain ufw-after-output (1 references)
target prot opt source destination ...
Chain ufw-before-forward (1 references)
target prot opt source destination ...
ACCEPT all -- anywhere anywhere ...
ACCEPT icmp -- anywhere anywhere ...
ACCEPT icmp -- anywhere anywhere ...
ACCEPT icmp -- anywhere anywhere ...
ACCEPT icmp -- anywhere anywhere ...
ACCEPT icmp -- anywhere anywhere ...
ufw-user-forward all -- anywhere anywhere ...
Chain ufw-before-input (1 references)
target prot opt source destination ...
ACCEPT all -- anywhere anywhere ...
ACCEPT all -- anywhere anywhere ...
ufw-logging-deny all -- anywhere anywhere ...
DROP all -- anywhere anywhere ...
ACCEPT icmp -- anywhere anywhere ...
ACCEPT icmp -- anywhere anywhere ...
ACCEPT icmp -- anywhere anywhere ...
ACCEPT icmp -- anywhere anywhere ...
ACCEPT icmp -- anywhere anywhere ...
ACCEPT udp -- anywhere anywhere ...
ufw-not-local all -- anywhere anywhere ...
ACCEPT udp -- anywhere 224.0.0.251 ...
ACCEPT udp -- anywhere 239.255.255.250 ...
ufw-user-input all -- anywhere anywhere ...
Chain ufw-before-logging-forward (1 references)
target prot opt source destination ...
Chain ufw-before-logging-input (1 references)
target prot opt source destination ...
Chain ufw-before-logging-output (1 references)
target prot opt source destination ...
Chain ufw-before-output (1 references)
target prot opt source destination ...
ACCEPT all -- anywhere anywhere ...
ACCEPT all -- anywhere anywhere ...
ufw-user-output all -- anywhere anywhere ...
Chain ufw-logging-allow (0 references)
target prot opt source destination ...
LOG all -- anywhere anywhere ...
Chain ufw-logging-deny (2 references)
target prot opt source destination ...
RETURN all -- anywhere anywhere ...
LOG all -- anywhere anywhere ...
Chain ufw-not-local (1 references)
target prot opt source destination ...
RETURN all -- anywhere anywhere ...
RETURN all -- anywhere anywhere ...
RETURN all -- anywhere anywhere ...
ufw-logging-deny all -- anywhere anywhere ...
DROP all -- anywhere anywhere ...
Chain ufw-reject-forward (1 references)
target prot opt source destination ...
Chain ufw-reject-input (1 references)
target prot opt source destination ...
Chain ufw-reject-output (1 references)
target prot opt source destination ...
Chain ufw-skip-to-policy-forward (0 references)
target prot opt source destination ...
DROP all -- anywhere anywhere ...
Chain ufw-skip-to-policy-input (7 references)
target prot opt source destination ...
DROP all -- anywhere anywhere ...
Chain ufw-skip-to-policy-output (0 references)
target prot opt source destination ...
ACCEPT all -- anywhere anywhere ...
Chain ufw-track-forward (1 references)
target prot opt source destination ...
Chain ufw-track-input (1 references)
target prot opt source destination ...
Chain ufw-track-output (1 references)
target prot opt source destination ...
ACCEPT tcp -- anywhere anywhere ...
ACCEPT udp -- anywhere anywhere ...
Chain ufw-user-forward (1 references)
target prot opt source destination ...
Chain ufw-user-input (1 references)
target prot opt source destination ...
Chain ufw-user-limit (0 references)
target prot opt source destination ...
LOG all -- anywhere anywhere ...
REJECT all -- anywhere anywhere ...
Chain ufw-user-limit-accept (0 references)
target prot opt source destination ...
ACCEPT all -- anywhere anywhere ...
Chain ufw-user-logging-forward (0 references)
target prot opt source destination ...
Chain ufw-user-logging-input (0 references)
target prot opt source destination ...
Chain ufw-user-logging-output (0 references)
target prot opt source destination ...
Chain ufw-user-output (1 references)
target prot opt source destination
}}
終了行:
[[Lubuntu 14.04 の設定]]
** 参考 [#u1caf4db]
- [[Ubuntu 10.04 のファイアウォール設定]]
** デフォルト設定 [#n036069d]
#pre{{
$ sudo iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination ...
Chain FORWARD (policy ACCEPT)
target prot opt source destination ...
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
}}
** gufw のインストール [#v9afc5ba]
$ sudo apt-get install gufw
** ファイアウォールの設定 [#lab57357]
「設定」→「ファイアウォール設定ツール」
Status を「オン」にします。
&ref(gufw.png);
#pre{{
kenji@kenji-MacBook:/etc$ sudo iptables -L
Chain INPUT (policy DROP)
target prot opt source destination ...
ufw-before-logging-input all -- anywhere a...
ufw-before-input all -- anywhere anywhere ...
ufw-after-input all -- anywhere anywhere ...
ufw-after-logging-input all -- anywhere an...
ufw-reject-input all -- anywhere anywhere ...
ufw-track-input all -- anywhere anywhere ...
Chain FORWARD (policy DROP)
target prot opt source destination ...
ufw-before-logging-forward all -- anywhere ...
ufw-before-forward all -- anywhere anywher...
ufw-after-forward all -- anywhere anywhere...
ufw-after-logging-forward all -- anywhere ...
ufw-reject-forward all -- anywhere anywher...
ufw-track-forward all -- anywhere anywhere...
Chain OUTPUT (policy ACCEPT)
target prot opt source destination ...
ufw-before-logging-output all -- anywhere ...
ufw-before-output all -- anywhere anywhere...
ufw-after-output all -- anywhere anywhere ...
ufw-after-logging-output all -- anywhere a...
ufw-reject-output all -- anywhere anywhere...
ufw-track-output all -- anywhere anywhere ...
Chain ufw-after-forward (1 references)
target prot opt source destination ...
Chain ufw-after-input (1 references)
target prot opt source destination ...
ufw-skip-to-policy-input udp -- anywhere a...
ufw-skip-to-policy-input udp -- anywhere a...
ufw-skip-to-policy-input tcp -- anywhere a...
ufw-skip-to-policy-input tcp -- anywhere a...
ufw-skip-to-policy-input udp -- anywhere a...
ufw-skip-to-policy-input udp -- anywhere a...
ufw-skip-to-policy-input all -- anywhere a...
Chain ufw-after-logging-forward (1 references)
target prot opt source destination ...
LOG all -- anywhere anywhere ...
Chain ufw-after-logging-input (1 references)
target prot opt source destination ...
LOG all -- anywhere anywhere ...
Chain ufw-after-logging-output (1 references)
target prot opt source destination ...
Chain ufw-after-output (1 references)
target prot opt source destination ...
Chain ufw-before-forward (1 references)
target prot opt source destination ...
ACCEPT all -- anywhere anywhere ...
ACCEPT icmp -- anywhere anywhere ...
ACCEPT icmp -- anywhere anywhere ...
ACCEPT icmp -- anywhere anywhere ...
ACCEPT icmp -- anywhere anywhere ...
ACCEPT icmp -- anywhere anywhere ...
ufw-user-forward all -- anywhere anywhere ...
Chain ufw-before-input (1 references)
target prot opt source destination ...
ACCEPT all -- anywhere anywhere ...
ACCEPT all -- anywhere anywhere ...
ufw-logging-deny all -- anywhere anywhere ...
DROP all -- anywhere anywhere ...
ACCEPT icmp -- anywhere anywhere ...
ACCEPT icmp -- anywhere anywhere ...
ACCEPT icmp -- anywhere anywhere ...
ACCEPT icmp -- anywhere anywhere ...
ACCEPT icmp -- anywhere anywhere ...
ACCEPT udp -- anywhere anywhere ...
ufw-not-local all -- anywhere anywhere ...
ACCEPT udp -- anywhere 224.0.0.251 ...
ACCEPT udp -- anywhere 239.255.255.250 ...
ufw-user-input all -- anywhere anywhere ...
Chain ufw-before-logging-forward (1 references)
target prot opt source destination ...
Chain ufw-before-logging-input (1 references)
target prot opt source destination ...
Chain ufw-before-logging-output (1 references)
target prot opt source destination ...
Chain ufw-before-output (1 references)
target prot opt source destination ...
ACCEPT all -- anywhere anywhere ...
ACCEPT all -- anywhere anywhere ...
ufw-user-output all -- anywhere anywhere ...
Chain ufw-logging-allow (0 references)
target prot opt source destination ...
LOG all -- anywhere anywhere ...
Chain ufw-logging-deny (2 references)
target prot opt source destination ...
RETURN all -- anywhere anywhere ...
LOG all -- anywhere anywhere ...
Chain ufw-not-local (1 references)
target prot opt source destination ...
RETURN all -- anywhere anywhere ...
RETURN all -- anywhere anywhere ...
RETURN all -- anywhere anywhere ...
ufw-logging-deny all -- anywhere anywhere ...
DROP all -- anywhere anywhere ...
Chain ufw-reject-forward (1 references)
target prot opt source destination ...
Chain ufw-reject-input (1 references)
target prot opt source destination ...
Chain ufw-reject-output (1 references)
target prot opt source destination ...
Chain ufw-skip-to-policy-forward (0 references)
target prot opt source destination ...
DROP all -- anywhere anywhere ...
Chain ufw-skip-to-policy-input (7 references)
target prot opt source destination ...
DROP all -- anywhere anywhere ...
Chain ufw-skip-to-policy-output (0 references)
target prot opt source destination ...
ACCEPT all -- anywhere anywhere ...
Chain ufw-track-forward (1 references)
target prot opt source destination ...
Chain ufw-track-input (1 references)
target prot opt source destination ...
Chain ufw-track-output (1 references)
target prot opt source destination ...
ACCEPT tcp -- anywhere anywhere ...
ACCEPT udp -- anywhere anywhere ...
Chain ufw-user-forward (1 references)
target prot opt source destination ...
Chain ufw-user-input (1 references)
target prot opt source destination ...
Chain ufw-user-limit (0 references)
target prot opt source destination ...
LOG all -- anywhere anywhere ...
REJECT all -- anywhere anywhere ...
Chain ufw-user-limit-accept (0 references)
target prot opt source destination ...
ACCEPT all -- anywhere anywhere ...
Chain ufw-user-logging-forward (0 references)
target prot opt source destination ...
Chain ufw-user-logging-input (0 references)
target prot opt source destination ...
Chain ufw-user-logging-output (0 references)
target prot opt source destination ...
Chain ufw-user-output (1 references)
target prot opt source destination
}}
ページ名: