Debian 下关闭ipv6

修改modprobe.d/aliases

chtsamba:/home# vi /etc/modprobe.d/aliases
# alias net-pf-10 ipv6
alias net-pf-10 off
alias ipv6 off
不会再出现ipv6了.
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
tcp        0      0 192.168.0.200:22        192.168.0.123:1869      ESTABLISHED

标签:ipv6, Linux, Linux

相关日志

,

看完了要说点啥么?


Verify Code   If you cannot see the CheckCode image,please refresh the page again!