Lots of time was saved by finding this guide, partially repeated below. http://forum.synology.com/enu/viewtopic.php?f=40&t=84073#p317463
###login
ssh root@ipforsynologybox| html,body,#wrapper { | |
| width: 100%; | |
| height: 100%; | |
| margin: 0px; | |
| } | |
| .chart { | |
| font-family: Arial, sans-serif; | |
| font-size: 12px; | |
| } |
| # script stolen from http://goo.gl/YbQyAQ | |
| # install.packages("tm") | |
| # install.packages("ggplot2") | |
| # install.packages("lsa") | |
| # install.packages("scatterplot3d") | |
| #install.packages("SnowballC") | |
| #if !(require('SnowballC')) then install.packages("SnowballC") | |
| library(tm) | |
| library(ggplot2) |
Lots of time was saved by finding this guide, partially repeated below. http://forum.synology.com/enu/viewtopic.php?f=40&t=84073#p317463
###login
ssh root@ipforsynologybox| // Load the TCP Library | |
| net = require('net'); | |
| // Keep track of the chat clients | |
| var clients = []; | |
| // Start a TCP Server | |
| net.createServer(function (socket) { | |
| // Identify this client |
| /* | |
| In the node.js intro tutorial (http://nodejs.org/), they show a basic tcp | |
| server, but for some reason omit a client connecting to it. I added an | |
| example at the bottom. | |
| Save the following server in example.js: | |
| */ | |
| var net = require('net'); |
| /* | |
| In the node.js intro tutorial (http://nodejs.org/), they show a basic tcp | |
| server, but for some reason omit a client connecting to it. I added an | |
| example at the bottom. | |
| Save the following server in example.js: | |
| */ | |
| var net = require('net'); |
Accessing a subnet that is behind a WireGuard client using a site-to-site setup
We want to access a local subnet remotely, but it is behind a NAT firewall and we can't setup port forwarding. Outgoing connections work, but all incoming connections get DROPPED by the ISP's routing policy.