全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

IP归属甄别会员请立即修改密码
查看: 1747|回复: 19
打印 上一主题 下一主题

求助 vir小鸡套用ipv6的问题

[复制链接]
跳转到指定楼层
1#
发表于 2021-3-16 15:04:17 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
在tunnelbroker上申请了ipv6,直接执行也可以了,但是  加入到开机启动怎么也不成功,
于是手动启动一下sh脚本 ,出错了

root@BlueSnarling-VM:~# bash /mycmd/ipv6.sh
: Unknown host
ifconfig: `--help' gives usage information.
: Resolver Error 0 (no error)
: Unknown host
ifconfig: `--help' gives usage information.
SIOGIFINDEX: No such device
SIOGIFINDEX: No such device


但是我一行一行的从tunnelbroker复制过来就没有问题,可以完美的打开ipv6,

请教   开机自启动的方法!
2#
发表于 2021-3-16 15:10:52 | 只看该作者

      沙发。 VIR支持IP6吗      




  ∮⊱⊱⊱     遇到懂我的人是幸运,遇不到也是正常了,沉默,喜欢独处,三观正,比你想象的深情,也比你以为的冷漠。   ⊰⊰⊰∮

              

  尾巴不止能用来挠痒痒
   还能凑字数
3#
 楼主| 发表于 2021-3-16 15:12:54 | 只看该作者
uuh 发表于 2021-3-16 15:10
沙发。 VIR支持IP6吗      

用tunnelbroker套的,所以每次开机都要执行以下命令  很麻烦,用脚本总是失败
4#
发表于 2021-3-16 15:20:27 | 只看该作者
vir支持IPV6的:

[IPV4测试]
您的出口IP不能解锁Netflix,仅支持自制剧的观看

[IPV6测试]
您的出口IP完整解锁Netflix,支持非自制剧的观看
原生IP地域解锁信息:美国区(US) NetFlix 原生IP
5#
发表于 2021-3-16 15:22:29 | 只看该作者

     手输脚本可以执行。命令没问题。就多百度类似教程套用一下。




  ∮⊱⊱⊱     即使如此,我也有我想保护的世界!——《高达seed》   ⊰⊰⊰∮

              

  尾巴不止能用来挠痒痒
   还能凑字数
6#
 楼主| 发表于 2021-3-16 15:28:23 | 只看该作者

我的不支持哎,怎么弄,教教呗
7#
发表于 2021-3-16 15:30:58 | 只看该作者
我的vir吃灰机没有ipv6
8#
发表于 2021-3-16 15:31:22 | 只看该作者
修改  /etc/sysctl.conf
net.ipv6.conf.all.disable_ipv6 = 0
net.ipv6.conf.default.disable_ipv6 = 0
net.ipv6.conf.lo.disable_ipv6 = 0
sysctl -p
sysctl.conf 修改生效, 启用IPv6
9#
 楼主| 发表于 2021-3-16 15:55:03 | 只看该作者
llyang 发表于 2021-3-16 15:31
修改  /etc/sysctl.conf
net.ipv6.conf.all.disable_ipv6 = 0
net.ipv6.conf.default.disable_ipv6 = 0

#
# /etc/sysctl.conf - Configuration file for setting system variables
# See /etc/sysctl.d/ for additional system variables.
# See sysctl.conf (5) for information.
#

#kernel.domainname = example.com

# Uncomment the following to stop low-level messages on console
#kernel.printk = 3 4 1 3

##############################################################3
# Functions previously found in netbase
#

# Uncomment the next two lines to enable Spoof protection (reverse-path filter)
# Turn on Source Address Verification in all interfaces to
# prevent some spoofing attacks
#net.ipv4.conf.default.rp_filter=1
#net.ipv4.conf.all.rp_filter=1

# Uncomment the next line to enable TCP/IP SYN cookies
# See http://lwn.net/Articles/277146/
# Note: This may impact IPv6 TCP sessions too
#net.ipv4.tcp_syncookies=1

# Uncomment the next line to enable packet forwarding for IPv4
#net.ipv4.ip_forward=1

# Uncomment the next line to enable packet forwarding for IPv6
#  Enabling this option disables Stateless Address Autoconfiguration
#  based on Router Advertisements for this host
#net.ipv6.conf.all.forwarding=0


###################################################################
# Additional settings - these settings can improve the network
# security of the host and prevent against some network attacks
# including spoofing attacks and man in the middle attacks through
# redirection. Some network environments, however, require that these
# settings are disabled so review and enable them as needed.
#
# Do not accept ICMP redirects (prevent MITM attacks)
#net.ipv4.conf.all.accept_redirects = 0
#net.ipv6.conf.all.accept_redirects = 0
# _or_
# Accept ICMP redirects only for gateways listed in our default
# gateway list (enabled by default)
# net.ipv4.conf.all.secure_redirects = 1
#
# Do not send ICMP redirects (we are not a router)
#net.ipv4.conf.all.send_redirects = 0
#
# Do not accept IP source route packets (we are not a router)
#net.ipv4.conf.all.accept_source_route = 0
#net.ipv6.conf.all.accept_source_route = 0
#
# Log Martian Packets
#net.ipv4.conf.all.log_martians = 1
#




这几行都没有,没找到,要自己添加吗?
10#
发表于 2021-3-16 16:09:12 | 只看该作者
别折腾了,啥用没有,刚弄完,发现gg 还是要验证,解琐也不行。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2026-1-13 16:53 , Processed in 0.067158 second(s), 10 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表