ahti currently uses
iptables for this. So you better learn the syntax.
As a quick cheatsheet, you can run
sudo iptables -S to see examples.
TCP port rules live in the
TCP table, UDP port rules in the
Once you have your command ready, say
-A TCP -p tcp --dport 22 -j ACCEPT -m comment --comment 'ssh', be prepared to do the following:
sudo iptables -A TCP -p tcp --dport 22 -j ACCEPT -m comment --comment 'ssh' sudo ip6tables -A TCP -p tcp --dport 22 -j ACCEPT -m comment --comment 'ssh'
And then save it all:
sudo rc-service iptables save sudo rc-service ip6tables save
Take a look at
/etc/h2o.conf. You will want to add your domain under
Draw inspiration from the other domains in the file.
For SSL, make sure that you have the following under your domain’s
Once you have that, run:
ssl add domain
sudo rc-service h2o reloadso that the new certificates are used.
And you should be set.
apk info --who-owns `which usermod`
Ahti, the god of the sea and of fishing, is sometimes portrayed as a man with a handlebar moustache and beard of moss.