#!/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 | # -- CLIENT -- local clients="$clients|TCP ;3350 ;root/root;xrdp/xrdp" #local clients="$clients|UDP ;domain ;root/root;1000/1000;0/109" # -- SERVER -- local servers="$servers|TCP ;3350 ;root/root;xrdp/xrdp" #local servers="$servers|UDP ;domain ;root/root;1000/1000"