# Runnig Ngrok in PCG200

**URL:** https://www.wago.community/t/runnig-ngrok-in-pcg200/773
**Category:** Hardware and Linux
**Created:** [February 8, 2024, 11:51am UTC](https://www.wago.community/t/runnig-ngrok-in-pcg200/773 "2024-02-08T11:51:46Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![pehaa](https://avatars.discourse-cdn.com/v4/letter/p/94ad74/32.png) [@pehaa](https://www.wago.community/u/pehaa)
#### Post date: [February 8, 2024, 11:51am UTC](https://www.wago.community/t/runnig-ngrok-in-pcg200/773/1 "2024-02-08T11:51:46Z")

</div>

Hi,  
I’m trying to run Ngrok tunneling service in my PCF200 device. I’m able to install it and run it as a root user, but not with admin user. Is there any way to run a third party application, like Ngrok, as admin user? I would like to have Ngrok starting in automatically at startup, but that needs to done with admin rights, right?

---

<div class="post-metadata">

### Author: ![WagoKurt](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/wagokurt/32/11_2.png) [@WagoKurt](https://www.wago.community/u/WagoKurt)
#### Post date: [February 14, 2024, 5:37pm UTC](https://www.wago.community/t/runnig-ngrok-in-pcg200/773/2 "2024-02-14T17:37:47Z")

</div>

Hello, please see this thread on a related topic.

> [@Startup Linux Scripts PFC/TP](https://www.wago.community/t/startup-linux-scripts-pfc-tp/311):
>
> Sometimes it is required to execute a script on startup, here are instructions to accomplish this on the PFC200. From shell, type: nano myscript1.sh #!/bin/bash # automaticaly run script at startup #\> cd /etc/rc.d #\> ln -s ../init.d/myscript1 S99\_myscript1 case $1 in start) /home/user/myscript1.sh & ;; \*) echo "Usage: ${0} start" exit 1 ;; esac exit 0 Very important to know, that you need to make this script file directly in PFC, because yo…

---

<div class="post-metadata">

### Author: ![pehaa](https://avatars.discourse-cdn.com/v4/letter/p/94ad74/32.png) [@pehaa](https://www.wago.community/u/pehaa)
#### Post date: [February 22, 2024, 1:07pm UTC](https://www.wago.community/t/runnig-ngrok-in-pcg200/773/3 "2024-02-22T13:07:22Z")

</div>

Thanks for the tip. I actually already tried that earlier, but it didn’t work for me. Now I decided to give it another go. Turned out that the problem was that when starting Ngrok with startup script it could’t find the configuration file with the authentication key. Solution was to copy Ngrok’s .Config folder to the root directory. So now it works. 🙂 Cheers!
