View previous topic :: View next topic |
Author |
Message |
walid
Joined: 23 Jun 2022 Posts: 2
|
Posted: Thu Jun 23, 2022 11:31 am Post subject: Feature Request (IP Filtre) |
|
|
Hello
i just want to ask if possible to add ip filter feature in linux version
so this the only way to add a security layer
best regards |
|
Back to top |
|
 |
Peter Site Admin
Joined: 01 Aug 2007 Posts: 663
|
Posted: Thu Jun 23, 2022 12:17 pm Post subject: |
|
|
Hello Walid,
Thanks for your request. The latest version supports IP filters, please see below.
The generic command format is as follows:
usbsrv <command>
The <command> can be one of the following:
-add-ip-filter <rule>
-remove-ip-filter <ruleid>
-remove-ip-filter <rule>|all
-set-ip-filters-mode disabled|allow|deny
-list-ip-filters
<rule> specifies the host name, computer name, IP address, IP range or IP subnetwork in a form of a string (the string must not contain spaces!):
192.168.1.5
192.168.1.5-192.168.1.55
192.168.1.0/24
my-host
<ruleid> is a 1-based index of an existing rule, as displayed by -list-ip-filters command.
Examples:
usbsrv -set-ip-filters-mode allow
usbsrv -add-ip-filter 192.168.1.5
usbsrv -remove-ip-filter 192.168.1.5
usbsrv -remove-ip-filter 1
usbsrv -remove-ip-filter all |
|
Back to top |
|
 |
walid
Joined: 23 Jun 2022 Posts: 2
|
Posted: Thu Jun 23, 2022 1:16 pm Post subject: |
|
|
Great news
i'll try it right now
thanks for replay |
|
Back to top |
|
 |
|