Skip to content

Commit 219c26f

Browse files
committed
chore: add faq component in vpn faq
1 parent f99580e commit 219c26f

File tree

1 file changed

+15
-12
lines changed
  • apps/docs/content/references/vpn

1 file changed

+15
-12
lines changed

apps/docs/content/references/vpn/faq.mdx

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,18 @@
22
title: Frequently Asked Questions
33
---
44

5-
<details>
6-
<summary>1. VPN in WSL2 doesn't work</summary>
7-
<p>
8-
The reason can be that <code>systemd</code> is not running in WSL2 by default. To fix this:
9-
<ol>
10-
<li>Run <code>sudo -e /etc/wsl.conf</code></li>
11-
<li>Add <code>system=true</code> to <code>[boot]</code> section</li>
12-
<li>Comment out the first line <code>LABEL=cloudimg-rootfs / ext4 defaults 0 1</code></li>
13-
<li>In <code>cmd.exe/PowerShell</code> run <code> wsl --shutdown</code> to restart WSL2.</li>
14-
</ol>
15-
</p>
16-
</details>
5+
import { FAQ, FAQItem } from "/src/components/Faq"
6+
7+
<FAQ>
8+
<FAQItem question="Why is my VPN in WSL2 not working">
9+
<p>
10+
The reason can be that <code>systemd</code> is not running in WSL2 by default. To fix this:
11+
<ol>
12+
<li>Run <code>sudo -e /etc/wsl.conf</code></li>
13+
<li>Add <code>system=true</code> to <code>[boot]</code> section</li>
14+
<li>Comment out the first line <code>LABEL=cloudimg-rootfs / ext4 defaults 0 1</code></li>
15+
<li>In <code>cmd.exe/PowerShell</code> run <code> wsl --shutdown</code> to restart WSL2.</li>
16+
</ol>
17+
</p>
18+
</FAQItem>
19+
</FAQ>

0 commit comments

Comments
 (0)