MathGroup Archive 2002

[Date Index] [Thread Index] [Author Index]

Search the Archive

mathlink connections through firewalls

  • To: mathgroup at
  • Subject: [mg34899] mathlink connections through firewalls
  • From: jmt <jmt at>
  • Date: Wed, 12 Jun 2002 02:15:29 -0400 (EDT)
  • Reply-to: jmt at
  • Sender: owner-wri-mathgroup at


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 :
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
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 
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 ?

  • Prev by Date: RE: PolynomialQ ?
  • Next by Date: Specifying Nonstandard Font Familes in Graphics
  • Previous by thread: Re: Use of ShowProgress
  • Next by thread: Specifying Nonstandard Font Familes in Graphics