Meine Homepage ist mit meinem Datenbankserver verknüpft, ist ja wohl logisch...
nur rückt diese alle 3 Minuten einen 500 Internal Server error raus. Und wenn ich die Firewall neuladen, geht die Homepage wieder... Deswegen mein Anliegen.
@TE:
Probiers hiermit. Musst natürlich dein Interface und deine Ports anpassen. Kannst dann auch deinen Webserver bspw. whitelisten.
PHP Code:
# Change the value to reflect your public interface. You can see this with ifconfig. ext_if="em0"
# IP addresses that should override the firewall rules, such as your web server. table <trusted_hosts> const { 8.8.8.8 8.8.4.4 }
# Ports used for services (SSH, MySQL) service_ports="{ 22 3306 }"
# Ports used by Metin2 game_ports="{ 11002 13000 13002 }"
# Sets the interface for which PF should gather statistics such as bytes in/out and packets passed/blocked. Statistics can only be gathered for one interface at a time. set loginterface $ext_if
#Skip all PF processing on interface. This can be useful on loopback interfaces where filtering, normalization, queueing, etc, are not required. This option can be used multiple times. By default this option is not set. set skip on lo
# Table for abusive hosts table <abusive_hosts> persist
# Block these bastards. block in quick from <abusive_hosts>
# Schutz gegen gefälschte Adressen für Alle Interfaces aktivieren block in quick from urpf-failed
# block anything coming from sources that we have no back routes for. block in from no-route to any
# Rate limits, trial and error (service ports) pass in on $ext_if proto tcp to any port $service_ports flags S/SA keep state \ (max-src-conn 30, max-src-conn-rate 5/15, overload <abusive_hosts> flush)
# Rate limits, trial and error (metin2 ports) pass in on $ext_if proto {tcp,udp} to any port $game_ports flags S/SA keep state \ (max-src-conn 30, max-src-conn-rate 5/15, overload <abusive_hosts> flush)
# Allow whitelist override the firewall rules. pass in quick from <trusted_hosts>
pass out all keep state pass out on $ext_if all modulate state
# Allow ping in pass in inet proto icmp all icmp-type echoreq
Crontab wichtig 01/26/2015 - Metin2 Private Server - 2 Replies Hallo Leute.
Ne kurze frage und zwar wie verlasse ich crontabe in putty (nachdem ich was hingeschriben habe in )crontab -e
hilfe
Suche Cronjob/Crontab 04/14/2014 - Metin2 Private Server - 9 Replies Suche ein Cronjob/Crontab der den Server genau um 23:54 Stoppt und um 23:55 Rebootet und nach dem Reboot sobald er wieder oben ist soll er noch ca 1 Min warten und dann wieder Startet mit 2 Channels...
Wäre sehr Korrekt wenn mir jemand da helfen könnte...
start.sh mit Crontab 08/01/2012 - Metin2 Private Server - 2 Replies Heyho!
Habe derzeit ein Problem mit meiner start.sh..
Ich will diese über einen Crontab alle 5 Minuten ausführen lassen.
Gesagt getan - das Script wird alle 5 Minuten ausgeführt.
Nun jedoch das Problem:
Es wird nur der DB Core gestartet, die anderen Cores dumpen aber..
Crontab Problem 07/08/2012 - Metin2 Private Server - 0 Replies Heyho!
Habe heute ein Corerestart Script (das von Aiir7) auf meine jeweiligen Channel angepasst und halt ausprobiert. Funktioniert auch alles perfekt, aber wenn ich das Script nun über einen Crontab starten lassen will, tut sich nichts.
Hier mal der Crontab:
*/5 * * * * sh /usr/home/game/restart.sh
Cronjobs/Crontab 08/30/2011 - General Coding - 4 Replies Hai Leute,
ich betreibe seit ca. 1/2 Jahr ein Forum, ich habe bis jetzt alle Backups, manuell erstellt, dazu nutze ich die Software MysqlDumper.
Aber mir geht es langsam auf den zeiger, die Backups manuell zu erstellen.
Das Woltlab Burning Board bietet die Funktion "Zeitgesteuerte Aufgaben" zu erstellen, sogenannte Cronjobs.
Ich kenne mich damit noch nicht sogut aus, deswegen frage ich hier, ob vielleicht jemand so ein Script bereits hat, und es auch nutzt.
mfg