Just use 0.0.0.0/0:
host all all 0.0.0.0/0 md5
Make sure the listen_addresses in postgresql.conf allows all incoming connections as well:
listen_addresses = '*'
After the changes you have to reload the configuration (as a superuser):
SELECT pg_reload_conf();