Redirect TCP port 443 in localhost to checkwebcam.com port 80.

socat TCP-LISTEN:443,fork TCP:checkwebcam.com:80

fork parameter is required so that socat fork a new process for every connection attempt. If fork is not specified, socat will exit once a redirected connection closes, times out, or who knows what kind of error occurs.

Redirect UDP port 13443 in localhost to checkwebcam.com port 80.

socat UDP-LISTEN:13443,fork UDP:checkwebcam.com:80