How to turn my Asus router to a VPN client that can upload files from NAS to a FPT server?

  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

vstevenphan

Occasional Visitor
I'm using AX58U, is there any way that (script, cron, etc) that can let the router act as a VPN client that can upload videos from NAS (Storage attached) to an FPT server?
Thanks
 

Jeffrey Young

Senior Member
Do you mean an FTP server?

Where is the NAS and where is the FTP Server?

Short answer is yes. But more detail about your setup is required.

Once you got your VPN running, you can install "curlftpfs" from Entware to mount a remote FTP server. Here is a link to a thread showing an example.

For VPN, are you looking for OpenVPN on the router (builtin) or are you looking at wireguard or something similar.

 

vstevenphan

Occasional Visitor
Do you mean an FTP server?

Where is the NAS and where is the FTP Server?

Short answer is yes. But more detail about your setup is required.

Once you got your VPN running, you can install "curlftpfs" from Entware to mount a remote FTP server. Here is a link to a thread showing an example.

For VPN, are you looking for OpenVPN on the router (builtin) or are you looking at wireguard or something similar.

I mean I want my videos in the USB/Storage attached to the router are auto-sync/upload to a remote FTP server
 

Jeffrey Young

Senior Member
In principle it would be simple enough to do. You will need to use a script similar to the one in the link I posted above (also need to install curlftpfs so you can mount the remote FTP site.
Once you have your VPN client setup and you have verified that you can ping the FTP server, then just add a cron job via the services-start script. Lots of cron generator websites around to help you with the cron job setup.

As far as the VPN goes, I don't use OpenVPN, so I can't help you there. I am not a big fan of using a router as a NAS or VPN server. I perfer the router to do what it was designed to do and leave the other services to a dedicated server.
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top