69 lines
1.4 KiB
Plaintext
69 lines
1.4 KiB
Plaintext
[[Kategorie:Infrastruktur]]
|
|
|
|
== Hardware Info ==
|
|
Virtualisiert durch [[intern:Freebert]]
|
|
|
|
== Software Info ==
|
|
FreeBSD Jail Container
|
|
* apache 2.4
|
|
* collectd 5
|
|
|
|
== Verwendungszweck ==
|
|
* proxy.pac für Squid Jail
|
|
* SNMP Auswertung
|
|
* ReverseProxy für /How_to_fix_your_hq_network/
|
|
|
|
== JAIL: Collectd Anpassung ==
|
|
|
|
<source lang=bash>
|
|
vi /usr/local/etc/collectd.conf
|
|
|
|
LoadPlugin snmp
|
|
<Plugin snmp>
|
|
|
|
<Data "std_traffic">
|
|
Type "if_octets"
|
|
Table true
|
|
Instance "IF-MIB::ifDescr"
|
|
Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
|
|
</Data>
|
|
|
|
<Host "etherkiller">
|
|
Address "172.22.99.6"
|
|
Version 2
|
|
Community "public"
|
|
Collect "std_traffic"
|
|
Interval 120
|
|
</Host>
|
|
|
|
</Plugin>
|
|
</source>
|
|
|
|
== Collectd Auswertung ==
|
|
|
|
http://watchbert.hq.c3d2.de/cgi-bin/collection.cgi
|
|
|
|
== ReverseProxy für How_to_fix_your_hq_network ==
|
|
|
|
<source lang=bash>
|
|
vi /usr/local/etc/apache24/httpd.conf
|
|
|
|
ProxyRequests off
|
|
ProxyPass /wiki/ https://wiki.c3d2.de/
|
|
ProxyPassReverse /wiki/ https://wiki.c3d2.de/
|
|
ProxyPass /How_to_fix_your_hq_network/ https://wiki.c3d2.de/How_to_fix_your_hq_network/
|
|
ProxyPassReverse /How_to_fix_your_hq_network/ https://wiki.c3d2.de/How_to_fix_your_hq_network/
|
|
SSLProxyEngine On
|
|
# ProxyPreserveHost on
|
|
# ProxyVia On
|
|
|
|
<Proxy *>
|
|
Order deny,allow
|
|
allow from all
|
|
</Proxy>
|
|
</source>
|
|
|
|
== Log ==
|
|
* 17.05.2014 - Wiki ReverseProxy für kaputtes .1er Gateway
|
|
* 16.04.2014 - einfaches Basis Setup
|