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
| apt-get install xz-utils && wget https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz && mkdir -p ffmpeg-static && tar xvf ffmpeg-release-amd64-static.tar.xz -C ffmpeg-static --strip-components 1 && sudo mv ffmpeg-static/ff* /usr/bin/ |
| #EXTINF:0 tvg-country="UN" tvg-logo="" group-title="Sport",NBC Sports Washington | |
| https://tv4.live/api/stream/robert.goldsby50@gmail.com/629662/livetv.epg/nbc.sports.washington.us.m3u8 | |
| #EXTINF:0 tvg-country="UN" tvg-logo="https://i.imgur.com/7NeBmWX.jpg" group-title="Sport",Red Bull TV | |
| https://rbmn-live.akamaized.net/hls/live/590964/BoRB-AT/master.m3u8 | |
| #EXTINF:0 tvg-country="" tvg-logo="" group-title="Sport",Arena Sport 9 HR | |
| https://tv4.live/api/stream/robert.goldsby50@gmail.com/629662/livetv.epg/arena.sport.9.hr.m3u8 | |
| #EXTINF:0 tvg-country="UN" tvg-logo="https://i.imgur.com/8ZFQ93Z.png" group-title="Sport",SPORT : ATG TV,SPORT | ATG TV | |
| https://httpcache0-00688-cacheliveedge0.dna.qbrick.com/00688-cacheliveedge0/out/u/atg_sdi_1_free.m3u8 | |
| #EXTINF:0 tvg-country="ES" tvg-logo="" group-title="Sport",M. DEPORTES 8 | |
| http://listplay4k.live:8080/play/sEqGlXBK924GUbV9yuY_SA_Ye6MOfNX5qA4RME0A1dU/ts |
| #!/bin/bash | |
| apt-get update | |
| apt-get dist-upgrade -y | |
| apt-get install xrdp build-essential git autoconf libtool pkg-config libpulse-dev -y | |
| adduser xrdp ssl-cert | |
| systemctl restart xrdp | |
| cd /root | |
| git clone https://github.com/neutrinolabs/pulseaudio-module-xrdp.git |
| [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