IPv6 Disable - OpenWRT 21.02.3
페이지 정보
작성자 상석하대 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 에필로그 댓글 0건 조회 1,930회 작성일 23-03-15 18:29본문
sysctl -w net.ipv6.conf.all.disable_ipv6=1
sysctl -w net.ipv6.conf.default.disable_ipv6=1
sysctl -w net.ipv6.conf.lo.disable_ipv6=1
echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6
vi /etc/config/firewall //추가
config rule
option name 'Drop-IPv6-InPacket'
option src '*'
option proto 'all'
option family 'ipv6'
option target 'DROP'
config rule
option name 'Drop-IPv6-OutPacket'
option src '*'
option dest '*'
option proto 'all'
option family 'ipv6'
option target 'DROP'
vi /etc/config/network //해당 섹션을 편집, eth1이 WAN인 예
config interface 'lan'
#option ip6assign '0'
option ipv6 '0'
option delegate '0'
config interface 'wan'
option ipv6 '0'
option delegate '0'
config interface 'wan6'
vi /etc/config/dhcp //해당 섹션을 편집option device 'eth0'
option proto 'dhcpv6'
option ipv6 '0'
option delegate '0'
option auto '0'
config dhcp 'lan'
option dhcpv6 'disabled'
#list ra_flags 'managed-config'
#list ra_flags 'other-config'
list ra_flags 'none'
config dhcp 'wan'
list ra_flags 'none'
service odhcpd stop
service odhcpd disable
uci -q delete network.globals.ula_prefix
uci commit network
reboot
댓글목록
등록된 댓글이 없습니다.