Dear Sebastien,
Apologies for the late follow-up - I have made due without this in the meantime.
Is it possible to achieve this functionality with SSH port forwarding? Here is an example:
Orthanc running on machine 1 with the configuration:
"DicomAet" : "OrthancAET",
"DicomPort" : 4444,
"HttpPort" : 8888,
...
"DicomModalities" : {
"myHostname" : ["localAET", "127.0.0.1", 11112]
},
...
Osirix running on machine 2, querying the location
Address: 127.0.0.1
AETitle: OrthancAET
Port: 4444
Osirix itself is set up to listen on port 11112, with hostname "myHostNAme" and "localAET." I am not able to change the IP to 127.0.0.1, so it shows the local IP.
From machine 2, I ssh into machine 1 and forward the ports 4444, 8888, and 11112. I can now load
http://localhost:8888 from machine1, as well as query the location from machine 1. However, retrieving a study gives me the following error:
0006:031c TCP Initialization Error: Connection refused
E0711 13:53:24.770460 18169 MoveScp.cpp:179] IMoveRequestHandler Failed: Error in the network protocol
I realize this may be an Osirix-only issue, but first I thought I'd check if it is even possible.
Thanks