diff options
Diffstat (limited to 'src/lib.sh')
-rwxr-xr-x | src/lib.sh | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -145,6 +145,7 @@ function nt::portforward() destinationip=$3 destinationport=$4 iptables -t nat -A PREROUTING -d $sourceip -p tcp --dport $sourceport -j DNAT --to $destinationip:$destinationport + iptables -t nat -A POSTROUTING -d $destinationip -p tcp -dport $destinationport -j SNAT --to $destinationip } function nt::china_route_novia() { |