Доброго, дорогие друзья сегодня будет небольшой обзор VPS от компании INOVENTICA тариф Sol, который предусматривает только IPv6. Погоняем его по тестам и попытаемся выяснить действительно ли стоит покупать VPS только с IPv6.
VPN для IPv6
Начну с того, что мой интернет провайдер не предоставляет IPv6 т.е. мне придется пользоваться VPN с IPv6. Благо в компании INOVENTICA подумали про это и предоставляют услугу VPN для IPv6 бесплатно.
Она автоматический проливается каждый месяц. Работает это следующим образом: вам на почту присылают файл с конфигурации OpenVPN. Вы подключаетесь к серверу который находится в России. После чего можете спокойно подключатся к вашему VPS с IPv6 или посещать сайты которые используют IPv6. Но есть важный момент. Подключения по IPv4 идут через вашего интернет провайдера, а подключения по IPv6 идут через OpenVPN, который предоставила компания INOVENTICA.
Пример файла конфигурации OpenVPN.
dev tun
persist-tun
persist-key
cipher AES-256-CBC
ncp-ciphers AES-256-GCM:AES-128-GCM
auth SHA1
tls-client
client
resolv-retry infinite
remote 195.128.x.x 1194 udp
verify-x509-name "server" name
remote-cert-tls server
<ca>
-----BEGIN CERTIFICATE-----
MIIDSjCCAjKgAwIBAgIJANcivd4exjLUMA0GCSO5J/N...fNin
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
MIIDWzCCAkOgAwIBAgIRANec69R6wa9lxfxsKZJvI5f2LUWE/G8mD...G+1Or4=
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
MIIEvQIBADANBgkqhkiGLZ+E2uZsmKsemGn2BbkdVuiV...CiEk=
-----END PRIVATE KEY-----
</key>
key-direction 1
<tls-auth>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
cf6de3d0f1a7188ed122fcef118e4996...430601
-----END OpenVPN Static key V1-----
</tls-auth>
Панель VMManager для управления VPS
Для управления всеми вашими VPS используется панель VMManager. По умолчанию устанавливается Debian 8, но мы установим Debian 9.
Тесты
После того как все настроили и подключились к VPS через OpenVPN. Начнем его тестировать.
Характеристики VPS тарифный план Sol
CPU model : QEMU Virtual CPU version 2.5+
Number of cores : 1
CPU frequency : 2800.098 MHz
Total size of Disk : 4.9 GB (3.2 GB Used)
Total amount of Mem : 492 MB (31 MB Used)
Total amount of Swap : 0 MB (0 MB Used)
System uptime : 1 days, 20 hour 59 min
Load average : 0.00, 0.00, 0.00
OS : Debian GNU/Linux 9
Arch : x86_64 (64 Bit)
Kernel : 4.9.0-9-amd64
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 1
On-line CPU(s) list: 0
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 13
Model name: QEMU Virtual CPU version 2.5+
Stepping: 3
CPU MHz: 2800.098
BogoMIPS: 5600.19
Hypervisor vendor: KVM
Virtualization type: full
L1d cache: 32K
L1i cache: 32K
L2 cache: 4096K
L3 cache: 16384K
NUMA node0 CPU(s): 0
Flags: fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pse36 clflush mmx fxsr sse sse2 syscall nx lm rep_good nopl xtopology pni cx16 x2apic hypervisor lahf_lm kaiser
Тест iperf3 из моей локации (Belarus) до VPS
user@userPC:~$ iperf3 -c 2a03:5a00:...::155
Connecting to host 2a03:5a00:...::155, port 5201
[ 4] local 2a03:...:1:1002 port 40520 connected to 2a03:5a00:...::155 port 5201
[ ID] Interval Transfer Bandwidth Retr Cwnd
[ 4] 0.00-1.00 sec 9.30 MBytes 78.0 Mbits/sec 3 243 KBytes
[ 4] 1.00-2.00 sec 7.72 MBytes 64.7 Mbits/sec 16 138 KBytes
[ 4] 2.00-3.00 sec 5.27 MBytes 44.2 Mbits/sec 29 115 KBytes
[ 4] 3.00-4.00 sec 4.90 MBytes 41.1 Mbits/sec 1 138 KBytes
[ 4] 4.00-5.00 sec 6.12 MBytes 51.4 Mbits/sec 0 164 KBytes
[ 4] 5.00-6.00 sec 7.16 MBytes 60.1 Mbits/sec 0 188 KBytes
[ 4] 6.00-7.00 sec 5.57 MBytes 46.7 Mbits/sec 90 109 KBytes
[ 4] 7.00-8.00 sec 4.04 MBytes 33.9 Mbits/sec 10 97.5 KBytes
[ 4] 8.00-9.00 sec 4.47 MBytes 37.5 Mbits/sec 0 123 KBytes
[ 4] 9.00-10.00 sec 4.71 MBytes 39.6 Mbits/sec 25 73.2 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-10.00 sec 59.3 MBytes 49.7 Mbits/sec 174 sender
[ 4] 0.00-10.00 sec 58.1 MBytes 48.8 Mbits/sec receiver
iperf Done.
user@userPC:~$ iperf3 -c 2a03:5a00:...::155
Connecting to host 2a03:5a00:...::155, port 5201
[ 4] local 2a03:...:1:1002 port 40524 connected to 2a03:5a00:...::155 port 5201
[ ID] Interval Transfer Bandwidth Retr Cwnd
[ 4] 0.00-1.00 sec 9.87 MBytes 82.8 Mbits/sec 42 367 KBytes
[ 4] 1.00-2.00 sec 8.08 MBytes 67.8 Mbits/sec 33 143 KBytes
[ 4] 2.00-3.00 sec 5.08 MBytes 42.6 Mbits/sec 1 117 KBytes
[ 4] 3.00-4.00 sec 5.39 MBytes 45.2 Mbits/sec 0 144 KBytes
[ 4] 4.00-5.00 sec 4.53 MBytes 38.0 Mbits/sec 12 124 KBytes
[ 4] 5.00-6.00 sec 4.71 MBytes 39.5 Mbits/sec 2 105 KBytes
[ 4] 6.00-7.00 sec 4.29 MBytes 35.9 Mbits/sec 9 91.7 KBytes
[ 4] 7.00-8.00 sec 4.16 MBytes 34.9 Mbits/sec 0 115 KBytes
[ 4] 8.00-9.00 sec 3.55 MBytes 29.8 Mbits/sec 13 73.2 KBytes
[ 4] 9.00-10.00 sec 3.49 MBytes 29.3 Mbits/sec 0 98.7 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-10.00 sec 53.2 MBytes 44.6 Mbits/sec 112 sender
[ 4] 0.00-10.00 sec 51.5 MBytes 43.2 Mbits/sec receiver
iperf Done.
user@userPC:~$ iperf3 -c 2a03:5a00:...::155 -R
Connecting to host 2a03:5a00:...::155, port 5201
Reverse mode, remote host 2a03:5a00:...::155 is sending
[ 4] local 2a03:...:1:1002 port 40528 connected to 2a03:5a00:...::155 port 5201
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-1.00 sec 4.91 MBytes 41.2 Mbits/sec
[ 4] 1.00-2.00 sec 5.34 MBytes 44.8 Mbits/sec
[ 4] 2.00-3.00 sec 4.46 MBytes 37.4 Mbits/sec
[ 4] 3.00-4.00 sec 4.53 MBytes 38.0 Mbits/sec
[ 4] 4.00-5.00 sec 5.50 MBytes 46.1 Mbits/sec
[ 4] 5.00-6.00 sec 3.82 MBytes 32.1 Mbits/sec
[ 4] 6.00-7.00 sec 3.20 MBytes 26.9 Mbits/sec
[ 4] 7.00-8.00 sec 3.34 MBytes 28.0 Mbits/sec
[ 4] 8.00-9.00 sec 3.03 MBytes 25.4 Mbits/sec
[ 4] 9.00-10.00 sec 2.98 MBytes 25.0 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-10.00 sec 41.9 MBytes 35.1 Mbits/sec 67 sender
[ 4] 0.00-10.00 sec 41.2 MBytes 34.6 Mbits/sec receiver
iperf Done.
user@userPC:~$ iperf3 -c 2a03:5a00:...::155 -R
Connecting to host 2a03:5a00:...::155, port 5201
Reverse mode, remote host 2a03:5a00:...::155 is sending
[ 4] local 2a03:...:1:1002 port 40536 connected to 2a03:5a00:...::155 port 5201
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-1.00 sec 3.95 MBytes 33.1 Mbits/sec
[ 4] 1.00-2.00 sec 3.89 MBytes 32.6 Mbits/sec
[ 4] 2.00-3.00 sec 3.57 MBytes 29.9 Mbits/sec
[ 4] 3.00-4.00 sec 4.40 MBytes 36.9 Mbits/sec
[ 4] 4.00-5.00 sec 5.13 MBytes 43.0 Mbits/sec
[ 4] 5.00-6.00 sec 5.06 MBytes 42.5 Mbits/sec
[ 4] 6.00-7.00 sec 5.08 MBytes 42.6 Mbits/sec
[ 4] 7.00-8.00 sec 4.44 MBytes 37.2 Mbits/sec
[ 4] 8.00-9.00 sec 3.64 MBytes 30.5 Mbits/sec
[ 4] 9.00-10.00 sec 4.12 MBytes 34.6 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-10.00 sec 44.0 MBytes 36.9 Mbits/sec 53 sender
[ 4] 0.00-10.00 sec 43.4 MBytes 36.4 Mbits/sec receiver
iperf Done.
Тест iperf3 из VPS до Online.net IPv6 (ping6.online.net)
root@user1:~# iperf3 -c ping6.online.net -p 5209
Connecting to host ping6.online.net, port 5209
[ 4] local 2a03:5a00:1:4:...:134 port 57538 connected to 2001:bc8:1::40 port 5209
[ ID] Interval Transfer Bandwidth Retr Cwnd
[ 4] 0.00-1.00 sec 3.26 MBytes 27.4 Mbits/sec 324 78.1 KBytes
[ 4] 1.00-2.00 sec 1.35 MBytes 11.3 Mbits/sec 44 50.2 KBytes
[ 4] 2.00-3.00 sec 1.04 MBytes 8.74 Mbits/sec 1 53.0 KBytes
[ 4] 3.00-4.00 sec 753 KBytes 6.16 Mbits/sec 2 40.4 KBytes
[ 4] 4.00-5.00 sec 1004 KBytes 8.23 Mbits/sec 0 55.8 KBytes
[ 4] 5.00-6.00 sec 1.29 MBytes 10.8 Mbits/sec 0 71.1 KBytes
[ 4] 6.00-7.00 sec 1.10 MBytes 9.25 Mbits/sec 16 29.3 KBytes
[ 4] 7.00-8.00 sec 690 KBytes 5.65 Mbits/sec 0 43.2 KBytes
[ 4] 8.00-9.00 sec 1.04 MBytes 8.75 Mbits/sec 0 58.6 KBytes
[ 4] 9.00-10.00 sec 1.35 MBytes 11.3 Mbits/sec 0 73.9 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-10.00 sec 12.8 MBytes 10.8 Mbits/sec 387 sender
[ 4] 0.00-10.00 sec 10.7 MBytes 9.01 Mbits/sec receiver
iperf Done.
root@user1:~# iperf3 -c ping6.online.net -p 5209
Connecting to host ping6.online.net, port 5209
[ 4] local 2a03:5a00:1:4:...:134 port 57542 connected to 2001:bc8:1::40 port 5209
[ ID] Interval Transfer Bandwidth Retr Cwnd
[ 4] 0.00-1.00 sec 3.45 MBytes 28.9 Mbits/sec 339 69.7 KBytes
[ 4] 1.00-2.00 sec 879 KBytes 7.20 Mbits/sec 33 37.7 KBytes
[ 4] 2.00-3.00 sec 879 KBytes 7.20 Mbits/sec 0 53.0 KBytes
[ 4] 3.00-4.00 sec 1.23 MBytes 10.3 Mbits/sec 0 66.9 KBytes
[ 4] 4.00-5.00 sec 1.35 MBytes 11.3 Mbits/sec 10 25.1 KBytes
[ 4] 5.00-6.00 sec 628 KBytes 5.14 Mbits/sec 0 39.0 KBytes
[ 4] 6.00-7.00 sec 941 KBytes 7.72 Mbits/sec 0 54.4 KBytes
[ 4] 7.00-8.00 sec 1.23 MBytes 10.3 Mbits/sec 1 66.9 KBytes
[ 4] 8.00-9.00 sec 1.29 MBytes 10.8 Mbits/sec 17 26.5 KBytes
[ 4] 9.00-10.00 sec 690 KBytes 5.65 Mbits/sec 0 40.4 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-10.00 sec 12.5 MBytes 10.4 Mbits/sec 400 sender
[ 4] 0.00-10.00 sec 10.3 MBytes 8.64 Mbits/sec receiver
iperf Done.
root@user1:~# iperf3 -c ping6.online.net -p 5208 -R
Connecting to host ping6.online.net, port 5208
Reverse mode, remote host ping6.online.net is sending
[ 4] local 2a03:5a00:1:4:...:134 port 56724 connected to 2001:bc8:1::40 port 5208
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-1.00 sec 1.38 MBytes 11.5 Mbits/sec
[ 4] 1.00-2.00 sec 1.09 MBytes 9.18 Mbits/sec
[ 4] 2.00-3.00 sec 874 KBytes 7.16 Mbits/sec
[ 4] 3.00-4.00 sec 1.16 MBytes 9.77 Mbits/sec
[ 4] 4.00-5.00 sec 1.36 MBytes 11.4 Mbits/sec
[ 4] 5.00-6.00 sec 725 KBytes 5.94 Mbits/sec
[ 4] 6.00-7.00 sec 853 KBytes 6.99 Mbits/sec
[ 4] 7.00-8.00 sec 1.14 MBytes 9.54 Mbits/sec
[ 4] 8.00-9.00 sec 1.41 MBytes 11.8 Mbits/sec
[ 4] 9.00-10.00 sec 934 KBytes 7.65 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-10.00 sec 13.3 MBytes 11.2 Mbits/sec 778 sender
[ 4] 0.00-10.00 sec 11.0 MBytes 9.20 Mbits/sec receiver
iperf Done.
root@user1:~# iperf3 -c ping6.online.net -p 5208 -R
Connecting to host ping6.online.net, port 5208
Reverse mode, remote host ping6.online.net is sending
[ 4] local 2a03:5a00:1:4:...:134 port 56728 connected to 2001:bc8:1::40 port 5208
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-1.00 sec 1.44 MBytes 12.1 Mbits/sec
[ 4] 1.00-2.00 sec 978 KBytes 8.01 Mbits/sec
[ 4] 2.00-3.00 sec 1.08 MBytes 9.08 Mbits/sec
[ 4] 3.00-4.00 sec 961 KBytes 7.87 Mbits/sec
[ 4] 4.00-5.00 sec 1.24 MBytes 10.4 Mbits/sec
[ 4] 5.00-6.00 sec 1.26 MBytes 10.5 Mbits/sec
[ 4] 6.00-7.00 sec 961 KBytes 7.87 Mbits/sec
[ 4] 7.00-8.00 sec 1.24 MBytes 10.4 Mbits/sec
[ 4] 8.00-9.00 sec 1.22 MBytes 10.2 Mbits/sec
[ 4] 9.00-10.00 sec 936 KBytes 7.67 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Retr
[ 4] 0.00-10.00 sec 14.1 MBytes 11.8 Mbits/sec 654 sender
[ 4] 0.00-10.00 sec 11.3 MBytes 9.52 Mbits/sec receiver
iperf Done.
Тест nench.sh
root@vamis1:~# (wget -qO- wget.racing/nench.sh | bash; wget -qO- wget.racing/nench.sh | bash) 2>&1 | tee nench.log
-------------------------------------------------
nench.sh v2019.03.01 -- https://git.io/nench.sh
benchmark timestamp: 2019-05-27 20:37:37 UTC
-------------------------------------------------
Processor: QEMU Virtual CPU version 2.5+
CPU cores: 1
Frequency: 2800.098 MHz
RAM: 492M
Swap: -
Kernel: Linux 4.9.0-9-amd64 x86_64
Disks:
vda 5G HDD
CPU: SHA256-hashing 500 MB
4.493 seconds
CPU: bzip2-compressing 500 MB
8.089 seconds
CPU: AES-encrypting 500 MB
5.351 seconds
ioping: seek rate
min/avg/max/mdev = 42.2 us / 120.5 us / 3.11 ms / 50.8 us
ioping: sequential read speed
generated 15.5 k requests in 5.00 s, 3.78 GiB, 3.10 k iops, 775.1 MiB/s
dd: sequential write speed
1st run: 83.35 MiB/s
2nd run: 99.18 MiB/s
3rd run: 88.02 MiB/s
average: 90.19 MiB/s
No IPv4 connectivity detected
IPv6 speedtests
your IPv6: 2a03:5a00:1:xxxx
Leaseweb (NL): 1.14 MiB/s
Softlayer DAL (US): 0.00 MiB/s
Online.net (FR): 1.11 MiB/s
OVH BHS (CA): 0.70 MiB/s
-------------------------------------------------
-------------------------------------------------
nench.sh v2019.03.01 -- https://git.io/nench.sh
benchmark timestamp: 2019-05-27 20:39:25 UTC
-------------------------------------------------
Processor: QEMU Virtual CPU version 2.5+
CPU cores: 1
Frequency: 2800.098 MHz
RAM: 492M
Swap: -
Kernel: Linux 4.9.0-9-amd64 x86_64
Disks:
vda 5G HDD
CPU: SHA256-hashing 500 MB
4.630 seconds
CPU: bzip2-compressing 500 MB
7.867 seconds
CPU: AES-encrypting 500 MB
5.212 seconds
ioping: seek rate
min/avg/max/mdev = 41.2 us / 120.6 us / 7.48 ms / 87.0 us
ioping: sequential read speed
generated 14.5 k requests in 5.00 s, 3.54 GiB, 2.90 k iops, 725.0 MiB/s
dd: sequential write speed
1st run: 84.88 MiB/s
2nd run: 87.17 MiB/s
3rd run: 90.12 MiB/s
average: 87.39 MiB/s
No IPv4 connectivity detected
IPv6 speedtests
your IPv6: 2a03:5a00:1:xxxx
Leaseweb (NL): 1.06 MiB/s
Softlayer DAL (US): 0.00 MiB/s
Online.net (FR): 1.12 MiB/s
OVH BHS (CA): 0.76 MiB/s
-------------------------------------------------
Тест bench.sh
----------------------------------------------------------------------
CPU model : QEMU Virtual CPU version 2.5+
Number of cores : 1
CPU frequency : 2800.098 MHz
Total size of Disk : 4.9 GB (3.2 GB Used)
Total amount of Mem : 492 MB (31 MB Used)
Total amount of Swap : 0 MB (0 MB Used)
System uptime : 1 days, 20 hour 59 min
Load average : 0.00, 0.00, 0.00
OS : Debian GNU/Linux 9
Arch : x86_64 (64 Bit)
Kernel : 4.9.0-9-amd64
----------------------------------------------------------------------
I/O speed(1st run) : 92.8 MB/s
I/O speed(2nd run) : 92.1 MB/s
I/O speed(3rd run) : 91.5 MB/s
Average I/O speed : 92.1 MB/s
----------------------------------------------------------------------
Node Name IPv4 address Download Speed
CacheFly 205.234.175.175
Linode, Tokyo, JP 106.187.96.148
Linode, Singapore, SG 139.162.23.4
Linode, London, UK 176.58.107.39
Linode, Frankfurt, DE 139.162.130.8
Linode, Fremont, CA 50.116.14.9
Softlayer, Dallas, TX 173.192.68.18
Softlayer, Seattle, WA 67.228.112.250
Softlayer, Frankfurt, DE 159.122.69.4
Softlayer, Singapore, SG 119.81.28.170
Softlayer, HongKong, CN 119.81.130.170
----------------------------------------------------------------------
Node Name IPv6 address Download Speed
Linode, Atlanta, GA 2600:3c02::4b 1.12MB/s
Linode, Dallas, TX 2600:3c00::4b 1.11MB/s
Linode, Newark, NJ 2600:3c03::4b 1.12MB/s
Linode, Singapore, SG 2400:8901::4b 7.66MB/s
Linode, Tokyo, JP 2400:8900::4b 5.64MB/s
Softlayer, San Jose, CA 2607:f0d0:2601:2a::4 5.57MB/s
Остальные тесты
Получить данные тестов Geekbench4, ServerScope, Speedtest невозможно т.к. нет поддержки IPv6.
Заключение
На сегодняшний день использовать VPS с IPv6 крайней проблематично т.к все еще огромное количество серверов, VPS, сайтов не использует IPv6. Банальный пример это тестирование данного VPS с помощью разный benchmark-ов: Geekbench4, bench.sh, serverscore.io, speedtest, сайт github.com. Ни один из них не поддерживает IPv6, поэтому приходится танцевать с бубном чтобы сделать хоть что-то. Также, сегодня, не так много интернет провайдеров предоставляют IPv6 т.е. опять приходится танцевать с бубном. Благо об этой проблеме позаботилась в компании INOVENTICA и предоставляют услугу VPN с IPv6 бесплатно, но даже при этом необходимо подключать VPN на каждом устройстве, которое вы хотите подключить к VPS с IPv6. Вообщем все тормозится из-за отсутствия поддержки IPv6. Единственный плюс VPS с IPv6 перед VPS с IPv4 это более низкая цена за IP, но даже в таком случае удобнее купить VPS с IPv4 хоть это и будет дороже на пару сотен рублей в год чем танцевать с бубном, конечно для некоторых задач VPS с IPv6 надет своё применение, но все же использовать VPS с IPv4 предпочтительней.