If you have a Home Assistant instance, adding a webcam and accessing it from outside of your home network is quite easy: https://www.home-assistant.io/blog/2016/06/23/usb-webcams-and-home-assistant/
Home Assistant is a very useful platform to have around if you have a handful of IoT devices at home.