linux proxy port forwarding code example
Example 1: port forwarding linux
echo 1 | sudo tee /proc/sys/net/ipv4/ip_forward
# ENABLES IP FORWARDING TEMPORARILY
Example 2: how to make tunnel in linux ubuntu
$ ssh -f -N [email protected] -L 8080: server1.example.com:3000