Thanks: 0
Ergebnis 1 bis 1 von 1
-
28.03.2017, 07:57 #1Anfänger
- Registriert seit
- 15.03.2017
- Beiträge
- 14
- Thanks (gegeben)
- 13
- Thanks (bekommen)
- 1
- Total Downloaded
- 906,9 KB
- Total Downloaded
- 906,9 KB
- Thanks (gegeben)
- 13
- Thanks (bekommen)
- 1
OpenVPN und cron jeden Tag an einen anderen Server anwählen
Hallo
Habe mir jetzt OpneVPN mit den Zugangsdaten eingerichtet und jeden Tag einene andere Länderkennung zu haben, habe ich 7 configs in /etc/opnvpn/ gelegt.
die aktiv ist hat die endung zb. france.conf und die deaktiviert ist germany.conf_off.
Das ganze habe ich in cron eingegeben so dass ich jeden Tag eine andere Länderkennung habe.
Dass Problem mit Cron ist dass sich die letzte aktive xxxxx.conf sich nicht automatisch in xxxxx.conf_off umschreibt.
So dass ich dann 2 aktive Länderkennungen habe. Dass umschreiben von xxxxxx.conf_off funktioniert über cron jeden Tag.
Aber andersherum von xxxxxx.conf auf xxxxxxx.conf_off funktioniert nicht.
Wenn ich aber im Menü der Box die Cron zeilen manuell anwähle und ausführen lasse dann funktioniert es.
Hat jemand eine Ahnung woran es liegt.
Komme einfach nicht dahinter wo der Fehler liegen könnte.
Gruß
cluster
25 6 * * * /etc/init.d/openvpn stop
28 6 * * * /etc/init.d/openvpn start
26 6 * * 1 mv /etc/openvpn/Switzerland.conf /etc/openvpn/Switzerland.conf_off
27 6 * * 1 mv /etc/openvpn/Denmark.conf_off /etc/openvpn/Denmark.conf
26 6 * * 2 mv /etc/openvpn/Denmark.conf /etc/openvpn/Denmark.conf_off
27 6 * * 2 mv /etc/openvpn/France.conf_off /etc/openvpn/France.conf
26 6 * * 3 mv /etc/openvpn/France.conf /etc/openvpn/France.conf_off
27 6 * * 3 mv /etc/openvpn/Germany.conf_off /etc/openvpn/Germany.conf
26 6 * * 4 mv /etc/openvpn/Germany.conf /etc/openvpn/Germany.conf_off
27 6 * * 4 mv /etc/openvpn/Italy.conf_off /etc/openvpn/Italy.conf
26 6 * * 5 mv /etc/openvpn/Italy.conf /etc/openvpn/Italy.conf_off
27 6 * * 5 mv /etc/openvpn/Netherlands.conf_off /etc/openvpn/Netherlands.conf
26 6 * * 6 mv /etc/openvpn/Netherlands.conf /etc/openvpn/Netherlands.conf_off
27 6 * * 6 mv /etc/openvpn/Norway.conf_off /etc/openvpn/Norway.conf
26 6 * * 7 mv /etc/openvpn/Norway.conf /etc/openvpn/Norway.conf_off
27 6 * * 7 mv /etc/openvpn/Switzerland.conf_off /etc/openvpn/Switzerland.conf
-
Advertising
Gehe zu:
Skripte
Nach oben
- Bereiche
- Benutzerkontrollzentrum
- Private Nachrichten
- Abonnements
- Wer ist online
- Foren durchsuchen
- Forum-Startseite
- Foren
- openATV Board
- openATV Images
- Allgemeine Image Informationen
- Fehlende oder falsche Übersetzungen
- openATV 4.0 BETA TEST Rückmeldungen
- openATV 4.1 Rückmeldungen
- openATV 4.2 Rückmeldungen
- openATV 4.3 ALPHA GST 1.45 TEST Image Rückmeldungen
- openATV 5.0 Rückmeldungen
- openATV 5.1 Rückmeldungen
- openATV 5.2 BETA Rückmeldungen
- openATV 6.1 Image Rückmeldungen
- openATV 6.2 Image Rückmeldungen
- openATV 6.3 Public Stable Image Rückmeldungen
- openATV 6.5 Python3 Entwicklung
- openATV 7.0 PY3.9/OpenSSL 1.1.1
- HOWTOs
- openATV 6.4 Rückmeldungen
- openATV 7.1 PY3.10/OpenSSL 3.0 EOS
- openATV 7.2 PY3.11/OpenSSL 3.07
- openATV 5.3 Image Rückmeldungen
- openATV 6.0 Image Rückmeldungen
- openATV 7.3 PY3.11/OpenSSL 3.1
- openATV 7.4 PY3.12.2/OpenSSL 3.2.1
- Hersteller mit Support
- Air Digital
- Air Digital Zgemma i55
- Air Digital Zgemma I55Plus
- Air Digital Zgemma I55 SE
- Air Digital Zgemma-Star LC
- Air Digital Zgemma-Star S
- Air Digital Zgemma-Star 2S
- Air Digital Zgemma-Star H1
- Air Digital Zgemma-Star H2
- Air Digital Zgemma H.S
- Air Digital Zgemma H.2S
- Air Digital Zgemma H.2H
- Air Digital Zgemma H.2S Plus
- Air Digital Zgemma H3.2TC
- Air Digital Zgemma H3 AC
- Air Digital Zgemma H4
- Air Digital Zgemma H5
- Air Digital Zgemma H5.2TC
- Air Digital Zgemma H5.2S
- Air Digital Zgemma H5 AC
- Air Digital Zgemma H5.2S Plus
- Air Digital Zgemma H6
- Air Digital Zgemma H7
- Air Digital Zgemma H8 2H
- Air Digital Zgemma H9
- Air Digital Zgemma H9 COMBO
- Air Digital Zgemma H9 TWIN
- Air Digital Zgemma H9 SE
- Air Digital Zgemma H9 TWIN SE
- Air Digital Zgemma H9 COMBO SE
- Air Digital Zgemma H10 2S/2H
- Air Digital Zgemma H10 COMBO
- Air Digital Zgemma H11
- ANADOL
- Amiko
- atto.tv
- AX (powered by Opticum)
- AXAS
- DINOBOT
- Edision
- Edision Optimuss OS1
- Edision Optimuss OS2
- Edision Optimuss OS1 Plus
- Edision Optimuss OS2 Plus
- Edision Optimuss OS3 Plus
- Edision Argus pingulux
- Edision Argus pingulux plus
- Edision Argus pingulux mini
- Edision OS mini
- Edision OS mini Plus
- Edision OS mega
- Edision OS nino
- Edision OS nino Plus
- Edision OS nino Pro
- Edision OS MIO 4K
- Edision OS MIO+ 4K
- Edision OS mini 4K
- Gigablue
- Gigablue 800 Solo
- Gigablue 800SE
- Gigablue 800UE
- Gigablue SE Plus
- Gigablue UE Plus
- Gigablue IPBOX
- Gigablue X1
- Gigablue X3
- Gigablue X3 H
- Gigablue Ultra UE
- Gigablue X2
- Gigablue Quad
- Gigablue Quad Plus
- Gigablue Quad 4K
- Gigablue UE 4K
- Gigablue X3 4K
- GigaBlue UHD IP 4K
- GigaBlue UHD Trio 4K
- GigaBlue UHD Trio 4K PRO
- HITUBE
- IZIBOX
- JamesDonkey
- MaXytec
- Mut@nt
- NOVALER
- OCTAGON
- OCTAGON SF8 HD
- OCTAGON XP1000 Plus
- OCTAGON SF98 E2 HD
- OCTAGON SF108 E2 HD
- OCTAGON SF128 E2 HD BLUE
- OCTAGON SF138 E2 HD RED
- OCTAGON SF208 E2 HD LCD Single
- OCTAGON SF228 E2 HD LCD Twin
- OCTAGON SF3038
- OCTAGON SF4008 4K Linux E2
- OCTAGON SF8008 4K UHD
- OCTAGON SX988 4K UHD DUAL OS
- OCTAGON SFX 60×8 Serie
- OCTAGON SX88/SX888 V2 4K DUAL
- Protek
- PULSe
- uClan
- qviart
- Air Digital
- Hersteller ohne Support
- Atemio
- Azbox
- Beyonwiz
- D-cube
- DreamMultimedia
- EVO
- Ferguson
- Formuler
- Fulan
- Galaxy Innovations
- Golden Interstar
- Golden Media
- HDBOX
- IQON
- Medi@link IXUSS
- MEGASAT
- Miraclebox
- MixOS - Ebox
- MK Digital - Maxdigital
- Odin - Optibox
- Opticum
- Red Eagle
- relook
- Roxxs
- SAB
- Sezam
- Sogno
- Space
- SPYCAT
- Technomate
- Telestar
- Tiviar
- T-rex
- VALA
- Venton Unibox
- VIMASTEC
- Vizyon
- VU+
- WETEK
- World Vision
- WWIO
- XSARIUS
- Xtrend
- Allgemeine Image Informationen
- Receiver - Firmware
- Sonstiges
- IceTV
- StreamMeNG
- Android und Co.
- Off-Topic
- International
Lesezeichen