@@ -37,7 +37,7 @@ | |||
"fields": { | |||
"category": 1, | |||
"language": "fr", | |||
"name": "G\u00e9n\u00e9ral" | |||
"name": "Général" | |||
} | |||
}, | |||
{ | |||
@@ -263,6 +263,26 @@ | |||
"internal": false | |||
} | |||
}, | |||
{ | |||
"model": "kb.kbentry", | |||
"pk": 17, | |||
"fields": { | |||
"create_date": "2021-06-02T14:29:20.320Z", | |||
"category": 5, | |||
"title": "Windows - \"netsh command failed\"", | |||
"internal": false | |||
} | |||
}, | |||
{ | |||
"model": "kb.kbentry", | |||
"pk": 18, | |||
"fields": { | |||
"create_date": "2021-06-02T14:31:46.705Z", | |||
"category": 5, | |||
"title": "Windows - \"Multiple TAP-Windows adapters\"", | |||
"internal": false | |||
} | |||
}, | |||
{ | |||
"model": "kb.kbentryquestion", | |||
"pk": 1, | |||
@@ -278,7 +298,7 @@ | |||
"fields": { | |||
"entry": 1, | |||
"language": "fr", | |||
"question": "Qu'est-ce qu'un VPN ? Comment \u00e7a marche ?" | |||
"question": "Qu'est-ce qu'un VPN ? Comment ça marche ?" | |||
} | |||
}, | |||
{ | |||
@@ -296,7 +316,7 @@ | |||
"fields": { | |||
"entry": 2, | |||
"language": "fr", | |||
"question": "Quelles sont les diff\u00e9rences avec tor ?" | |||
"question": "Quelles sont les différences avec tor ?" | |||
} | |||
}, | |||
{ | |||
@@ -332,7 +352,7 @@ | |||
"fields": { | |||
"entry": 4, | |||
"language": "fr", | |||
"question": "Est-ce que le P2P est autoris\u00e9 ?" | |||
"question": "Est-ce que le P2P est autorisé ?" | |||
} | |||
}, | |||
{ | |||
@@ -350,7 +370,7 @@ | |||
"fields": { | |||
"entry": 5, | |||
"language": "fr", | |||
"question": "Puis-je avoir une adresse d\u00e9di\u00e9e ?" | |||
"question": "Puis-je avoir une adresse dédiée ?" | |||
} | |||
}, | |||
{ | |||
@@ -422,7 +442,7 @@ | |||
"fields": { | |||
"entry": 9, | |||
"language": "fr", | |||
"question": "Quelles m\u00e9thodes de payement sont disponibles ?" | |||
"question": "Quelles méthodes de payement sont disponibles ?" | |||
} | |||
}, | |||
{ | |||
@@ -512,7 +532,7 @@ | |||
"fields": { | |||
"entry": 14, | |||
"language": "fr", | |||
"question": "Quel chiffrement est utilis\u00e9 ?" | |||
"question": "Quel chiffrement est utilisé ?" | |||
} | |||
}, | |||
{ | |||
@@ -530,7 +550,7 @@ | |||
"fields": { | |||
"entry": 15, | |||
"language": "fr", | |||
"question": "Est-ce que l'IPv6 est support\u00e9 ?" | |||
"question": "Est-ce que l'IPv6 est supporté ?" | |||
} | |||
}, | |||
{ | |||
@@ -551,6 +571,42 @@ | |||
"question": "Est-ce vraiment anonyme ?" | |||
} | |||
}, | |||
{ | |||
"model": "kb.kbentryquestion", | |||
"pk": 33, | |||
"fields": { | |||
"entry": 17, | |||
"language": "fr", | |||
"question": "Windows - \"netsh command failed\"" | |||
} | |||
}, | |||
{ | |||
"model": "kb.kbentryquestion", | |||
"pk": 34, | |||
"fields": { | |||
"entry": 17, | |||
"language": "en", | |||
"question": "Windows - \"netsh command failed\"" | |||
} | |||
}, | |||
{ | |||
"model": "kb.kbentryquestion", | |||
"pk": 35, | |||
"fields": { | |||
"entry": 18, | |||
"language": "en", | |||
"question": "Windows - \"Multiple TAP-Windows adapters\"" | |||
} | |||
}, | |||
{ | |||
"model": "kb.kbentryquestion", | |||
"pk": 36, | |||
"fields": { | |||
"entry": 18, | |||
"language": "fr", | |||
"question": "Windows - \"Multiple TAP-Windows adapters\"" | |||
} | |||
}, | |||
{ | |||
"model": "kb.kbentryanswer", | |||
"pk": 1, | |||
@@ -838,5 +894,41 @@ | |||
"language": "fr", | |||
"answer": "<p>Nous ne vous demanderons pas votre nom et nous acceptons les paiements anonymes.</p>\r\n<p>Le VPN cachera votre identité lors de communications sur Internet, et peut vous aider à atteindre un niveau d'anonymat en évitant de laisser filtrer des informations via votre adresse IP.</p>\r\n<p>Cela ne vous rendra pas pour autant intraçable et ne permet pas d'échapper à la loi.</p>" | |||
} | |||
}, | |||
{ | |||
"model": "kb.kbentryanswer", | |||
"pk": 33, | |||
"fields": { | |||
"entry": 17, | |||
"language": "en", | |||
"answer": "<p>If you find lines like those in your OpenVPN log:</p>\r\n<p><code>NETSH: C:\\Windows\\system32\\netsh.exe interface ipv6 set address Local Area Network</code><br /><code>ERROR: netsh command failed: returned error code 1</code></p>\r\n<p>This error is really frequent on Windows and seem to happen because of a OpenVPN problem with netsh.exe and IPv6.<br />To fix it, rename your network connection to avoid spaces, for example \"Local Area Network\" to \"lan\".</p>\r\n<p><a href=\"http://windows.microsoft.com/en-au/windows-vista/rename-a-network-connection\">Windows: Rename a network connection</a></p>" | |||
} | |||
}, | |||
{ | |||
"model": "kb.kbentryanswer", | |||
"pk": 34, | |||
"fields": { | |||
"entry": 17, | |||
"language": "fr", | |||
"answer": "<p>Si vous trouvez ces lignes dans votre historique OpenVPN:</p>\r\n<p><code>NETSH: C:\\Windows\\system32\\netsh.exe interface ipv6 set address Connexion au réseau local</code><br /><code>ERROR: netsh command failed: returned error code 1</code></p>\r\n<p>Cette erreur est fréquente sous windows et semble arriver à cause d'un problème d'OpenVPN avec netsh.exe et l'IPv6. Pour le résoudre, renommez votre connection réseau pour éviter les espaces. Par exemple « Connexion au réseau local » en « lan ».</p>\r\n<p><a href=\"http://windows.microsoft.com/fr-xf/windows-vista/rename-a-network-connection\">Windows: Renommer une connexion réseau</a></p>" | |||
} | |||
}, | |||
{ | |||
"model": "kb.kbentryanswer", | |||
"pk": 35, | |||
"fields": { | |||
"entry": 18, | |||
"language": "en", | |||
"answer": "<p><code>Error: When using --tun-ipv6, if you have more than one TAP-Windows adapter, you must also specify --dev-node</code><br /><code>Exiting due to fatal error</code><code></code></p>\r\n<p>That one can happen when you have multiple TAP-Windows adapters, most of the time because of another software using TAP. To fix it, open a command prompt (Shift+Right click) in your OpenVPN directory (where openvpn.exe is), and run:</p>\r\n<p><code></code></p>\r\n<p><code></code></p>\r\n<p><code>openvpn.exe --show-adapters</code></p>\r\n<p><code></code></p>\r\n<p>This will list your TAP adapters. Then, open your ccrypto.ovpn configuration file with notepad and add this on a new line:</p>\r\n<p><code></code></p>\r\n<p><code>dev-node [name]</code></p>\r\n<p><code></code></p>\r\n<p>Replace [name] by your TAP adapter name.</p>\r\n<p><code></code></p>" | |||
} | |||
}, | |||
{ | |||
"model": "kb.kbentryanswer", | |||
"pk": 36, | |||
"fields": { | |||
"entry": 18, | |||
"language": "fr", | |||
"answer": "<p><code>Error: When using --tun-ipv6, if you have more than one TAP-Windows adapter, you must also specify --dev-node</code><br /><code>Exiting due to fatal error</code></p>\r\n<p>Cette erreur pourra apparaitre si vous avec de multiples interfaces TAP, la plupart du temps à cause d'un autre logiciel utilisant TAP. Pour le résoudre, ouvrez un interpréteur de commandes (Shift + Clic droit) dans votre répertoire OpenVPN (là où openvpn.exe se situe) et lancez :</p>\r\n<p><code></code></p>\r\n<p><code>openvpn.exe --show-adapters</code></p>\r\n<p><code></code></p>\r\n<p>Cela va lister vos interfaces TAP. Puis, ouvrez votre fichier de configuration ccrypto.ovpn avec un éditeur de texte et ajoutez ceci sur une nouvelle ligne :</p>\r\n<p><code></code></p>\r\n<p><code>dev-node [nom]</code></p>\r\n<p><code></code></p>\r\n<p>Remplacez [nom] par le nom de votre interface TAP.</p>\r\n<p><code></code></p>" | |||
} | |||
} | |||
] |
@@ -272,7 +272,6 @@ header .site-menu a{ | |||
float: none; | |||
width: 200px; | |||
position: relative; | |||
margin-left: 1em; | |||
flex-shrink: 0; | |||
} | |||
@@ -309,7 +308,7 @@ box-shadow: 1px 1px 2px 1px rgba(0,0,0,0.21); | |||
.content-box h3 { | |||
font-weight: bold; | |||
font-size: 1.2em; | |||
margin: 1em 0 0.25em 0; | |||
margin: 0.75em 0; | |||
} | |||
.content-box h4 { | |||
font-weight: bold; | |||
@@ -331,6 +330,10 @@ box-shadow: 1px 1px 2px 1px rgba(0,0,0,0.21); | |||
margin: 1.5em 0; | |||
} | |||
.content-box a { | |||
color: #1c619a; | |||
} | |||
/*.kb-question-list { | |||
list-style-type: circle; | |||
@@ -409,6 +412,15 @@ table.admin-list tbody tr td:last-child { border-right: 0; } | |||
table.admin-list tbody tr:last-child td { border-bottom: 0; } | |||
table.admin-list tbody tr:nth-child(even) { background: #eee; } | |||
.table-header { | |||
display: flex; | |||
flex-direction: row; | |||
align-items: center; | |||
} | |||
.table-header > *:first-child { | |||
flex-grow: 1; | |||
} | |||
/***************************************************/ | |||
/********************* Account Pages */ | |||
@@ -529,6 +541,7 @@ ul.errorlist { | |||
.install-guides li a { | |||
line-height: 2.2em; | |||
text-decoration: none; | |||
display: block; | |||
} | |||
.install-guides li i { | |||
display: block; | |||
@@ -1139,6 +1152,16 @@ div.ticket-message-private { | |||
position: relative; | |||
bottom: -1px; | |||
} | |||
.icon-wireguard.large { | |||
height: 3em; | |||
color: #88171a; | |||
} | |||
.fa.external-link { | |||
font-size: 0.7em; | |||
position: relative; | |||
top: -1px; | |||
} | |||
@media screen and (max-width: 64em) { | |||
.content { | |||
@@ -13,7 +13,7 @@ | |||
<li class="pure-menu-item"> | |||
<a href="{% url 'page' 'help' %}"> | |||
<i class="fa fa-life-ring fa-fw" aria-hidden="true"></i> | |||
{% trans 'Support' %} | |||
{% trans 'Guides & Support' %} | |||
</a> | |||
</li> | |||
<li class="pure-menu-item"> | |||
@@ -22,15 +22,26 @@ | |||
{% trans 'Knowledge Base' %} | |||
</a> | |||
</li> | |||
<li class="pure-menu-item"> | |||
<a href="/page/self-diagnosis"> | |||
<i class="fa fa-wrench fa-fw" aria-hidden="true"></i> | |||
{% trans 'Self-Diagnosis' %} | |||
</a> | |||
</li> | |||
<li><a href="/page/privacy"> | |||
<i class="fa fa-shield fa-fw" aria-hidden="true"></i> | |||
{% trans 'Privacy' %} | |||
<li><a href="/tickets/"> | |||
<i class="fa fa-envelope fa-fw" aria-hidden="true"></i> | |||
{% trans 'Tickets' %} | |||
{% if n_open_tickets > 0 %}(<b>{{n_open_tickets}}</b>){% endif %} | |||
</a></li> | |||
{% if perms.tickets.view_any_ticket %} | |||
<li><a href="/tickets/all_open"> | |||
<i class="fa fa-fire-extinguisher fa-fw" aria-hidden="true"></i> | |||
{% trans 'All Tickets' %} | |||
{% if n_all_tickets > 0 %}({{all_open_n}}){% endif %} | |||
</a></li> | |||
{% endif %} | |||
</ul> | |||
</div> | |||
<div class="submenu"> | |||
<p class="menu-title">{% trans 'WireGuard' %}</p> | |||
<ul> | |||
<li><a href="/page/install-wireguard"> | |||
<i class="icon icon-wireguard fa-fw" aria-hidden="true"></i> | |||
{% trans 'Setup WireGuard' %} | |||
</a></li> | |||
</ul> | |||
</div> | |||
@@ -49,9 +49,6 @@ | |||
<li><a href="/">{% trans "VPN" %}</a></li> | |||
<li><a href="/status">{% trans "Servers" %}</a></li> | |||
<li><a href="/page/help">{% trans "Guides & Support" %}</a></li> | |||
{% if user.is_authenticated %} | |||
<li><a href="/tickets/">{% trans "Tickets" %}</a></li> | |||
{% endif %} | |||
{% if user.is_staff %} | |||
<li><a href="/admin/">{% trans "Admin" %}</a></li> | |||
{% endif %} | |||
@@ -79,6 +76,7 @@ | |||
<ul class="footer-column"> | |||
<li>{% trans 'By' %} <a href="https://ccrypto.org/">CCrypto</a></li> | |||
<li>‣ <a href="/page/tos">{% trans 'ToS' %}</a></li> | |||
<li>‣ <a href="/page/privacy">{% trans 'Privacy Policy' %}</a></li> | |||
<li>‣ <a href="https://git.ccrypto.org/CCrypto/ccvpn3">{% trans 'Source code' %}</a></li> | |||
</ul> | |||
<ul class="footer-column"> | |||
@@ -87,7 +85,7 @@ | |||
<li>‣ <a href="https://twitter.com/CCrypto_VPN">{% trans 'CCrypto_VPN on Twitter' %}</a></li> | |||
</ul> | |||
<ul class="footer-column"> | |||
<li>{% trans 'Your IP:'%} {{CLIENT_IP}}</li> | |||
<li>{% trans 'Your IP address:'%} {{CLIENT_IP}}</li> | |||
<li> | |||
{% if CLIENT_ON_VPN %} | |||
{% trans 'You are connected over CCVPN' %} | |||
@@ -1,23 +1,21 @@ | |||
--- | |||
Title: Support | |||
Title: Guides & Support | |||
--- | |||
CCrypto VPN uses mainly two VPN technologies, | |||
[OpenVPN](https://openvpn.net/) and | |||
[WireGuard](https://www.wireguard.com/). | |||
We recommend WireGuard for its simplicity, security, and performances, | |||
but also provide OpenVPN servers for compatibility with many devices and setups. | |||
### WireGuard Installation Guide | |||
The most up to date installation instructions for WireGuard are on its official website: | |||
[*Installation - Wireguard*](https://www.wireguard.com/install/). | |||
[WireGuard<i class="fa fa-external-link external-link"></i>](https://www.wireguard.com/) | |||
is the currently recommended VPN technology. | |||
- On Android and iOS, simply open the app and scan a [QR code from your account page](/account/wireguard) to associate a device. | |||
- On Windows, mac OS and Linux, import a configuration file [downloaded from your account](/account/wireguard). | |||
<ul class="install-guides"> | |||
<li><a href="/page/install-wireguard"><i class="icon icon-wireguard large"></i> WireGuard</a></li> | |||
</ul> | |||
### OpenVPN Installation Guides | |||
[OpenVPN<i class="fa fa-external-link external-link"></i>](https://openvpn.net/) | |||
is supported for compatibility with many types of devices. | |||
<ul class="install-guides"> | |||
<li><a href="/page/install-android"><i class="fa fa-android fa-3x"></i> Android</a></li> | |||
<li><a href="/page/install-windows"><i class="fa fa-windows fa-3x"></i> Windows</a></li> | |||
@@ -29,8 +27,7 @@ The most up to date installation instructions for WireGuard are on its official | |||
### Help | |||
- [**Knowledge Base**](/kb/): We already cover many common questions in our knowledge base. | |||
- [**Self-Diagnosis**](/page/self-diagnosis): Before asking for help, check here if you find the solution to your problem. | |||
- [**Knowledge Base**](/kb/): We already cover many common questions and problems in our knowledge base. | |||
### Contact Us | |||
@@ -1,23 +1,21 @@ | |||
--- | |||
Title: Guides | |||
Title: Guides & Support | |||
--- | |||
CCrypto VPN utilise principalement deux technologies de VPN, | |||
[OpenVPN](https://openvpn.net/) et | |||
[WireGuard](https://www.wireguard.com/). | |||
Nous recommandons WireGuard pour sa simplicité, sécurité, et performances, | |||
mais fournissons aussi des serveurs OpenVPN pour une compatibilité avec plus de plateformes. | |||
### Installation avec WireGuard | |||
Les instructions pour installer WireGuard sont disponibles sur le site officiel: | |||
[Installation - WireGuard](https://www.wireguard.com/install/). | |||
[WireGuard<i class="fa fa-external-link external-link"></i>](https://www.wireguard.com/) | |||
est la technologie VPN que nous recommendons actuellement. | |||
- Sur Android and iOS, scannez simplement [le code QR donné dans votre compte](/account/wireguard) pour associer un appareil. | |||
- Sur Windows, mac OS, et Linux, importez un fichier de configuration [téléchargé depuis votre compte](/account/wireguard). | |||
<ul class="install-guides"> | |||
<li><a href="/page/install-wireguard"><i class="icon icon-wireguard large"></i> WireGuard</a></li> | |||
</ul> | |||
### Installation avec OpenVPN | |||
[OpenVPN<i class="fa fa-external-link external-link"></i>](https://openvpn.net/) | |||
est aussi supporté pour sa compatibilité avec de nombreuses platformes. | |||
<ul class="install-guides"> | |||
<li><a href="/page/install-android"><i class="fa fa-android fa-3x"></i> Android</a></li> | |||
<li><a href="/page/install-windows"><i class="fa fa-windows fa-3x"></i> Windows</a></li> | |||
@@ -30,7 +28,6 @@ Les instructions pour installer WireGuard sont disponibles sur le site officiel: | |||
### Aide | |||
- [**F.A.Q.**](/kb/): Nous couvrons déjà beaucoup de questions communes dans notre F.A.Q. | |||
- [**Auto-Diagnostic**](/page/self-diagnosis) : Avant de demander de l'aide, vérifiez si vous trouvez la solution à votre problème ici. | |||
### Contactez Nous | |||
@@ -0,0 +1,18 @@ | |||
--- | |||
Title: Install WireGuard | |||
--- | |||
1. Download and install the WireGuard software, | |||
with instructions for each device and operating systems on its official website: | |||
[*Installation - Wireguard*](https://www.wireguard.com/install/). | |||
2. Create a new WireGuard key in [your account](/account/wireguard). | |||
You need one for each device that you want to associate with your account. | |||
3. Import the configuration in WireGuard. | |||
- On Android and iOS, open the app and scan the [QR code from your account](/account/wireguard) | |||
- On Windows, mac OS and Linux, import a configuration file [downloaded from your account](/account/wireguard). | |||
4. Activate the newly imported configuration in WireGuard. | |||
You can check your IP address by refreshing this page (or opening it on the device) and looking at the bottom. |
@@ -0,0 +1,20 @@ | |||
--- | |||
Title: Installation de WireGuard | |||
--- | |||
1. Téléchargez et installez le logiciel WireGuard. | |||
Des instructions spécifique pour chaque plateforme supportée sont disponibles | |||
sur son site officiel: | |||
[*Installation - Wireguard*](https://www.wireguard.com/install/). | |||
2. Créez une nouvelle clé WireGuard dans [votre compte](/account/wireguard). | |||
Vous aurez besoin d'une clé par appareil à associer à votre compte. | |||
3. Importez la configuration dans WireGuard. | |||
- Sur Android et iOS, ouvrez l'app et scannez le [code QR disponible dans votre compte](/account/wireguard) | |||
- Sur Windows, mac OS, et Linux, importez le fichier de configuration [à télécharger dans votre compte](/account/wireguard). | |||
4. Activez la configuration dans WireGuard. | |||
Vous pouvez vérifier votre adresse IP en rafraichissant cette page (ou en l'ouvrant sur l'appareil à connecter) | |||
en bas à droite. |
@@ -1,91 +0,0 @@ | |||
--- | |||
Title: Self Diagnosis | |||
--- | |||
### Windows | |||
Before anything, make sure you have started OpenVPN as Administrator and that your | |||
config files exist in `C:\Program Files\OpenVPN\config\`. | |||
#### netsh.exe error | |||
If you find lines like those in your OpenVPN log: | |||
NETSH: C:\Windows\system32\netsh.exe interface ipv6 set address Local Area Network | |||
ERROR: netsh command failed: returned error code 1 | |||
This error is really frequent on Windows and seem to happen because of | |||
a OpenVPN problem with netsh.exe and IPv6. | |||
To fix it, rename your network connection to avoid spaces, | |||
for example "Local Area Network" to "lan". | |||
- [Rename a network connection](http://windows.microsoft.com/en-au/windows-vista/rename-a-network-connection) | |||
#### Multiple TAP-Windows adapters | |||
Error: When using --tun-ipv6, if you have more than one TAP-Windows adapter, you must also specify --dev-node | |||
Exiting due to fatal error | |||
That one can happen when you have multiple TAP-Windows adapters, most of the | |||
time because of another software using TAP. | |||
To fix it, open a command prompt (Shift+Right click) in your OpenVPN directory | |||
(where openvpn.exe is), and run: | |||
openvpn.exe --show-adapters | |||
This will list your TAP adapters. | |||
Then, open your ccrypto.ovpn configuration file with notepad and add this on a | |||
new line: | |||
dev-node [name] | |||
Replace [name] by your TAP adapter name. | |||
#### Still doesn't work | |||
If you still cannot use the VPN, please go to the [Support page](/page/help) | |||
and we'll do our best to help you. | |||
Please also send us your OpenVPN logs. | |||
### GNU/Linux | |||
#### I have a ".ovpn" file but I need a ".conf"! | |||
You just have to change the extension by renamming the file. | |||
.conf is more commonly used on GNU/Linux, but it's the same as the .ovpn file. | |||
#### I'm unable to use your VPN with Network-Manager. | |||
First, check that you have properly created the profile (tutorial to come). | |||
If it's the case, before anything else, let's make sure that OpenVPN itself is working with the following command: | |||
`sudo openvpn --config ccrypto.conf` | |||
(make sure to replace "ccrypto.conf" by the actual name of your configuration file) | |||
#### I'm connected but cannot ping google.com | |||
Try to `ping 8.8.8.8`: if it works then your computer doesn't use the right DNS server. | |||
Add `nameserver 10.99.0.20` at the beginning of /etc/resolv.conf **once the connection is made**. | |||
Else, continue reading. | |||
#### It still doesn't work! | |||
Using the `ip route` command, make sure you have, alongside with other lines, the following: | |||
0.0.0.0/1 via 10.99.2.1 dev tun0 | |||
10.99.0.0/24 via 10.99.2.1 dev tun0 | |||
10.99.2.0/24 dev tun0 proto kernel scope link src 10.99.2.18 | |||
128.0.0.0/1 via 10.99.2.1 dev tun0 | |||
199.115.114.65 via 192.168.1.1 dev wlan0 | |||
These values might (and for some, will) change a little depending on your configuration (for example: wlan0 → eth0, 192.168.1.1 → 192.168.42.23, etc.). | |||
If you don't have every one of these lines, kill OpenVPN and fire it again or add the routes by hand using `ip route add`. | |||
If you don't know how to do it, it would be best to come ask on IRC (we will need the output of both `ip addr` and `ip route`, | |||
please paste them into https://paste.cubox.me and just give us the link to the paste). | |||
#### I've tried everything but nothing seems to work! T_T | |||
Ok… I guess now you can come [ask us on IRC](/chat) (but remember to stay a while, we're not payed professionnal, we might not be around at a given time but we will answer later on). | |||
@@ -1,87 +0,0 @@ | |||
--- | |||
Title: Auto-Diagnostic | |||
--- | |||
### Windows | |||
Tout d'abord, assurez vous d'avoir bien démarré OpenVPN en tant qu'administrateur | |||
et que votre fichier de configuration est correctement placé dans | |||
`C:\Program Files\OpenVPN\config\`. | |||
#### netsh.exe | |||
Si vous trouvez ces lignes dans votre historique OpenVPN: | |||
NETSH: C:\Windows\system32\netsh.exe interface ipv6 set address Connexion au réseau local | |||
ERROR: netsh command failed: returned error code 1 | |||
Cette erreur est fréquente sous windows et semble arriver à cause d'un problème | |||
d'OpenVPN avec netsh.exe et l'IPv6. | |||
Pour le résoudre, renommez votre connection réseau pour éviter les espaces. | |||
Par exemple « Connexion au réseau local » en « lan ». | |||
- [(fr) Renommer une connexion réseau](http://windows.microsoft.com/fr-xf/windows-vista/rename-a-network-connection) | |||
#### Multiples interfaces TAP | |||
Error: When using --tun-ipv6, if you have more than one TAP-Windows adapter, you must also specify --dev-node | |||
Exiting due to fatal error | |||
Cette erreur pourra apparaitre si vous avec de multiples interfaces TAP, | |||
la plupart du temps à cause d'un autre logiciel utilisant TAP. | |||
Pour le résoudre, ouvrez un interpréteur de commandes (Shift + Clic droit) | |||
dans votre répertoire OpenVPN (là où openvpn.exe se situe) et lancez : | |||
openvpn.exe --show-adapters | |||
Cela va lister vos interfaces TAP. | |||
Puis, ouvrez votre fichier de configuration ccrypto.ovpn avec un éditeur de texte | |||
et ajoutez ceci sur une nouvelle ligne : | |||
dev-node [nom] | |||
Remplacez [nom] par le nom de votre interface TAP. | |||
#### Ça ne fonctionne toujours pas ? | |||
Si vous ne pouvez toujours pas utiliser le VPN, n'hésitez pas à | |||
[nous contacter](/page/help). | |||
Joignez les logs d'OpenVPN à votre message, pour nous aider à trouver | |||
le problème au plus vite. | |||
### GNU/Linux | |||
#### J'ai un fichier ".ovpn" mais il me faut un ".conf" ! | |||
Il vous suffit de changer l'extension en renommant le fichier. | |||
#### Il m'est impossible d'utiliser votre VPN avec Network-Manager. | |||
Tout d'abord, vérifiez que vous avez correctement créé le profil (tutoriel à venir). | |||
Si c'est bien le cas, avant toute chose, vérifiez qu'OpenVPN lui-même est opérationnel en utilisant cette commande : | |||
`sudo openvpn --config ccrypto.conf` | |||
(assurez-vous de remplacer "ccrypto.conf" par le nom de votre fichier de configuration) | |||
#### Je suis connecté mais je ne peux pas ping google.com | |||
Essayez de `ping 8.8.8.8`, si ça marche, votre ordinateur n'utilise pas le serveur DNS. Ajoutez `nameserver 10.99.0.20` au début de /etc/resolv.con **une fois la connexion établie**. Sinon, lisez la suite. | |||
#### Ça ne marche toujours pas ! | |||
En utilisant la commande `ip route`, vérifiez que vous avez, entre autre choses, les lignes suivantes : | |||
0.0.0.0/1 via 10.99.2.1 dev tun0 | |||
10.99.0.0/24 via 10.99.2.1 dev tun0 | |||
10.99.2.0/24 dev tun0 proto kernel scope link src 10.99.2.18 | |||
128.0.0.0/1 via 10.99.2.1 dev tun0 | |||
199.115.114.65 via 192.168.1.1 dev wlan0 | |||
Ces valeurs peuvent (et pour certaines, vont) changer suivant votre configuration (par exemple : wlan0 → eth0, 192.168.1.1 → 192.168.42.23, etc.) | |||
Si vous n'avez pas toutes ces lignes, relancez OpenVPN ou ajouter les routes à la main en utilisant `ip route add`. | |||
Si vous ne savez pas comment faire, ce serait mieux de venir nous demander sur IRC | |||
(nous allons avoir besoin des sorties des commandes `ip addr` et `ip route`, | |||
veuillez utiliser https://paste.cubox.me et nous envoyer uniquement le lien vers le paste). | |||
#### J'ai tout essayé mais rien ne semble fonctionner ! T_T | |||
Ok… Je pense que vous pouvez venir [nous demander sur IRC](/chat) (mais souvenez-vous que nous ne sommes pas des professionnels payés, nous ne sommes pas toujours présent mais nous finirons toujours par répondre si vous ne partez pas trop vite). | |||
@@ -1,16 +1,21 @@ | |||
{% extends 'tickets/layout.html' %} | |||
{% extends 'base_help.html' %} | |||
{% load i18n %} | |||
{% load static %} | |||
{% block pagetitle %}{% trans 'Your Tickets' %}{% endblock %} | |||
{% block tickets_content %} | |||
{% block pagetitle %}{% trans 'Tickets' %}{% endblock %} | |||
{% block helpdesk_body %} | |||
<p>{% trans 'Before creating a ticket, please check if you question is convered in' %} | |||
<a href="/kb/">{% trans 'the knowledge base' %}</a>. | |||
</p> | |||
<p>{% trans 'Before creating a ticket, please check if you question is convered in' %} | |||
<a href="/page/faq">{% trans 'the FAQ' %}</a>. | |||
</p> | |||
<div class="table-header"> | |||
<h3>Your Tickets</h3> | |||
<a href="{% url 'tickets:new' %}" class="pure-button pure-button-primary"> | |||
New Ticket | |||
</a> | |||
</div> | |||
{% if tickets %} | |||
<h2>{% trans 'Your open tickets' %}</h2> | |||
<table class="admin-list"> | |||
<thead> | |||
<tr> | |||
@@ -41,6 +46,8 @@ | |||
{% endif %} | |||
</p> | |||
{% endif %} | |||
{% else %} | |||
<p>No ticket to show.</p> | |||
{% endif %} | |||
{% endblock %} | |||
@@ -1,62 +0,0 @@ | |||
{% extends 'layout.html' %} | |||
{% load i18n %} | |||
{% load static %} | |||
{% block content %} | |||
<div class="content"> | |||
<h2>{% block pagetitle %}{{ title|default:"Support" }}{% endblock %}</h2> | |||
<div class="flex-page"> | |||
<div class="left-menu"> | |||
<div class="submenu"> | |||
<p class="menu-title">{% trans 'Tickets' %}</p> | |||
<ul> | |||
<li class="pure-menu-item"> | |||
<a href="{% url 'tickets:new' %}"> | |||
<i class="fa fa-plus-square fa-fw" aria-hidden="true"></i> | |||
{% trans 'New Ticket' %} | |||
</a> | |||
</li> | |||
<li class="pure-menu-item"> | |||
<a href="/tickets/open"> | |||
<i class="fa fa-folder-open fa-fw" aria-hidden="true"></i> | |||
{% trans 'Open Tickets' %} | |||
{% if open_n > 0 %}({{open_n}}){% endif %} | |||
</a> | |||
</li> | |||
<li class="pure-menu-item"> | |||
<a href="/tickets/closed"> | |||
<i class="fa fa-folder fa-fw" aria-hidden="true"></i> | |||
{% trans 'Closed Tickets' %} | |||
</a> | |||
</li> | |||
</ul> | |||
</div> | |||
<div class="submenu"> | |||
{% if perms.tickets.view_any_ticket %} | |||
<p class="menu-title">{% trans 'Staff' %}</p> | |||
<ul> | |||
<li class="pure-menu-item"> | |||
<a href="/tickets/all_open"> | |||
<i class="fa fa-fire-extinguisher fa-fw" aria-hidden="true"></i> | |||
{% trans 'All Open' %} | |||
{% if all_open_n > 0 %}({{all_open_n}}){% endif %} | |||
</a> | |||
</li> | |||
<li class="pure-menu-item"> | |||
<a href="/tickets/all_closed"> | |||
<i class="fa fa-archive fa-fw" aria-hidden="true"></i> | |||
{% trans 'All Closed' %} | |||
</a> | |||
</li> | |||
</ul> | |||
{% endif %} | |||
</div> | |||
</div> | |||
<div class="content-box"> | |||
{% block tickets_content %}{% endblock %} | |||
</div> | |||
</div> | |||
</div> | |||
{% endblock %} | |||
@@ -1,9 +1,9 @@ | |||
{% extends 'tickets/layout.html' %} | |||
{% extends 'base_help.html' %} | |||
{% load i18n %} | |||
{% load static %} | |||
{% block pagetitle %}{% trans 'Tickets' %}{% endblock %} | |||
{% block tickets_content %} | |||
{% block helpdesk_body %} | |||
{% if tickets %} | |||
<table class="admin-list"> | |||
@@ -1,9 +1,9 @@ | |||
{% extends 'tickets/layout.html' %} | |||
{% extends 'base_help.html' %} | |||
{% load i18n %} | |||
{% load static %} | |||
{% block pagetitle %}{% trans 'New Ticket' %}{% endblock %} | |||
{% block tickets_content %} | |||
{% block helpdesk_body %} | |||
<div class="formpage"> | |||
<form class="pure-form pure-form-stacked" action="" method="post"> | |||
{% csrf_token %} | |||
@@ -1,4 +1,4 @@ | |||
{% extends 'tickets/layout.html' %} | |||
{% extends 'base_help.html' %} | |||
{% load i18n %} | |||
{% load static %} | |||
@@ -8,11 +8,8 @@ | |||
<b>[{% trans 'closed' %}]</b> | |||
{% endif %} | |||
{% endblock %} | |||
{% block tickets_content %} | |||
{% block helpdesk_body %} | |||
<div class="formpage"> | |||
<h2> | |||
</h2> | |||
<div class="ticket-messages"> | |||
{% for message in ticket_messages %} | |||
<div class="ticket-message | |||
@@ -29,7 +29,7 @@ def index(request, f=None, all=False): | |||
if f == 'closed': | |||
tickets = tickets.filter(is_open=False) | |||
else: | |||
elif f == 'open': | |||
tickets = tickets.filter(is_open=True) | |||
if all is False or not request.user.has_perm('tickets.view_any_ticket'): | |||