mathlink connections through firewalls
- To: mathgroup at smc.vnet.net
- Subject: [mg34899] mathlink connections through firewalls
- From: jmt <jmt at dxdydz.net>
- Date: Wed, 12 Jun 2002 02:15:29 -0400 (EDT)
- Reply-to: jmt at dxdydz.net
- Sender: owner-wri-mathgroup at wolfram.com
Hi, I have been building a mathlink application, let's call it "test". When I want to use it on the local machine (called "klikl" ) I evaluate : myLink=Install["test"] and everything's fine. When I want to use it on my private LAN, I start the application in a shell : klikl$> ./test klikl$> create link: 5035 and on a machine on the LAN I evaluate myLink=Install[LinkConnect["5035@klikl"]] and once again everything's fine. My LAN is behind a Linux firewall. The firewalling rules have then been modified in order to forward to "klikl" every call using port 5035 arriving on the firewall machine. The trouble is : when at work, I would like to run my mathlink application ; but I am behind another firewall. Using ssh, I can launch "test" on port 5035, but when I want to connect, the expression myLink=Install[LinkConnect["5035@ip_of_my_firewall"]] gets stuck in its evaluation loop, but fails when I stop the remote "test". How can I handle all the firewalling rules in order to test (and use and share !) my MathLink application ?