Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Copy the following to a file in your path (I suggest /usr/localocal/sbin), make it executable, and execute with sudo:

...

Code Block
languagebash
sudo chmod +x /usr/local/binsbin/sslh-transparent

You should now be able to set the iptables by executing our created script.

...

and copy/paste the following, then save a quit vim:

Code Block
[Unit]
Description=sslh transparent (see /usr/local/sbin/ssl-transparent)
Wants=network-online.target
After=network-online.target

[Service]
Type=simple
ExecStart=/usr/local/sbin/sslh-transparent

[Install]
WantedBy=multi-user.target

nowOnce saved, let's enable it SSLH persistence on our system:

Code Block
languagebash
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...

...