Hallo Zusammen,
ich hab
- auf meinem Raspi2 Xbian laufen
- SSH-Port auf 62345 geändert
- in der /etc/inetd.conf die Zeile
hinzugefügt
- in der /etc/modules die Zeile
hinzugefügt
Wenn ich nun den Raspberry Pi neu starte, kann ich im lokalen Netz mit der IPv4-IP ohne Probleme auf den Raspi zugreifen. Per IPv6 von Außen (PortMapping per feste-ip.net) ist dies nicht möglich. Das liegt wohl daran dass der SSH-Server nach einem Reboot noch nicht auf IPv6 lauscht. Erst wenn ich den InternetDaemon inetd mit
neustarte lauscht dieser auch auf IPv6-Ebene (tcp6), darauf hin funktioniert auch der Zugriff von außen per SSH wie gewollt.
Kurz um.... vor dem Neustart des inetd:
xbian@xbian ~ $ netstat -lntp
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:1191 0.0.0.0:* LISTEN 1121/kodi.bin
tcp 0 0 0.0.0.0:62345 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:9999 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 1121/kodi.bin
tcp 0 0 127.0.0.1:3350 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:1719 0.0.0.0:* LISTEN 1121/kodi.bin
tcp 0 0 0.0.0.0:3389 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN -
tcp6 0 0 :::80 :::* LISTEN -
tcp6 0 0 :::8080 :::* LISTEN 1121/kodi.bin
tcp6 0 0 :::9090 :::* LISTEN 1121/kodi.bin
Alles anzeigen
Nach dem Restart des inetd:
xbian@xbian ~ $ netstat -lntp
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:1191 0.0.0.0:* LISTEN 1121/kodi.bin
tcp 0 0 0.0.0.0:62345 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:9999 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 1121/kodi.bin
tcp 0 0 127.0.0.1:3350 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:1719 0.0.0.0:* LISTEN 1121/kodi.bin
tcp 0 0 0.0.0.0:3389 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN -
tcp6 0 0 :::62345 :::* LISTEN -
tcp6 0 0 :::80 :::* LISTEN -
tcp6 0 0 :::8080 :::* LISTEN 1121/kodi.bin
tcp6 0 0 :::9090 :::* LISTEN 1121/kodi.bin
Alles anzeigen
Könnte mir hierbei jemand unter die Arme greifen und mir erklären wie ich dem SSH-Server bzw. dem InternetDaemon beibringe, dies gleich von Reboot an zu tun??
Grüße,
sashmaaan