On receiving NAS:
setcfg LOGIN "SSH AllowTcpForwarding" TRUE
reboot
On client to forward local port 8443 to the QNAP admin interface:
ssh user@host -L 8443:localhost:443
[Unit] | |
Description=TurboVNC vncserver | |
After=network.target syslog.target | |
[Service] | |
User=labrax | |
Type=forking | |
ExecStartPre=/bin/sh -c '/opt/TurboVNC/bin/vncserver -kill :1 &>/dev/null || :' | |
ExecStart=/opt/TurboVNC/bin/vncserver -nthreads 2 -disconnect -idletimeout 0 -interframe -depth 24 -name bal :1 | |
ExecStop=/bin/sh -c '/opt/TurboVNC/bin/vncserver -kill :1 &>/dev/null || :' |
<ul class="tiny-block-grid-1 small-block-grid-2 medium-block-grid-2 large-block-grid-3 prd-blk-minimal"> | |
<li> | |
<a href="#"> | |
<ul> | |
<li> | |
<div class="label color-orange">50% OFF</div> | |
<img src="http://dummyimage.com/600x400/c0c0c0/fff"> | |
</li> | |
<li><strong>Photo book Square</strong><br>Starting at 19.95 | |
<li> |
cat <<EOF | |
TYPE The following commands: | |
sysctl -w net.ipv4.conf.docker0.route_localnet=1 | |
iptables -t nat -N REDSOCKS | |
iptables -t nat -A REDSOCKS -d 0.0.0.0/8 -j RETURN | |
iptables -t nat -A REDSOCKS -d 10.0.0.0/8 -j RETURN | |
iptables -t nat -A REDSOCKS -d 127.0.0.0/8 -j RETURN | |
iptables -t nat -A REDSOCKS -d 169.254.0.0/16 -j RETURN | |
iptables -t nat -A REDSOCKS -d 172.16.0.0/12 -j RETURN | |
iptables -t nat -A REDSOCKS -d 192.168.0.0/16 -j RETURN |
#!/bin/sh | |
######################################################################## | |
# | |
# Usage: via-ssh.sh [-v] [-d] [USER@]SERVER[:PORT] | |
# | |
# -v Provide verbose output. | |
# -d Send all UDP on the DNS port 53 to 127.0.0.1. | |
# USER User name to use for SSH; default is current user. | |
# SERVER Server to use for SSH. |
./ngrok tcp -region ap 5900 -log=stdout > ngrok.log & |
#!/bin/sh | |
case $1 in | |
start) | |
/opt/etc/init.d/S05vpnserver start | |
;; | |
stop) | |
;; | |
esac |
On receiving NAS:
setcfg LOGIN "SSH AllowTcpForwarding" TRUE
reboot
On client to forward local port 8443 to the QNAP admin interface:
ssh user@host -L 8443:localhost:443
deb http://mirror.0x.sg/ubuntu/ xenial main restricted universe | |
deb-src http://mirror.0x.sg/ubuntu/ xenial main universe | |
###### Ubuntu Update Repos | |
deb http://mirror.0x.sg/ubuntu/ xenial-security main restricted universe | |
deb http://mirror.0x.sg/ubuntu/ xenial-updates main restricted universe |
aan | |
abdul | |
abdullah | |
abidin | |
abie | |
achmad | |
adam | |
ade | |
adhi | |
adhitya |
teupahselatan | |
simeuluetimur | |
teupahbarat | |
teupahtengah | |
simeuluetengah | |
telukdalam | |
simeuluecut | |
salang | |
simeuluebarat | |
alafan |