Skip to content

Commit

Permalink
small updates to guides
Browse files Browse the repository at this point in the history
  • Loading branch information
zveinn committed May 10, 2024
1 parent 3f261b7 commit 2243a6e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
2 changes: 0 additions & 2 deletions src/Portal/DownloadPage.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import React from "react";
import BannerV4 from "./Bannerv4";
import Notice from "./NoticeBanner";
import Download from "./sections/Download";
import SupportSocial from "./sections/SupportSocial";
import BannerNew from "./BannerNew";
Expand Down
23 changes: 15 additions & 8 deletions src/store.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ var STORE = {

"title:::Step 1 Selecting an entry point",
"text:::Select Routers from the sidebar.",
"text:::Choose a server, click the Add To Connection button and select DEFAULT.",
"text:::Choose a server, click the Add To Connection button and select DEFAULT.",
"image:::https://raw.githubusercontent.com/tunnels-is/media/master/nl-website/v2/sections/how-to-use-niceland/selecting_entry_point.png",

"title:::Step 2 Selecting an exit point",
Expand Down Expand Up @@ -588,8 +588,10 @@ var STORE = {
title: "Using ssh through NicelandVPN",
tag: "ssh-through-nicelandvpn",
content: [
"text:::If you have trouble with SSH connections, use the following option:",
"html:::<code>ssh -o ServerAliveInternal=60</code>",
"text:::If you have trouble with SSH connections, use the ServerAliveInterval option.:",
"text:::ServerAliveInterval will send pings between client and server to make sure the connection stays active.",
"text:::",
"html:::<code>$ ssh -o ServerAliveInternal=30 [email protected]</code>",
]
},
{
Expand All @@ -605,13 +607,18 @@ var STORE = {
"text:::NicelandVPN makes a directory called files, inside this directory is the configuration in config.json and also the logs.",

"title:::Step 3 Execute the CLI App",
"text:::You have to execute the CLI app with elevated privileges.",
"text:::NicelandVPN requires elevated privileges because it is a portable VPN.",
"text:::Wich means that NicelandVPN will not install anything on your system.",
`html:::
<p>To run the CLI on windows:</p>
<ul>
<li>For windows:
<ul><li><code>Start-Process -FilePath C:\\path\\to\\NicelandVPN-Windows-CLI.exe -Verb RunAs</code></li></ul></li>
<li>For Linux and MacOS:
<ul><li><code>sudo ./NicelandVPN-Linux-CLI</code></li></ul></li>
<li>1. Start Poweshell, CMD or bash shell as Administrator</li>
<li>2. Navigate to the directory containing NicelandVPN </li>
<li>3. Run NicelandVPN: <code>$ NicelandVPN-Windows-CLI.exe</code></li></ul>
<p>To run the CLI on MacOS and Linux:</p>
<ul>
<li>1. Navigate to the directory containing NicelandVPN </li>
<li>2. Run NicelandVPN: <code>$ sudo ./NicelandVPN-Linux-CLI</code></li>
</ul>`,
"title:::Step 4 Using the CLI App",
"text:::When you execute the NicelandVPN CLI app, you can use the web UI that runs by default on localhost:22222.",
Expand Down

0 comments on commit 2243a6e

Please sign in to comment.