ts-410 blocked ip management made easy

Discussion on setting up QNAP NAS products.
Post Reply
trigger
New here
Posts: 3
Joined: Wed Feb 13, 2013 5:52 pm

ts-410 blocked ip management made easy

Post by trigger »

Hi,

Is there an easy way to manage the blocked ip-list? The gui with three lines is a real pita. I have a TS-410.

Best regards, Peter
User avatar
pwilson
Guru
Posts: 22533
Joined: Fri Mar 06, 2009 11:20 am
Location: Victoria, BC, Canada (UTC-08:00)

Re: ts-410 blocked ip management made easy

Post by pwilson »

trigger wrote:Hi,

Is there an easy way to manage the blocked ip-list? The gui with three lines is a real pita. I have a TS-410.

Best regards, Peter
If you are careful you can edit the configuration files manually.

Code: Select all

ls -alF /etc/config/ipsec*
-rw-r--r-- 1 admin administrators 0 2014-10-04 07:26 /etc/config/ipsec_allow.conf
-rw-r--r-- 1 admin administrators 0 2014-10-04 07:26 /etc/config/ipsec.conf
-rw-r--r-- 1 admin administrators 0 2014-10-04 07:26 /etc/config/ipsec_deny.conf
If you are proficient with "vi", you might want to try the following command:

Code: Select all

$EDITOR /etc/config/ipsec_allow.conf


Check out the Vi Documentation (PDF 572 Pages).

Patrick M. Wilson
Victoria, BC Canada
QNAP TS-470 Pro w/ 4 * Western Digital WD30EFRX WD Reds (RAID5) - - Single 8.1TB Storage Pool FW: QTS 4.2.0 Build 20151023 - Kali Linux v1.06 (64bit)
Forums: View My Profile - Search My Posts - View My Photo - View My Location - Top Community Posters
QNAP: Turbo NAS User Manual - QNAP Wiki - QNAP Tutorials - QNAP FAQs

Please review: When you're asking a question, please include the following.
trigger
New here
Posts: 3
Joined: Wed Feb 13, 2013 5:52 pm

Re: ts-410 blocked ip management made easy

Post by trigger »

Thanks, so the rules are in those files? I always was under the impression they were stored in some sort of database.

Best regards, Peter
trigger
New here
Posts: 3
Joined: Wed Feb 13, 2013 5:52 pm

Re: ts-410 blocked ip management made easy

Post by trigger »

I found the format of both files in another thread (http://forum.qnap.com/viewtopic.php?f=25&t=55046), now one question stil... Are they mutual exclusive? IE is one of allow/deny used based on the settings? Or will an entry in one overrule a similar rule in the other?
Thanx, Peter
User avatar
schumaku
Guru
Posts: 43579
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
Contact:

Re: ts-410 blocked ip management made easy

Post by schumaku »

Only one can be active AFAIK.
Post Reply

Return to “Turbo Station Installation & Setup”