kentonv changed the topic of #sandstorm to: Welcome to #sandstorm: home of all things sandstorm.io. Say hi! | Have a question but no one is here? Try asking in the discussion group: https://groups.google.com/group/sandstorm-dev | Public logs at https://botbot.me/freenode/sandstorm/
groxx has quit [Quit: Connection closed for inactivity]
_whitelogger has joined #sandstorm
nwf has joined #sandstorm
<DanC> ok... I have a machine on the internet at a sort of colo facility... I have a range of ports that doesn't include 6080 . can I just edit sandstorm.conf and restart?
<DanC> not obvious from the docs
<DanC> where are grains started?
<DanC> stored?
<DanC> ah...
<DanC> "/opt/sandstorm/var/sandstorm/grains - this directory contains the files and directories created by each app instance, which we call a grain."
<kentonv> yes, editing sandstorm.conf and restarting should work
<kentonv> if you don't have a reverse proxy in front of it -- so you include the port number in the URL bar in your browser -- you may need to reconfigure OAuth after the change
<kentonv> that is to say, if you change BASE_URL in addition to PORT
* DanC struggles with more mundane issues such as remembering the relevant sudo password
<DanC> but speaking of OAuth ... I'd like to just use TOTP. has anybody done that?
<DanC> I don't think these grains are worth much; I suspect I might be better off starting from scratch.
groxx has joined #sandstorm
<DanC> should MONGO_PORT=6081 be exposed to the world?
<DanC> wait... should PORT=6080 be exposed? Does sandstorm do its own SSL termination? I guess I better read the docs more carefully.
<DanC> ... before I change from BIND_IP=127.0.0.1
<xet7> DanC: Really, do not expose MongoDB database to Internet. :D
<xet7> DanC: Because then anyone could connect to MongoDB and delete it's content, or download all it's data, or modify it :D
<DanC> yeah... that advice belongs in BIG BOLD LETTERS in sandstorm.conf and in docs about sandstorm.conf
<xet7> DanC: Sandstorm uses port 80 and 443, for HTTP and HTTPS. Sandstorm automatically creates https://yourserver.sandcats.io SSL cert.
<xet7> DanC: and if you open port 25, Sandstorm can receive email to grains
<DanC> I don't have 80 nor 443. maybe I could; not sure.
<DanC> I have a range of ports in the thousands
<xet7> DanC: Do you have some other webserver at 80 or 443 ?
<DanC> I suspect somebody in this colo arrangement does
<DanC> but maybe not
<xet7> You could also just use HTTP port
<xet7> For SSL, Sandstorm requires wildcard SSL. For example, I user Caddy webserver with CloudFlare free wildcard this way: https://github.com/wekan/wekan/wiki/Caddy-Webserver-Config
<xet7> Or, if you can SSH to colo, you can SSH proxy to Sandstorm HTTP port
<xet7> At Wekan wiki is also other config examples for Nginx, Apache etc
<xet7> Another way is, if you have some other port open to Internet, you can configure SSL for that, for example https://yourserver.sandcats.io:5000 would have SSL at port 5000
<xet7> I think any port can be http or https
<xet7> If you don't use HTTPS, you can comment out that config line with #
<xet7> BTW, there are already enough Internet exposed MongoDB (and other database) servers at Internet, if someone does some scanning. For example, Chinese house monitoring webcam databases, etc etc :D I do listen news about those from https://twit.tv/sn
<xet7> There area also videos at YouTube how Mikko Hyppönen (F-Secure) did find from Internet some factory control panels, etc... :D
<xet7> VNC servers, printers, etc
<TimMc> Shodan is truly a font of wonders.
groxx has quit [Quit: Connection closed for inactivity]
larjona has quit [Ping timeout: 248 seconds]
larjona has joined #sandstorm
coyotebush has quit [Remote host closed the connection]
coyotebush has joined #sandstorm
frigginglorious has joined #sandstorm
DanC has quit [Ping timeout: 272 seconds]
digitalcircuit has quit [Quit: Signing off from Quassel - see ya!]
digitalcircuit has joined #sandstorm
frigginglorious has quit [Ping timeout: 245 seconds]
frigginglorious has joined #sandstorm
TC01 has quit [Ping timeout: 245 seconds]
frigginglorious has quit [Read error: Connection reset by peer]