I connect my NI-cRio 9064 version Linux RT (os version 4.1.15-rt17-ni-4.0.0f1) to proxy server (eg. 22.214.171.124:8080 )?
I am trying comand:
It is not working.
Is it possible to do that from Web Configuration?
Solved! Go to Solution.
What is it that you're wanting to send over the proxy? Where do you want to use this connection from? Keep in mind that the environment variables that you export will only affect processes that are launched from that shell.
And, to follow up on the other question asked, no, there's not a way to set proxy information through MAX or other UIs, you're going to need to dig into the OS a bit deeper to get the result that you want (if it becomes a more requested feature, NI would implement it).
Thank you for your answer.
I have data from measurement in local network on cRio and I send them to another server which is not in this network. I would like to set proxy for safety reasons and also because the company like proxy and I should take care of it.
Do you know some solutions that will set proxy permanent after reboot or on startup?
I try many instructions from internet but nothing did work for cRio Linux RT.
A better solution for secure transmission of data from a NI Linux RT controller to another machine on a different subnet would be an OpenVPN configuration, but that will require a bit of setup and knowledge of Linux networking to make that work.
A simpler, smaller-scope solution would be to use an SSH tunnel to send traffic to a particular port (on the local NI Linux RT target) to a remote port on the other end of an ssh connection.
Finally, the $PROTOCOL_proxy environment variable only influences programs that understand and use the environment variable. A quick check doesn't look promising that LV on the controller would recognize this environment variable.
I'd recommend looking into either the OpenVPN or SSH tunnel approach to getting what you need.