Hello! This is starting to consume too much time, so may I ask for assistance with:
An iSCSI Enterprise Target (iscsi-target v4.15) is running inside a VMWare guest on CentOS 5.
It is configured and running properly, and via the virtual LAN, I have successfully connected to a drive from the windows host using Microsoft iSCSI Initiator 2.05.
From outside the LAN however, I am able to discover the Target using the public IP, but unable to Logon to the Target, getting a connection failed message. All firewalls (vm guest, host, and external client) are set to allow TCP and UDP 3260. VMnet8 has port forwarding setup for the same.
Perhaps I need to open and forward additional ports?
However there is a clue to the problem in the initiator: In the MS iSCSI Initiator I go to Log On -> Advanced -> Target Portal combo box.
It shows Default, so I open the combo box and it lists the Local IP (192.168.x.x / 3260) instead of the Public IP. This would explain why an initiator cannot connect outside the LAN.
What is my configuration problem?
Does the target need to be corrected to use the public IP when responding to SendTargets?
Does the initiator need to be corrected not the target?
I looked for parameters to fix the IP in ietd.conf but am still unfamiliar with configuration.
To my surprise searching online did not help but my time is also limited so any assistance is very sincerely appreciated!!
The uncommented lines in the ietd.conf are currently:
Lun 1 Path=/dev/sdb,Type=fileio