Move forward view while wheel click
Open the properties panel in the viewport by pressing N. Then, under the "View" tab of the panel, check "Lock Camera to View".



Go into camera view mode, and then move around the viewport however you want (e.g. in walk mode) and the camera will follow.