[CentOS] bind specific ip address to iscsi target

Thu Dec 11 11:44:22 UTC 2008
carlopmart <carlopmart at gmail.com>

Fabian Arrotin wrote:
> carlopmart wrote:
>> Hi all,
>>
>>  I have setup a centos5.2 server (full updated) to serve iscsi disks 
>> using scsi-target-utils package. This server has two network adapters, 
>> one for remote administration and another to serve iscsi disk. How can I 
>> bind iscsi target service to only one ip address??
>>
>> Many thanks.
> 
> I don't think that the actual tgtd can do that .. but i have also two 
> nics on my iscsi target server and they use different lan anyway : one 
> for management/host access and the other (in a separate vlan) for the 
> iscsi traffic between hosts and targets
> 
Thanks fabian, then I will use iptables rules to restrict access to only one IP.


-- 
CL Martinez
carlopmart {at} gmail {d0t} com