V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  hhhaa  ›  全部回复第 7 页 / 共 7 页
回复总数  129
1  2  3  4  5  6  7  
2017-01-03 16:22:05 +08:00
回复了 hhhaa 创建的主题 OpenWrt 原生教育网, openwrt ipv6 配置有问题,麻烦大神进来看一下
@hikari 早就试过了, lan 口都能获得 v6 地址,不过就是连不上网😂
2017-01-03 08:45:44 +08:00
回复了 hhhaa 创建的主题 OpenWrt 原生教育网, openwrt ipv6 配置有问题,麻烦大神进来看一下
@hikari 暂时放弃,有时间了再弄,
2016-12-18 21:39:23 +08:00
回复了 wex 创建的主题 问与答 你们都是使用什么手机浏览器?
uc 现在自带广告,在你浏览其他网站的时候你就会发现了,没有就强加
2016-11-30 17:46:29 +08:00
回复了 xy19009188 创建的主题 Android 没有人关注今天的 Flyme 6 吗?
@dodo20120 赞一个
不过这种~骄傲~不知能撑多久
2016-11-30 17:45:09 +08:00
回复了 xy19009188 创建的主题 Android 没有人关注今天的 Flyme 6 吗?
@upczww
我也觉得 flyme 不错,
miui 也可以,其他的都是垃圾
2016-11-30 17:44:05 +08:00
回复了 xy19009188 创建的主题 Android 没有人关注今天的 Flyme 6 吗?
@cst4you
安卓 7.0 有个什么,
那次升级都说好的逆天,结果其实没什么改变~
2016-11-25 18:16:11 +08:00
回复了 hhhaa 创建的主题 OpenWrt 原生教育网, openwrt ipv6 配置有问题,麻烦大神进来看一下
这个是 ifconfig 配置
br-lan Link encap:Ethernet HWaddr F0:B4:29:88:AF:AB
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::f2b4:29ff:fe88:afab/64 Scope:Link
inet6 addr: 2001:250:5401:600:1144:5096:9505:44d7/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:31711 errors:0 dropped:0 overruns:0 frame:0
TX packets:32163 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4477440 (4.2 MiB) TX bytes:23588964 (22.4 MiB)

eth0 Link encap:Ethernet HWaddr F0:B4:29:88:AF:AB
inet6 addr: fe80::f2b4:29ff:fe88:afab/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:31433 errors:0 dropped:1 overruns:0 frame:0
TX packets:29958 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:22619620 (21.5 MiB) TX bytes:4810360 (4.5 MiB)
Interrupt:5

eth0.1 Link encap:Ethernet HWaddr F0:B4:29:88:AF:AB
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:154 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:23838 (23.2 KiB)

eth0.2 Link encap:Ethernet HWaddr F0:B4:29:88:AF:AB
inet6 addr: fe80::f2b4:29ff:fe88:afab/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:31422 errors:0 dropped:56 overruns:0 frame:0
TX packets:29796 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:22053280 (21.0 MiB) TX bytes:4597902 (4.3 MiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:41 errors:0 dropped:0 overruns:0 frame:0
TX packets:41 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:5448 (5.3 KiB) TX bytes:5448 (5.3 KiB)

pppoe-wan Link encap:Point-to-Point Protocol
inet addr:172.21.59.188 P-t-P:172.21.58.1 Mask:255.255.255.255
inet6 addr: fe80::1144:5096:9505:44d7/10 Scope:Link
inet6 addr: 2001:250:5401:600:1144:5096:9505:44d7/64 Scope:Global
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:27499 errors:0 dropped:0 overruns:0 frame:0
TX packets:27209 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:21616748 (20.6 MiB) TX bytes:3917720 (3.7 MiB)

wlan1 Link encap:Ethernet HWaddr F0:B4:29:88:AF:AB
inet6 addr: fe80::f2b4:29ff:fe88:afab/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:32241 errors:0 dropped:0 overruns:0 frame:0
TX packets:32486 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4977520 (4.7 MiB) TX bytes:24286104 (23.1 MiB)
2016-11-25 18:15:35 +08:00
回复了 hhhaa 创建的主题 OpenWrt 原生教育网, openwrt ipv6 配置有问题,麻烦大神进来看一下
这是 /etc/sysctl.conf 配置
kernel.panic=3
net.ipv4.conf.default.arp_ignore=1
net.ipv4.conf.all.arp_ignore=1
net.ipv4.ip_forward=1
net.ipv4.icmp_echo_ignore_broadcasts=1
net.ipv4.icmp_ignore_bogus_error_responses=1
net.ipv4.igmp_max_memberships=100
net.ipv4.tcp_ecn=0
net.ipv4.tcp_fin_timeout=30
net.ipv4.tcp_keepalive_time=120
net.ipv4.tcp_syncookies=1
net.ipv4.tcp_timestamps=1
net.ipv4.tcp_sack=1
net.ipv4.tcp_dsack=1

net.ipv6.conf.default.forwarding=1
net.ipv6.conf.all.forwarding=1
net.ipv6.conf.default.accept_ra=1
net.ipv6.conf.all.accept_ra=1

net.netfilter.nf_conntrack_acct=1
net.netfilter.nf_conntrack_checksum=0
net.netfilter.nf_conntrack_max=16384
net.netfilter.nf_conntrack_tcp_timeout_established=7440
net.netfilter.nf_conntrack_udp_timeout=60
net.netfilter.nf_conntrack_udp_timeout_stream=180

# disable bridge firewalling by default
net.bridge.bridge-nf-call-arptables=0
net.bridge.bridge-nf-call-ip6tables=0
net.bridge.bridge-nf-call-iptables=0

防火墙配置(看了之前的一个 v 站的帖子,把 IP6table 防火墙给禁用了)
config defaults
option syn_flood '1'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
option disable_ipv6 '0'

config zone
option name 'lan'
list network 'lan'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'

config zone
option name 'wan'
list network 'wan'
list network 'wan6'
option output 'ACCEPT'
option masq '1'
option mtu_fix '1'
option input 'ACCEPT'
option forward 'ACCEPT'

config forwarding
option src 'lan'
option dest 'wan'

config rule
option name 'Allow-DHCP-Renew'
option src 'wan'
option proto 'udp'
option dest_port '68'
option target 'ACCEPT'
option family 'ipv4'

config rule
option name 'Allow-Ping'
option src 'wan'
option proto 'icmp'
option icmp_type 'echo-request'
option family 'ipv4'
option target 'ACCEPT'

config rule
option name 'Allow-IGMP'
option src 'wan'
option proto 'igmp'
1  2  3  4  5  6  7  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5582 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 15ms · UTC 03:13 · PVG 11:13 · LAX 19:13 · JFK 22:13
Developed with CodeLauncher
♥ Do have faith in what you're doing.