[email protected] wrote: > First of all, thanks *very much* for all the help with this. > It is greatly appreciated. > > I just got it to work remotely after disabling the firewall > on the machine running Sage and then re-booting. > That is considerable progress. > > However: I'm obviously not crazy about running > my machine w/ the firewall disabled. > Is there a way to config the firewall such that > the firewall is enabled AND Sage can be run remotely? > Possibly specify WWW (HTTP) and/ or Secure WWW (HTTPS) > as Trusted Services? > > Thanks, > -Richard Vaughn >
I don't use Linux, so I don't know the syntax for the firewall. But any half-reasonable firewall will allow you to open only a specific port. On t2.math.washington.edu (Solaris machine) I set up a firewall, the first few lines of which are: block in all block out all # Allow only SSH access (that's port 22, TCP) pass in quick proto tcp from any to 128.208.128.194 port = 22 keep state That basically says first block everything coming in, then block everything going out, then the next line says to open port 22 from any IP address to the IP 128.208.128.194. The 'keep state' means that the required outgoing port (a random port >=1024) is opened for outgoing traffic. So essentially, you should be able to do something similar, but only open port 8000. I believe most linux distros use 'ipchains'. In which case, look at the documentation. There must be something about running a web server. All you need to do is change the example to use port 8000 rather than 80 (web) or 22 (ssh). However, in general, unless your machine was ONLY a Sage server, you have to open other ports too. Dave -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
