- Welcome to the Kancolle Wiki!
- If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord
Difference between revisions of "Tutorial: Connection"
Jigaraphale (talk | contribs) |
|||
Line 22: | Line 22: | ||
* [https://github.com/Tibowl/KCCacheProxy KCCacheProxy] can be used with browsers and viewers that support proxy connections. It serves assets from a local cache and so should also speed up asset loading. | * [https://github.com/Tibowl/KCCacheProxy KCCacheProxy] can be used with browsers and viewers that support proxy connections. It serves assets from a local cache and so should also speed up asset loading. | ||
− | ===General DMM Cookie-based Block=== | + | <!---===General DMM Cookie-based Block=== |
To ensure that region-restricted pages are accessed only from Japan DMM is using an IP check to [https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie set] a region flag in its cookies every time a page is loaded. Then the flag is [https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cookie used] to check if a region-restricted page can be accessed. It is possible to bypass this restriction by changing the flag right before loading each page or by setting a path-overriding cookie. | To ensure that region-restricted pages are accessed only from Japan DMM is using an IP check to [https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie set] a region flag in its cookies every time a page is loaded. Then the flag is [https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cookie used] to check if a region-restricted page can be accessed. It is possible to bypass this restriction by changing the flag right before loading each page or by setting a path-overriding cookie. | ||
Line 40: | Line 40: | ||
document.cookie=`ckcy=1;expires=${expires};path=/netgame;domain=.dmm.com` | document.cookie=`ckcy=1;expires=${expires};path=/netgame;domain=.dmm.com` | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | <!-- | + | --><!-- |
** https://tools.ietf.org/html/rfc6265. | ** https://tools.ietf.org/html/rfc6265. | ||
** <code>path=/netgame</code> overrides <code>path=/</code> which is set by DMM. | ** <code>path=/netgame</code> overrides <code>path=/</code> which is set by DMM. | ||
** <code>expires</code> date should be ahead of the current date by one year, although any future date will work. | ** <code>expires</code> date should be ahead of the current date by one year, although any future date will work. | ||
− | --> | + | --><!-- |
* Execute it by pressing '''Enter''' or '''Ctrl + Enter''' for Internet Explorer. | * Execute it by pressing '''Enter''' or '''Ctrl + Enter''' for Internet Explorer. | ||
* Then use the address bar or a bookmark to go directly to the [http://www.dmm.com/netgame/social/-/gadgets/=/app_id=854854/ KanColle play page], you will still need a [[#Gadget Server Block|KanColle gadget server block]] fix. | * Then use the address bar or a bookmark to go directly to the [http://www.dmm.com/netgame/social/-/gadgets/=/app_id=854854/ KanColle play page], you will still need a [[#Gadget Server Block|KanColle gadget server block]] fix. | ||
+ | --> | ||
==VPN or Proxy== | ==VPN or Proxy== |
Revision as of 18:08, 1 July 2022
Basic Tutorial Portal |
---|
Setup and Registration (PC) · Kancolle Android Version · Connection · Troubleshooting · Basic Gameplay · FAQ · Glossary |
Other Tutorials & Help pages |
Currently, the game is only available to people connecting with Japanese IP addresses. Thus, this page guides on how to bypass this restriction.
There are two options to connect to the game:
- Bypassing the existing blocks: general DMM cookie-based block and KanColle gadget server block. Bypassing methods are recommended, please try using them first.
- In summary, using a viewer that supports both bypass options and enabling those options is enough. Such viewers include: KC3Kai, Poi (nightly version with a plugin), ElectronicObserver (fork), GotoBrowser (for Android).
- Non-viewer solutions include: KCCacheProxy, DMM extension (for Chrome), Redirector extension (for other browsers, a custom config should be imported, cookie fix should be applied manually).
- Using a VPN or proxy (actually using a Japanese IP).
Note that for creating a new game account, it is necessary to use a Japanese VPN, preferably with all other methods disabled.
Bypassing Blocks
KanColle Gadget Server Block
Since February 26, 2020, KanColle gadget server is blocking all non-Japanese IP addresses directly; thus, extra steps are required to load the game:
- On Android GotoBrowser can be used: a substitute gadget server will be used if the "alter gadget URL" option is enabled in settings. The substitute server will serve the login assets, allowing a user to log in without needing to access the actual gadget server. Additional connection options can be used as well. Clearing cache may be required.
- Poi (latest nightly version) can use a local cache folder, allowing to serve the login assets from a local folder, again, bypassing the need to connect to the real gadget server. The "3rd party cache" folder can be found in common settings (
%appdata%/poi/MyCache
be default on Windows), the path to login assets should be3rd party cache folder/KanColle/gadget_html5
(%appdata%/poi/MyCache/KanColle/gadget_html5
for Windows; technically, onlygadget_html5
folder is required to log in). Clearing cache in common settings and restarting the viewer may be required. A plugin can be used to automatically update the local cache. - Options for Chrome:
- KC3Kai has an option to use a substitute gadget server (such as https://kcwiki.github.io/cache/ or http://luckyjervis.com/).
- A minimal specialized extension that handles both DMM cookie block and gadget server block.
- Redirector extension with a custom config (supports other browsers as well).
- KCCacheProxy can be used with browsers and viewers that support proxy connections. It serves assets from a local cache and so should also speed up asset loading.
VPN or Proxy
Different VPN and proxy server providers can be used, as long as they have Japanese locations. Refer to their documentation on how to use them.
Note that VPN/Proxy is only required during login (the real gadget server will be accessed via a Japanese IP address) and can be disabled afterward (game servers do not require a Japanese IP).
One free option is VPN Gate, an "Academic Experiment Project" by the University of Tsukuba. The site can also be used to check your apparent IP address and location. It is NOT recommended to be used when you are handling sensitive data such as when entering your card details.
Windows
- Download and install the client.
- Select a Japanese server in it using "VPN Gate Public VPN Relay Servers".
- Alternatively, L2TP/IPsec, OpenVPN, or MS-SSTP options can be used.
Mac/Linux
- Simply import an OpenVPN config file of a Japanese server in your network manager.
- Alternatively, there is L2TP/IPsec interface, which is usually pre-installed, so it is possible to set it up directly without installing any clients.
Other free options include: