General description of IPv6 tunnel


Setting up a tunnel is extremely simple on your server or wifi router. The only requirement is a direct (static) IP address from your provider. You can always order it or ask your provider for it. The IPv6 tunnel broker IP4Market automatically sees your IPv4 address and adds it to the database. The system assigns the user an IPv4 /48 network from its pool and encapsulates all traffic coming to it in IPv4 and sends it to the user's IP address. The user's router or computer extracts IPv6 packets and transmits them to the user's network or system.

During registration, the /48 network is allocated as a base. From it, 2 networks /64 are allocated,
The first network is assigned to the 6in4 tunnel,
address ::1 - belongs to the broker
address ::2 - is allocated for the user's router.

The second network is intended for all user devices located behind the router. It just needs to be entered into the router settings.

IPv6 tunnel setup


Network numbers are allocated during registration:

IPv6 network: 2a03:e2c0:1dc:5555::/64 - this is the network that will be distributed to clients. You need to specify it in the router as the received IPv6 prefix

Usually it is:
network: 2a03:e2c0:1dc:5555::
prefix: 64

IPv6 Client: 2a03:e2c0:1dc::2/64
specify it as Tunnel Client IPv6 address


IPv6 Gateway: 2a03:e2c0:1dc::1/64 - usually an optional parameter, a smart router will figure out the server IP address itself.

Server for connection: 185.40.7.10 - the address to which your router or computer will send packets with IPv6 traffic.

For domain resolution, you must also specify DNS servers, for example, we take Google's public servers

IPv6 DNS:
2001:4860:4860::8888
2001:4860:4860::8844

There are also DNS v6 addresses from Yandex

2a02:6b8::feed:0ff
2a02:6b8:0:1::feed:0ff

Example for Mikrotik setup


/interface 6to4 add !keepalive local-address=ХХ.XX.XX.XX mtu=1480 name=6to4-tunnel1 remote-address=185.40.7.10
/ipv6 address add address=2a03:e2c0:XXX::2/64 interface=6to4-tunnel1
/ipv6 route add distance=1 dst-address=2000::/3 gateway=2a03:e2c0:XXX::1
/ipv6 address add address=2a03:e2c0:XXX:5555::/64 interface=bridge advertise=yes


Example of IPv6 tunnel setup on TOMATO firmware for wifi routers

An example of what the setup looks like:



I didn't figure it out! What should I do?

First - don't panic ;) Then read the documentation in the control panel of your router on setting up IPv6.
You can ask for help and advice in the Telegram channel @ip4market
You can discuss IPv6 with like-minded people in another Telegram channel @ru_ipv6

If everything is really difficult or the case is complicated, you can look at the technical documentation on the website of another tunnel broker https://forums.he.net/.
All the most exotic cases of its configuration on any equipment are analyzed there.