Log X-Forwarded-For

https://httpd.apache.org/docs/current/mod/mod_remoteip.html
https://www.loadbalancer.org/blog/apache-and-x-forwarded-for-headers/

uncoment
#LoadModule remoteip_module libexec/apache24/mod_remoteip.so

In section add:
RemoteIPHeader X-Forwarded-For
LogFormat “%{X-Forwarded-For}i %h %l %u %t \”%r\” %>s %b \”%{Referer}i\” \”%{User-Agent}i\ ” combine
LogFormat “%{X-Forwarded-For}i %h %l %u %t \”%r\” %s %b \”%{Referer}i\” \”%{User-agent}i\”” combined-forwarded

# apachectl configtest
# /usr/local/etc/rc.d/apache24 restart

GPG

Jak zainstalować gpg
W Linux/Unix
zainstaluj gnupg, kgpg, kleopatra
https://gnupg.org/software/frontends.html

W Windows
https://www.gpg4win.org
lub
Zainteresuj się choco
Zainstaluj Gpg4Win
C:\> choco install gpg4win

Jak wyeksportować klucz prywatny
List (private) secret keys
$ gpg -K
Export private key
$ gpg --export-secret-key -a keynumber > private_mykey1.key

Gdzie w Linux/Unix trzymane są klucze
~/.gnupg

Gdzie w Windows trzymane są klucze
c:\Users\user\Appdata\Roaming\gnupg

Jak zaimportować klucz z serwera kluczy
gpg --keyserver key.server.url --recv-keys keyid