No internet for Kodi

Looking through your log I noticed these lines:

Log started: 2019-09-06  16:31:17
Removing rbp2-device-osmc (1.5.1) ...
WARNING: You have tried to remove a package that is essential to OSMC's operation.
To undo these changes, run 'sudo apt-get -f install'.
dpkg: error processing package rbp2-device-osmc (--remove):
 subprocess installed pre-removal script returned error exit status 1
dpkg: openvpn: dependency problems, but removing anyway as you requested:
 armv7-connman-osmc depends on openvpn.

Removing openvpn (2.4.0-6+deb9u3) ...
dpkg: armv7-network-osmc: dependency problems, but removing anyway as you requested:
 rbp2-device-osmc depends on armv7-network-osmc.

Removing armv7-network-osmc (1.7.6) ...
WARNING: You have tried to remove a package that is essential to OSMC's operation.
To undo these changes, run 'sudo apt-get -f install'.
dpkg: error processing package armv7-network-osmc (--remove):
 subprocess installed pre-removal script returned error exit status 1
dpkg: armv7-connman-osmc: dependency problems, but removing anyway as you requested:
 armv7-network-osmc depends on armv7-connman-osmc (>= 1.2.9-3).

Removing armv7-connman-osmc (1.3.6-2) ...
Errors were encountered while processing:
 rbp2-device-osmc
 armv7-network-osmc
Log ended: 2019-09-06  16:31:24

and remembered this thread from a few days ago where you managed to bork your system after removing openvpn.

I think it’s probably the case that your system still isn’t working 100% and would definitely recommend a fresh reinstall. I would also strongly recommend (a) that you don’t connect the Pi directly to the ISP (ie use a router) and (b) if you must have SSH connection from the Internet, use a high port number, which will at least reduce the number of Chinese IP addresses trying to get in.