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
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.
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
ort, and to forward non-VPN traffic to another webserver. Just write the webserver IP and port to forward traffic to:
<code>
port-share remoteserver 443
</code>
==== Routing *all* traffic throught
====== My own ipv6 tips for servers ======
Here you'll find configuration for both ipv4/ipv6 accesses on some servers I personally use.
===== SSH =====
add to /etc/... to your main lighttpd configuration file:
<code>
server.use-ipv6 = "enable"
$SERVER["socket"] == "0.0.0.0:80" {
# listen on all ipv4 interfaces.
}
</code>
=====
-status/ apache page (usage: apache-top.py http://servername/server-status, so the server needs - obviously - mod_status)
Note: Not to be ... th no password by default, so create on the MySQL server.
====== iotop ======
[[http://guichaz.free.fr/io
al shell scripts using VIM]]
* [[public:wipeliveserver|Wipe/shred/nuke a living server]]
**FreeBSD**
* [[public:deinstall_removed_port... tupid proxies]]
* [[public:my_own_ipv6_tips_for_servers|My own ipv6 tips for servers]]
* [[public:ipsec|IPSec for FreeBSD cross-hos
-on-Steroids//.
The goal here is to get a Nagios server monitor, with graphing capabilities and integrate... ator. We will use the following tools:
* Any webserver running php
* [[http://www.nagios.org|Nagios]] ... s ([[http://collectd.org/|collectd]]).
===== Web Server =====
Any Webserver will fit there, as long as it supports CGI (for Nagios) and PHP (for NConf). http aut
>
#!/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).
g depicting the location of the current website's server and provides quick access to detailed location and webserver information
* <del>[[https://addons.mozilla.org