mirror of
https://github.com/fosrl/docs-v2.git
synced 2026-03-04 17:56:42 +00:00
deploy
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: "Configure Newt"
|
||||
title: "Configure Site"
|
||||
description: "Configure Newt for connecting to Pangolin sites"
|
||||
---
|
||||
Newt is a fully user space [WireGuard](https://www.wireguard.com/) tunnel client and TCP/UDP proxy, designed to securely expose private resources controlled by Pangolin. By using Newt, you don't need to manage complex WireGuard tunnels and NATing.
|
||||
@@ -26,8 +26,6 @@ When Newt receives proxy control messages, it will use the information encoded t
|
||||
|
||||
## Configuration Arguments
|
||||
|
||||
### Required Arguments
|
||||
|
||||
<ResponseField name="id" type="string" required>
|
||||
Newt ID generated by Pangolin to identify the client.
|
||||
|
||||
@@ -50,8 +48,6 @@ When Newt receives proxy control messages, it will use the information encoded t
|
||||
**Example**: `https://pangolin.example.com`
|
||||
</ResponseField>
|
||||
|
||||
### Optional Arguments
|
||||
|
||||
<ResponseField name="mtu" type="integer">
|
||||
MTU for the internal WireGuard interface.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
title: "Install Newt"
|
||||
title: "Install Site"
|
||||
description: "Install Newt as a binary or Docker container"
|
||||
---
|
||||
|
||||
48
manage/sites/update-site.mdx
Normal file
48
manage/sites/update-site.mdx
Normal file
@@ -0,0 +1,48 @@
|
||||
---
|
||||
title: "Update Site"
|
||||
description: "Update Newt to the latest version"
|
||||
---
|
||||
|
||||
The update process depends on how you originally installed Newt.
|
||||
|
||||
Find the lates version in the [GitHub releases](https://github.com/fosrl/newt/releases).
|
||||
|
||||
## Docker Installation
|
||||
|
||||
Update the image version in your `docker-compose.yml`:
|
||||
|
||||
```yaml title="docker-compose.yml"
|
||||
services:
|
||||
newt:
|
||||
image: fosrl/newt:{version} # Replace {version} with the latest version tag
|
||||
# ... rest of config
|
||||
```
|
||||
|
||||
Then pull and restart:
|
||||
|
||||
```bash
|
||||
docker compose pull newt
|
||||
docker compose up -d newt
|
||||
```
|
||||
|
||||
## Binary Installation
|
||||
|
||||
### Auto Installer (Recommended)
|
||||
|
||||
If you used the auto installer, simply run it again.
|
||||
|
||||
```bash
|
||||
curl -fsSL https://docs.fossorial.io/get-newt.sh | bash
|
||||
```
|
||||
|
||||
### Manual Installation
|
||||
|
||||
Download the latest binary for your system from [GitHub releases](https://github.com/fosrl/newt/releases) and replace your existing binary.
|
||||
|
||||
```bash
|
||||
wget -O newt "https://github.com/fosrl/newt/releases/download/{version}/newt_{architecture}" && chmod +x ./newt
|
||||
```
|
||||
|
||||
<Note>
|
||||
Replace `{version}` with the desired version and `{architecture}` with your architecture. Check the [release notes](https://github.com/fosrl/newt/releases) for the latest information.
|
||||
</Note>
|
||||
Reference in New Issue
Block a user