openvpn einrichten
-
- Member
- Beiträge: 52
- Registriert: 19 Jun 2016 10:47
- Hat Dank erhalten: 1 Mal
ja habe ich so gemacht,geht nicht" command not found",hab mir über plugin den e2speedtest geholt,da wird eine andere ipadresse angezeigt,also müsste es ja gehen.Wenn openvpn deaktiviere steht da meine echte.meine netztwerkadresse ändert sich aber nicht,ist das normal?wenn ich bei netztwerk information gucke steht da die adresse die ich bei putty oder ftp angebe(ist ja nicht meine ip adresse oder,sorry echt neu land für mich)
-
- Member
- Beiträge: 52
- Registriert: 19 Jun 2016 10:47
- Hat Dank erhalten: 1 Mal
jetzt ging es sorry mein fehler
ax51 login: root
Last login: Fri May 19 05:41:46 CEST 2017 on pts/0
root@ax51:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:6C:FD:C7:F4:5B
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: 2a02:8109:1600:3ee0:26c:fdff:fec7:f45b%1/64 Scope:Global
inet6 addr: fe80::26c:fdff:fec7:f45b%lo/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:53032 errors:0 dropped:1 overruns:0 frame:0
TX packets:31478 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:75158546 (71.6 MiB) TX bytes:5202414 (4.9 MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1%1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:40 errors:0 dropped:0 overruns:0 frame:0
TX packets:40 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2672 (2.6 KiB) TX bytes:2672 (2.6 KiB)
tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.6.148.245 P-t-P:10.6.148.246 Mask:255.255.255.255
inet6 addr: fe80::d53c:2026:df9e:b509%lo/64 Scope:Link
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:1353 errors:0 dropped:0 overruns:0 frame:0
TX packets:1052 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:1626856 (1.5 MiB) TX bytes:58307 (56.9 KiB)
root@ax51:~# eth0 Link encap:Ethernet HWaddr 00:6C:FD:C7:F4:5B
-sh: eth0: command not found
root@ax51:~# inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
-sh: inet: command not found
root@ax51:~# inet6 addr: 2a02:8109:1600:3ee0:26c:fdff:fec7:f45b%1/64 Scope:Global
-sh: inet6: command not found
root@ax51:~# inet6 addr: fe80::26c:fdff:fec7:f45b%lo/64 Scope:Link
-sh: inet6: command not found
root@ax51:~# UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
-sh: UP: command not found
root@ax51:~# RX packets:53032 errors:0 dropped:1 overruns:0 frame:0
-sh: RX: command not found
root@ax51:~# TX packets:31478 errors:0 dropped:0 overruns:0 carrier:0
-sh: TX: command not found
root@ax51:~# collisions:0 txqueuelen:1000
-sh: collisions:0: command not found
root@ax51:~# RX bytes:75158546 (71.6 MiB) TX bytes:5202414 (4.9 MiB)
-sh: syntax error near unexpected token `('
root@ax51:~#
root@ax51:~# lo Link encap:Local Loopback
-sh: lo: command not found
root@ax51:~# inet addr:127.0.0.1 Mask:255.0.0.0
-sh: inet: command not found
root@ax51:~# inet6 addr: ::1%1/128 Scope:Host
-sh: inet6: command not found
root@ax51:~# UP LOOPBACK RUNNING MTU:65536 Metric:1
-sh: UP: command not found
root@ax51:~# RX packets:40 errors:0 dropped:0 overruns:0 frame:0
-sh: RX: command not found
root@ax51:~# TX packets:40 errors:0 dropped:0 overruns:0 carrier:0
-sh: TX: command not found
root@ax51:~# collisions:0 txqueuelen:1000
-sh: collisions:0: command not found
root@ax51:~# RX bytes:2672 (2.6 KiB) TX bytes:2672 (2.6 KiB)
-sh: syntax error near unexpected token `('
root@ax51:~#
root@ax51:~# tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
-sh: tun0: command not found
root@ax51:~# inet addr:10.6.148.245 P-t-P:10.6.148.246 Mask:255.255.255.255
-sh: inet: command not found
root@ax51:~# inet6 addr: fe80::d53c:2026:df9e:b509%lo/64 Scope:Link
-sh: inet6: command not found
root@ax51:~# UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
-sh: UP: command not found
root@ax51:~# RX packets:1353 errors:0 dropped:0 overruns:0 frame:0
-sh: RX: command not found
root@ax51:~# TX packets:1052 errors:0 dropped:0 overruns:0 carrier:0
-sh: TX: command not found
root@ax51:~# collisions:0 txqueuelen:100
-sh: collisions:0: command not found
root@ax51:~# RX bytes:1626856 (1.5 MiB) TX bytes:58307 (56.9 KiB)
-sh: syntax error near unexpected token `('
root@ax51:~#
root@ax51:~# root@ax51:~#
-sh: root@ax51:~#: command not found
root@ax51:~#
ax51 login: root
Last login: Fri May 19 05:41:46 CEST 2017 on pts/0
root@ax51:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:6C:FD:C7:F4:5B
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: 2a02:8109:1600:3ee0:26c:fdff:fec7:f45b%1/64 Scope:Global
inet6 addr: fe80::26c:fdff:fec7:f45b%lo/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:53032 errors:0 dropped:1 overruns:0 frame:0
TX packets:31478 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:75158546 (71.6 MiB) TX bytes:5202414 (4.9 MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1%1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:40 errors:0 dropped:0 overruns:0 frame:0
TX packets:40 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2672 (2.6 KiB) TX bytes:2672 (2.6 KiB)
tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.6.148.245 P-t-P:10.6.148.246 Mask:255.255.255.255
inet6 addr: fe80::d53c:2026:df9e:b509%lo/64 Scope:Link
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:1353 errors:0 dropped:0 overruns:0 frame:0
TX packets:1052 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:1626856 (1.5 MiB) TX bytes:58307 (56.9 KiB)
root@ax51:~# eth0 Link encap:Ethernet HWaddr 00:6C:FD:C7:F4:5B
-sh: eth0: command not found
root@ax51:~# inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
-sh: inet: command not found
root@ax51:~# inet6 addr: 2a02:8109:1600:3ee0:26c:fdff:fec7:f45b%1/64 Scope:Global
-sh: inet6: command not found
root@ax51:~# inet6 addr: fe80::26c:fdff:fec7:f45b%lo/64 Scope:Link
-sh: inet6: command not found
root@ax51:~# UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
-sh: UP: command not found
root@ax51:~# RX packets:53032 errors:0 dropped:1 overruns:0 frame:0
-sh: RX: command not found
root@ax51:~# TX packets:31478 errors:0 dropped:0 overruns:0 carrier:0
-sh: TX: command not found
root@ax51:~# collisions:0 txqueuelen:1000
-sh: collisions:0: command not found
root@ax51:~# RX bytes:75158546 (71.6 MiB) TX bytes:5202414 (4.9 MiB)
-sh: syntax error near unexpected token `('
root@ax51:~#
root@ax51:~# lo Link encap:Local Loopback
-sh: lo: command not found
root@ax51:~# inet addr:127.0.0.1 Mask:255.0.0.0
-sh: inet: command not found
root@ax51:~# inet6 addr: ::1%1/128 Scope:Host
-sh: inet6: command not found
root@ax51:~# UP LOOPBACK RUNNING MTU:65536 Metric:1
-sh: UP: command not found
root@ax51:~# RX packets:40 errors:0 dropped:0 overruns:0 frame:0
-sh: RX: command not found
root@ax51:~# TX packets:40 errors:0 dropped:0 overruns:0 carrier:0
-sh: TX: command not found
root@ax51:~# collisions:0 txqueuelen:1000
-sh: collisions:0: command not found
root@ax51:~# RX bytes:2672 (2.6 KiB) TX bytes:2672 (2.6 KiB)
-sh: syntax error near unexpected token `('
root@ax51:~#
root@ax51:~# tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
-sh: tun0: command not found
root@ax51:~# inet addr:10.6.148.245 P-t-P:10.6.148.246 Mask:255.255.255.255
-sh: inet: command not found
root@ax51:~# inet6 addr: fe80::d53c:2026:df9e:b509%lo/64 Scope:Link
-sh: inet6: command not found
root@ax51:~# UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
-sh: UP: command not found
root@ax51:~# RX packets:1353 errors:0 dropped:0 overruns:0 frame:0
-sh: RX: command not found
root@ax51:~# TX packets:1052 errors:0 dropped:0 overruns:0 carrier:0
-sh: TX: command not found
root@ax51:~# collisions:0 txqueuelen:100
-sh: collisions:0: command not found
root@ax51:~# RX bytes:1626856 (1.5 MiB) TX bytes:58307 (56.9 KiB)
-sh: syntax error near unexpected token `('
root@ax51:~#
root@ax51:~# root@ax51:~#
-sh: root@ax51:~#: command not found
root@ax51:~#
Was steht denn bei dir alles drin xD bei mir sind das 3 Pakete, aber wie du siehst der tun0 steht dabei und somit sollte es auch laufen. In openvpn auf der Box warst ja auch grün.
Nur rate ich dir beim openvpn Image mal zu schauen ob der VPN wenn du die Box aus dem standby holst noch läuft, das tat er bei mir nämlich nicht wenn die Box längere Zeit im standby war.
Ich haben dann auf ein anderes Image gewechselt und dort läuft der VPN immer und startet nach standby auch selbständig neu.
Gesendet von meinem VTR-L09 mit Tapatalk
Nur rate ich dir beim openvpn Image mal zu schauen ob der VPN wenn du die Box aus dem standby holst noch läuft, das tat er bei mir nämlich nicht wenn die Box längere Zeit im standby war.
Ich haben dann auf ein anderes Image gewechselt und dort läuft der VPN immer und startet nach standby auch selbständig neu.
Gesendet von meinem VTR-L09 mit Tapatalk
-
- Member
- Beiträge: 100
- Registriert: 22 Jan 2017 20:30
- Wohnort: Deutschland
- Receiver 1: Xtrend et10000, openATV 6.3
- Receiver 2: VU+ Ultimo 4k, openATV 6.3
- Hat gedankt: 24 Mal
- Hat Dank erhalten: 20 Mal
Naja, warum da jeweils "command not found" kommt, dürfte wohl klar sein, oder? Du hast jede Ausgabezeile des vorherigen Befehls kopiert und dann mit ENTER Deiner Shell als Kommando vorgesetzt. Was dabei herauskommt, siehst Du ja in #25. Zu Deinem Glück kam dabei kein gültiger und eventuell gefährlicher Befehl dabei heraus...
-
- Member
- Beiträge: 52
- Registriert: 19 Jun 2016 10:47
- Hat Dank erhalten: 1 Mal
hallo leute ich habe meinen VPN anbieter gewechselt und bekomme jetzt openVPN nicht mehr zum laufen,kann ich hier mal die beiden dateien hoch laden,ein mal die die geht und ein mal die nicht gehen,natürlich ohne user name und passwort
- Dateianhänge
-
- VPN was funktionierte.rar
- (4.54 KiB) 183-mal heruntergeladen
-
- neu VPN geht nicht.rar
- (4.56 KiB) 50-mal heruntergeladen
-
- Member
- Beiträge: 52
- Registriert: 19 Jun 2016 10:47
- Hat Dank erhalten: 1 Mal
login as: root
root@ax51:~# openvpn --config /etc/openvpn/client.conf
root@ax51:~# root@ax51:~# openvpn --config /etc/openvpn/client.conf
Tue Jun 20 16:07:39 2017 Note: option tun-ipv6 is ignored because modern operating systems do not need special IPv6 tun handling anymore.
Tue Jun 20 16:07:39 2017 us=917305 WARNING: cannot stat file '/etc/openvpn/userpass.txt': No such file or directory (errno=2)
Options error: --auth-user-pass fails with '/etc/openvpn/userpass.txt': No such file or directory
Options error: Please correct these errors.
Use --help for more information.
userpasst.txt ist aber da
gelöst
root@ax51:~# openvpn --config /etc/openvpn/client.conf
root@ax51:~# root@ax51:~# openvpn --config /etc/openvpn/client.conf
Tue Jun 20 16:07:39 2017 Note: option tun-ipv6 is ignored because modern operating systems do not need special IPv6 tun handling anymore.
Tue Jun 20 16:07:39 2017 us=917305 WARNING: cannot stat file '/etc/openvpn/userpass.txt': No such file or directory (errno=2)
Options error: --auth-user-pass fails with '/etc/openvpn/userpass.txt': No such file or directory
Options error: Please correct these errors.
Use --help for more information.
userpasst.txt ist aber da
gelöst
OPEN VPN & Perfect Privacy ... Problem
Habe schon alle anleitungen hier durch , ich bekomme es einfach nicht zum laufen , und ich frage mich wo ich diese crt datei herbekomme ?
Also war auf der Perfect Privacy Homepage und habe mit meine Server daten in ovpn format geladen in windows und in linux und linux legacy für ältere versionen und in conf geändert , sowie eine userpass txt erstellt sowie in der geänderten conf dieses verlinkt mit dem text
auth-user-pass /etc/openvpn/userpass.txt
das dann alles per ftp auf die box und neustart , aber es tut sich nichts, er tut rein garnichts , drücke auf start aber nix passiert
EDIT (zusammengeführt):
versuche die ganze zeit alles und bei telnet kommt immer diese meldung
root@vuzero:~# openvpn --config /etc/openvpn/client.conf
Thu Jun 29 20:11:29 2017 Note: option tun-ipv6 is ignored because modern operating systems do not need special IPv6 tun handling anymore.
Options error: Unrecognized option or missing or extra parameter(s) in /etc/openvpn/client.conf:47: register-dns (2.4.0)
Use --help for more information.
mein dienst ist perfect privacy
EDIT2 (noch mehr zusammengeführt):
root@vuzero:~# openvpn --config /etc/openvpn/client.conf
Thu Jun 29 20:12:17 2017 Note: option tun-ipv6 is ignored because modern operating systems do not need special IPv6 tun handling anymore.
Options error: Unrecognized option or missing or extra parameter(s) in /etc/openvpn/client.conf:47: register-dns (2.4.0)
Use --help for more information.
Also war auf der Perfect Privacy Homepage und habe mit meine Server daten in ovpn format geladen in windows und in linux und linux legacy für ältere versionen und in conf geändert , sowie eine userpass txt erstellt sowie in der geänderten conf dieses verlinkt mit dem text
auth-user-pass /etc/openvpn/userpass.txt
das dann alles per ftp auf die box und neustart , aber es tut sich nichts, er tut rein garnichts , drücke auf start aber nix passiert
EDIT (zusammengeführt):
versuche die ganze zeit alles und bei telnet kommt immer diese meldung
root@vuzero:~# openvpn --config /etc/openvpn/client.conf
Thu Jun 29 20:11:29 2017 Note: option tun-ipv6 is ignored because modern operating systems do not need special IPv6 tun handling anymore.
Options error: Unrecognized option or missing or extra parameter(s) in /etc/openvpn/client.conf:47: register-dns (2.4.0)
Use --help for more information.
mein dienst ist perfect privacy
EDIT2 (noch mehr zusammengeführt):
root@vuzero:~# openvpn --config /etc/openvpn/client.conf
Thu Jun 29 20:12:17 2017 Note: option tun-ipv6 is ignored because modern operating systems do not need special IPv6 tun handling anymore.
Options error: Unrecognized option or missing or extra parameter(s) in /etc/openvpn/client.conf:47: register-dns (2.4.0)
Use --help for more information.
versuche die ganze zeit alles und bei telnet kommt immer diese meldung
root@vuzero:~# openvpn --config /etc/openvpn/client.conf
Thu Jun 29 20:11:29 2017 Note: option tun-ipv6 is ignored because modern operating systems do not need special IPv6 tun handling anymore.
Options error: Unrecognized option or missing or extra parameter(s) in /etc/openvpn/client.conf:47: register-dns (2.4.0)
Use --help for more information.
mein dienst ist perfect privacy
root@vuzero:~# openvpn --config /etc/openvpn/client.conf
Thu Jun 29 20:11:29 2017 Note: option tun-ipv6 is ignored because modern operating systems do not need special IPv6 tun handling anymore.
Options error: Unrecognized option or missing or extra parameter(s) in /etc/openvpn/client.conf:47: register-dns (2.4.0)
Use --help for more information.
mein dienst ist perfect privacy
root@vuzero:~# openvpn --config /etc/openvpn/client.conf
Thu Jun 29 20:12:17 2017 Note: option tun-ipv6 is ignored because modern operating systems do not need special IPv6 tun handling anymore.
Options error: Unrecognized option or missing or extra parameter(s) in /etc/openvpn/client.conf:47: register-dns (2.4.0)
Use --help for more information.
Thu Jun 29 20:12:17 2017 Note: option tun-ipv6 is ignored because modern operating systems do not need special IPv6 tun handling anymore.
Options error: Unrecognized option or missing or extra parameter(s) in /etc/openvpn/client.conf:47: register-dns (2.4.0)
Use --help for more information.