ugh an
# HTTP proxy to reach the actual OpenVPN
# server, put the proxy server/IP and
# port number here. See the man page
# if... certificates with the nsCertType
# field set to "server". The build-key-server
# script in the easy-rsa folder will do this.
ns-... u need clients to use a particular range of IPs
;server-bridge <vpn server IP> <netmask> <first IP> <last IP>
push "dhcp-o... e and private key for the server:
# ./build-key-serverserver
Generate Diffie Hellman parameters:
# ./build-d
l ports, using a bounce host:
<code>
ssh -L 8080:server_to_forward_ports_of:80 server_to_connect_to
</code>
once connected to server_to_connect_to, localhost:8080 would be the same as server_to_forward_ports_of:80.
====== SOCKS proxies ======
<co... 0 server_to_connect_to
</code>
once connected to server_to_connect_to, use localhost:8080 as the (SOCKS v4) proxy server in your favorite browser.
====== Using a local p... proxy software (i.e., Squid)
* connect to the server, and map a port to the proxy's one:
<code>
ssh
/usr/ports/databases/postgresql${PSQLOLDVERSION}-server/ && make
cd /usr/ports/databases/postgresql${PSQL... /usr/ports/databases/postgresql${PSQLNEWVERSION}-server/ && make
cd /usr/ports/databases/postgresql${PSQL... var/ports/basejail/usr/ports/databases/postgresql-server${PSQLNEWVERSION}/work/stage/usr/local/bin/initdb ... /usr/ports/databases/postgresql${PSQLOLDVERSION}-server/ && make deinstall
cd /usr/ports/databases/postgr
reation ====
* Set up an account on the master server that the slave server can use to connect
<code sql>
mysql> GRANT REPLI... ing lines to slave's my.cnf file
<code>
[mysqld]
server-id = slave_id
report-host = slave_name
</code>... with ; or \g.
Your MySQL connection id is 62 to server version: 4.0.20
Type 'help;' or '\h' for help.
cts/apache-top/|apache-top]] is used to parse the server-status/ apache page (usage: apache-top.py http://servername/server-status, so the server needs - obviously - mod_status)
Note: Not to be confused with [[http://freshmeat.n... th no password by default, so create on the MySQL server.
====== iotop ======
[[http://guichaz.free.fr/io
>
#!/bin/sh
IMAPSYNCOPTS='--ssl1 --host1 my_mail_server --user1 my_email_user --passfile1 /etc/secret1 --... folder INBOX$folder
done
</code>
Replace my_mail_server, my_email_user, my_gmail_user, my_domain by the a... Of course, for this to work, you have to have shell access to your local IMAP server (the one to backup).
to your main lighttpd configuration file:
<code>
server.use-ipv6 = "enable"
$SERVER["socket"] == "0.0.0.0:80" {
# listen on all ipv4 interfaces.
}
</code>
=====
-on-Steroids//.
The goal here is to get a Nagios server monitor, with graphing capabilities and integrate... s ([[http://collectd.org/|collectd]]).
===== Web Server =====
Any Webserver will fit there, as long as it
ould be easily adapted to other platforms.
===== Server Part =====
For a basic OpenVPN setup, you should... nvpn to listen on TCP-443 port:
<code>
proto tcp-server
port 443
</code>
==== Sharing the HTTPS port wit