#!/bin/sh /etc/rc.common START=99 boot() { echo zz_custom started | logger /bin/sleep 10 # route to the dmz via WAN QFDMZ=212.86.210.200/29 QFGW=192.168.2.1 /sbin/ip route add $QFDMZ via $QFGW dev br-wan # ipv6 fixed /sbin/ip -6 addr add 2a03:2260:a:b::1:66/64 dev br-client # start stream proxy /usr/bin/socat TCP-LISTEN:8000,reuseaddr,fork,su=nobody,pf=ip6 TCP:212.86.210.204:8000 & echo zz_custom ended | logger }