#!/bin/sh # network : ipv4.ipv4.ipv4.ipv4/mask || dns/mask local network="$( iptoolsGetIps | $cmdTr -s '[[:blank:]]' ';' );" #local network="${ip}/32;" #local network="${ip}/32;127.0.1.1/32" # clients : PROTO ; PORT ; UID/GID ; UID/GID ; UID/GID .... | # servers : PROTO ; PORT ; UID/GID ; UID/GID ; UID/GID .... | # forward : PROTO ; PORT | # DNS and DNS RPC # -- CLIENT -- #local clients="$clients|TCP ;953 ;root/root;1000/1000" local clients="$clients|UDP ;domain ;root/root;1000/1000;0/109;997/997" local clients="$clients|TCP ;domain ;root/root;1000/1000" # -- SERVER -- #local servers="$servers|TCP ;953 ;root/root;1000/1000" local servers="$servers|UDP ;domain ;1000/1000;1000/1000" local servers="$servers|TCP ;domain ;1000/1000;1000/1000"