Nas server TS-251+

 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers Nas server TS-251+
# 1  
Old 05-10-2016
Nas server TS-251+

Hello.

I have this nas server ts-251+ and I thought about - if it is possible to make a script that can turn on/off for the vpn via crontab.

If it's possible ( I dont have any knowledge about scripts myself ), can anyone help me creating the script?

Thank you.
# 2  
Old 05-11-2016
Quote:
Originally Posted by Kuno
If it's possible ( I dont have any knowledge about scripts myself ), can anyone help me creating the script?
Probably, but perhaps only a very few (maybe even none at all) of us know your specific hardware, so you will have to help us out there.

Can you tell use what you would do to turn VPN on/off by hand? Is there a certain command (sequence) you enter to achieve this result?

I hope this helps.

bakunin
# 3  
Old 05-11-2016
Quote:
Originally Posted by bakunin
Probably, but perhaps only a very few (maybe even none at all) of us know your specific hardware, so you will have to help us out there.

Can you tell use what you would do to turn VPN on/off by hand? Is there a certain command (sequence) you enter to achieve this result?

I hope this helps.

bakunin
I want to set up a time schedule for activating and deactivating the vpn - by using crontab.

The OS system is called QTS 4.2 (I think it's the same as Unix/Linux)

Right now I have to enter the settings to manually activate and deactivate the vpn.

This is the Nas server I have https://www.qnap.com/i/useng/product/model.php?II=195

If you need specific information, please tell me because I dont know what kind of information you need to know :-)

Thank you.
# 4  
Old 05-11-2016
Quote:
Originally Posted by Kuno
I want to set up a time schedule for activating and deactivating the vpn - by using crontab.
I have understood that. My question was about something else (see below).

Quote:
Originally Posted by Kuno
The OS system is called QTS 4.2 (I think it's the same as Unix/Linux)

Right now I have to enter the settings to manually activate and deactivate the vpn.
OK. Most of these appliances run some Linux derivate under the hoods so you are most probably right: perhaps this is some Linux.

What i meant was: is there a single command (or some commands) you execute to turn vpn on/off? We might not know these because we do not know your system (i certainly don't), but if you provide us with these commands we can help you turn them into cron-jobs and guide you through the process of creating the necessary cron entries.

I hope this helps.

bakunin
# 5  
Old 05-11-2016
Image
Right now i just connect to the VPN by clicking "Forbind" which means connect.
Im sorry if thats not what you meant
# 6  
Old 05-11-2016
Image
# 7  
Old 05-11-2016
Im not using any commands, i just set up the OpenVPN and click connect - I have uploaded a screenshot - but moderator have to accept it first.
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

NAS Research

Good Afternoon, Are most NASs compatible with Solaris/RedHat? Specifically, I'm looking at Western Digital ones but none of them say they are - I like My Cloud Pro Series PR4100 My Cloud Pro Series PR4100 – Network Attached Storage | Western Digital (WD) (3 Replies)
Discussion started by: Stellaman1977
3 Replies

2. UNIX and Linux Applications

Building a NAS server

Hello, I am planning to build a NAS server next week and i was wondering which OS to use. As i see the two most common are FreeNAS and Ubuntu server + samba. What do you think?Do you hava any experience on that?Any other idea? Thanks! (5 Replies)
Discussion started by: @dagio
5 Replies

3. Debian

Best RAID settings for Debian Server? Help!! (1+0 or 5 or NAS)

I am installing a Debian Server on a: HP Proliant DL380 G4 Dual CPU's 3.20 ghz / 800 mhz / 1MB L2 5120 MB RAM 6 hard disks on HP Smart Array 6i controller (36.4 GB Ultra320 SCSI HD each) I will be using this server to capture VHS video, encode, compress, cut, edit, make DVD's, rip... (0 Replies)
Discussion started by: Marcus Aurelius
0 Replies

4. Filesystems, Disks and Memory

Building a NAS enclosure

Can anyone guide me on how to build my own NAS ? I have an old laptop that I want to convert into a NAS, but not use the laptop as such as an NAS because it has some problems. I would like to build a NAS like the ones available in market. I do not want to buy a NAS enclosure , but would like to... (3 Replies)
Discussion started by: vpraveen84
3 Replies

5. Linux

Linux as a NAS solution?

All, I am most familiar with Solaris, and I am in the process of learning Linux (Fedora 5), and one of my tasks is to replace our current NAS solution. We currently use EMC Celerra, but it is way too expensive for what we use it for. So I have looked into Linux. We mostly we have a Windows... (1 Reply)
Discussion started by: kjbaumann
1 Replies
Login or Register to Ask a Question