> For the complete documentation index, see [llms.txt](https://documentation.nomos-system.com/nomos-system/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.nomos-system.com/nomos-system/integrator-nl/administratie/usb-serieel-vpn.md).

# USB-serieel via VPN

Met **"Deel een lokaal USB-apparaat via VPN"** stelt de controller een aangesloten USB-serieel-adapter beschikbaar als TCP-poort. Zo programmeer je bussystemen op afstand waarvan de configuratiesoftware directe seriële toegang nodig heeft — alsof de adapter rechtstreeks op je eigen computer is aangesloten.

{% hint style="info" %}
De share is bereikbaar via de [Direct-VPN](/nomos-system/integrator-nl/administratie/vpn.md), de [Support VPN](/nomos-system/integrator-nl/administratie/ondersteuning-vpn.md) en op het lokale netwerk.
{% endhint %}

## Share activeren

1. Open de VPN-pagina en klik op **"Deel een lokaal USB-apparaat via VPN"**.
2. Kies de **seriële poort** (de USB-adapter), de **baudrate** (moet overeenkomen met de aangesloten hardware) en de **TCP-poort** (standaard: 3001).
3. Na het opslaan toont het overzicht de status van de share: **Actief**, **Verbonden** of **Adapter niet aangesloten**.

## Client instellen op Windows

Op Windows maak je een **virtuele COM-poort** aan die naar de TCP-poort van de controller wijst — bijvoorbeeld met het gratis **HW VSP3** (single-port-editie, [hw-group.com](https://www.hw-group.com/software/hw-vsp3-virtual-serial-port)):

1. Download en installeer HW VSP3 (de "Standalone"-editie).
2. Kies op het tabblad **"Virtual Serial Port"** een vrije **COM-poort** (bijv. COM5), vul het VPN-IP-adres van de controller in als **IP Address** en de geconfigureerde TCP-poort (standaard: 3001) als **Port**.
3. Schakel op het tabblad **"Settings"** de optie **"NVT enabled" uit** — de verbinding gebruikt raw TCP.
4. Klik op **"Create COM"** om de virtuele COM-poort aan te maken.

Selecteer daarna de nieuwe COM-poort in je programmeersoftware en stel dezelfde **baudrate** in als in de share (dataformaat 8N1).

## Client instellen op macOS / Linux

Op macOS en Linux neemt `socat` deze taak op zich (macOS: installeren met `brew install socat`):

```
socat pty,link=/tmp/ttyNOMOS,raw,echo=0 tcp:<VPN-IP>:3001
```

Zolang de opdracht draait, is `/tmp/ttyNOMOS` beschikbaar als seriële poort en kan deze in de programmeersoftware worden geselecteerd.

## Opmerkingen

{% hint style="warning" %}

* Er is **één verbinding tegelijk** mogelijk — verbreek de verbinding van de client voordat een andere verbinding maakt.
* De **baudrate** van de share moet overeenkomen met de aangesloten hardware (dataformaat 8N1).
* De USB-adapter moet op de controller zijn **aangesloten** — de statusindicator in het overzicht toont de actuele toestand.
  {% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://documentation.nomos-system.com/nomos-system/integrator-nl/administratie/usb-serieel-vpn.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
