> For the complete documentation index, see [llms.txt](https://www.devops.buzz/public/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.devops.buzz/public/network/expose-server-under-nat.md).

# Expose server under NAT

## Serveo

```
nano /etc/systemd/system/serveo.service
```

Paste:

```
[Unit]
Description=Serveo
After=network-online.target

[Service]
User=root
ExecStart=/usr/bin/ssh -R dtoservice.serveo.net:80:localhost:3000 serveo.net
#ExecStart=/usr/bin/ssh -R dtoservice.serveo.net:35080:localhost:3000 serveo.net
RestartSec=3
Restart=always

[Install]
WantedBy=multi-user.target

```

Enable service:

```
systemctl daemon-reload
systemctl enable serveo
systemctl restart serveo
```
