SGX-LKL Library OS for running Linux applications inside of Intel SGX enclaves
MIT License
257
stars
89
forks
source link
Step "7. Client: Send application launch request" of Full Attestation and Remote Control Example does not work (Is not possible to connect at server 10.0.2.1) #90
HI,
I have tried Full Attestation and Remote Lunch example of and the last step fails.
I have tried it in different bare metal machines and it always fails.
However below i describe every single step I followed in order to try the example. In my scenario I have two bare metal machines one acting as client (eniom) and another as server (nuc):
Below are displayed the files I have in each machine under sgx-lkl directory:
In eniom :
sudo wg set wgsgx0 peer nt4MgTe2VdmLS8bEGJIKRzit8W59HPbwt+jBq8MmCAY= allowed-ips 10.0.2.1/32 endpoint 192.168.10.1:56002
and also configure sgxlkl.redis.conf
Then When I send request via sgx-lkl-ctl I got the following problem which I guess has to do with routing:
eniom@eniom-NUC8i7HVK:~/Desktop/Safelib_WireGuard/sgx-lkl$ ./build/sgx-lkl-ctl --server=10.0.2.1:56001 run --app=sgxlkl.app.conf
Connecting to 10.0.2.1:56001...
I guess that is a general problem and I raise it as an issue. My guess is either I have done something wrong when configuring TAP device and adding firewall rules or that is something I am missing.
Does anyone know about this problem?
I also got the same problem after following all steps in full-attestation-and-remote-launch-example. I cannot connect to Server to do remote configuration.
HI, I have tried Full Attestation and Remote Lunch example of and the last step fails. I have tried it in different bare metal machines and it always fails.
However below i describe every single step I followed in order to try the example. In my scenario I have two bare metal machines one acting as client (eniom) and another as server (nuc): Below are displayed the files I have in each machine under sgx-lkl directory: In eniom :
In nuc:
Then I followed steps to setup TAP device and configure firewall rules on server machine exactly as below:
The resulting firewall rules for server machine are as below:
And the firewall rules for client machine are as below:
Below is firewall rules for eniom machine:
Then I run Attestation process and this works without problem but when I run Remote Control it did not work: Server Launch enclave output:
Client Remote Attestation output:
Then I use WireGuard public key as below:
and also configure sgxlkl.redis.conf
Then When I send request via sgx-lkl-ctl I got the following problem which I guess has to do with routing:
I guess that is a general problem and I raise it as an issue. My guess is either I have done something wrong when configuring TAP device and adding firewall rules or that is something I am missing.