Report comment

Hi Sukantra, the issue will most probably be with permissions or a spelling error.
The iptables-hs service is probably not running at boot time. You can check to see if there is an error by entering
sudo systemctl status hs-iptables

if there is an error it may highlight it. Otherwise redo the permissions and setup of the ip tables.

Your iptables commands should be in the file at /etc/iptables-hs make sure the first line contains #!/bin/bash

then redo the permissions with
sudo chmod +x /etc/iptables-hs

next double check the service file is in the correct location and has the right file name
sudo nano /etc/systemd/system/hs-iptables.service

this should contain the command to run the script with ExecStart=/etc/iptables-hs

finally enable the service so it starts at boot with
sudo systemctl enable hs-iptables

Now it should automatically start at the next boot.

Let me know if you have further issues and I will look into it further.