Thank you for this thread, this helped me work out my direct connection of the Asus RT-AC86U to a fiber modem.
Before that I had my Asus router connected to the ISP router, which worked but I could not set up a VPN Server on the Asus router for example.
I will add the steps I succesfully...
It executed without echo. Still nowhere ext_port_forward.html to be found.
Any other things I can try or should I switch to another solution?
I am also opening a ticket at PIA support. If that proves useful I will post it here.
Done the "/" but I was aware of the "." restrictions ;-)
File not found.
Sorry to disappoint.
I use SHA256, maybe that has an influence?
I also tried the "services-start" script in SSH command
"
/jffs/scripts/merlin-pia-port-forward.sh --ip 192.168.68.1 --port 80 --debug
"
And I get echo...
OK, I understand it better now and I see I approached it in the wrong way. Especially your info on the port (and its publishing on "ext_port_forward.html" made me realize my errors.
Unfortunately it still doesn't work...
To be absolutely sure your "services-start" works, I made it executable...
So I changed the code to "tmp/vpnclient.pid" and everything works... I guess... as I realize that I do not know how to check this next or even use it.
I have found a helping hand on "https://www.yougetsignal.com/tools/open-ports/" and it states that my port 80 IS OPEN !
Maybe it doesn't work as...
Indeed, it is the /run directory that doesn't seem to exist.
I do let it start up automatically at boot time and I do not want this to change (too convenient :-).
So I will adapt the script and put it under /tmp and try further.
I use the latest firmware for the RT-AC86U : 384.12 release.
It...
Clear explanation, thanks.
Unfortunately I cannot get further then step 3 in your installation.
The "writepid /tmp/var/run/vpnclient.pid" stops my VPN client due to a simple error (from logs): "No such file or directory".
I tried to create the file, but I cannot even access the directory (or...
I respect your efforts that went into your coding.
I will try it and give feedback.
From your feedback I understand I need to do this on my VPN router and through SSH (but also including some kind of "activation code" in my Custom Configuration of the VPN client - as described in your code)...
You are absolutely right.
I am being contradictory.
This contradiction is caused by my inexperience in this matter, my apologies. I am learning bit by bit what network management means, triggered by increased awareness about privacy on the internet and the role of the ISP and other parties. So...
I would first like to thank eibgrad and Martineau for their helpful reflections, as they helped me a lot!
Unfortunately I am still looking for the "how" on the "additional couple of manual rules". Can you help me out with some coding examples Martineau?
My setup:
ISP modem/router > ASUS...