socat -v TCP-LISTEN:666,forever,reuseaddr,fork TCP:example.com:8080 socat -v TCP-LISTEN:8080,forever,reuseaddr,fork ssl:example.com:443