
문제는 분명히 내 리그에서 벗어났습니다. Ubuntu는 어떤 네트워크에도 액세스할 수 없지만 가상 상자를 사용하는 내 VM은 모두 인터넷에 액세스할 수 있습니다. 다음과 같은 변경을 시도했지만 성공하지 못했습니다. 내 상자에 무엇이 잘못되었는지 매우 혼란스럽습니다. 도움을 주시면 감사하겠습니다.
carl@carl-Latitude-E6410:~$ sudo ip6tables -P INPUT ACCEPT
carl@carl-Latitude-E6410:~$ sudo ip6tables -P OUTPUT ACCEPT
carl@carl-Latitude-E6410:~$ sudo ip6tables -P FORWARD ACCEPT
carl@carl-Latitude-E6410:~$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
^C
--- 8.8.8.8 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1008ms
carl@carl-Latitude-E6410:~$ sudo iptables -P INPUT ACCEPT
carl@carl-Latitude-E6410:~$ sudo iptables -P OUTPUT ACCEPT
carl@carl-Latitude-E6410:~$ sudo iptables -P FORWARD ACCEPT
carl@carl-Latitude-E6410:~$ sudo service iptables restart
iptables: unrecognized service
carl@carl-Latitude-E6410:~$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
^C
--- 8.8.8.8 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1008ms
답변1
IPtables는 때때로 약간...이상해지며 제거되지 않거나 뒤에 남겨지지 않는 많은 규칙이 있습니다.
노력하다iptables --flush
하려고모든 iptables 규칙을 삭제하세요.