Access Rules Batch Paste

Core FTP Server questions and answers
Post Reply
rellish
Posts: 2
Joined: Thu Feb 25, 2010 4:25 am

Access Rules Batch Paste

Post by rellish »

Is there a way to paste a range of subnets in the Access Rules? For example I wanted just everyone in the US to access my server instead of typing one by one below, paste it in a file that resides somewhere?

Thanks
Chris

# Country: UNITED STATES
# ISO Code: US
# Total Networks: 37,610
# Total Subnets: 1,491,960,574
3.0.0.0 - 3.255.255.255
4.0.0.0 - 4.255.255.255
6.0.0.0 - 6.255.255.255
7.0.0.0 - 7.255.255.255
8.0.0.0 - 8.255.255.255
9.0.0.0 - 9.255.255.255
etc...........can't paste them all in here
rellish
Posts: 2
Joined: Thu Feb 25, 2010 4:25 am

Post by rellish »

I think i found it.

C:\Program Files\CoreFTPServer\config.dat

[Access\1,0.0.0.0-255.255.255.255]
1,0.0.0.0-255.255.255.255=
[Access\0,0.0.0.0-255.255.255.255]
0,0.0.0.0-255.255.255.255=

[Access\1 = Deny
[Access\0 = Allow

A confirmation would be appreciated, Thanks
Post Reply