- 需要有一台VPS作为服务端,Linux发行版都可以,没特别要求,但是要确认支持tun/tap驱动,至于如何确认,后面会讲到。
- Windows和Linux/Mac上都可以运行客户端。其中tap模式,不支持Mac。
以tun模式为例。 服务端运行后,创建P2P的tun网卡,IP为10.168.10.1.
#!/bin/bash | |
# https://raw.githubusercontent.com/sunpma/doubi/master/iptables-pf.sh 一键转发 | |
# sudo curl -o install.sh http://192.168.90.227/gost/install.sh | sudo bash install.sh | |
set -ex | |
mkdir -p /etc/gost && \ | |
cd /etc/gost |
Instructions for setting up a git server on a Synology NAS with Diskstation. Specifically, I am using a DS414 with DSM 5.0.
gituser
via Diskstation interface (with File Station and WebDAV privilages)git
(located at /volume1/git
) with read/write access for gituser
and admin
. This folder will hold all the repos.2017-03-03 fm4dd
The gcc compiler can optimize code by taking advantage of CPU specific features. Especially for ARM CPU's, this can have impact on application performance. ARM CPU's, even under the same architecture, could be implemented with different versions of floating point units (FPU). Utilizing full FPU potential improves performance of heavier operating systems such as full Linux distributions.
These flags can both be used to set the CPU type. Setting one or the other is sufficient.
mainly used in start-up script
When we play with iptables aka firewall we might end up in situation, where we execute rule, which has unforseen impact - lock yourself out. Recovering from this situation is necessity.
How to:
- Enable reboot via SMS.
- Test all commands in shell first before putting them into Start-up script. This way the command will be wiped out, when unit is rebooted.