...
Copy the following to a file in your path (I suggest /usr/localocal/sbin
), make it executable, and execute with sudo:
...
Code Block | ||
---|---|---|
| ||
sudo chmod +x /usr/local/binsbin/sslh-transparent |
You should now be able to set the iptables by executing our created script.
...
Code Block | ||
---|---|---|
| ||
sudo systemctl daemon-reload
sudo systemctl start sslh-transparent
sudo systemctl enable sslh-transparent |
Now these rules will be should have been applied to our system on rebootand will also be applied on system restart.
Restart Apache, start sslh, and test...
...