Für alle die insbesondere bei Kunden auch mal auf die Anlage mit ETS zugreifen möchten, hier eine kurze Beschreibung, wie man einen VPN Server auf dem realKNX v2 bzw Air (revPi) aktiviert.
Derzeit ist allerdings von uns nur PPTP dokumentiert. (Kaspersky Zitat: « Wenn keine absolut sichere Verbindung erforderlich ist oder wenn keine VPN-Verbindung verfügbar ist, dann ist es besser PPTP mit schwacher Verschlüsselung zu nutzen, als sich gar nicht zu schützen. »)
Ich hoffe ihr kommt mit der englischen Beschreibung zurecht.
realKNX must be connected to the Internet
Install/Activate PPTP VPN Server:
Enable network forwarding:
Do one of the following steps to direct the communication from your router to the realKNX VPN Server:
Derzeit ist allerdings von uns nur PPTP dokumentiert. (Kaspersky Zitat: « Wenn keine absolut sichere Verbindung erforderlich ist oder wenn keine VPN-Verbindung verfügbar ist, dann ist es besser PPTP mit schwacher Verschlüsselung zu nutzen, als sich gar nicht zu schützen. »)
Ich hoffe ihr kommt mit der englischen Beschreibung zurecht.
realKNX must be connected to the Internet
Install/Activate PPTP VPN Server:
- connect to Webmin (port 10000) and log in (credentials on sticker)
- go to "Un-used Modules" section
- select "PPTP VPN Server"
- select "Others" | "Command Shell"
- enter the following command: "sudo apt-get install pptpd -y" and press enter
- wait until the installation to complete (less than one minute)
- switch back to "Un-used Modules" | "PPTP VPN Server"
- click on "PPTP Server Options"
- fill the slot "IP addresses for server end of connection" with the IP address of your realKNX Server (example: 192.168.1.45)
- fill the slot "IP addresses to allocate to clients" with a range of unallocated IP addresses on your network (example: 192.168.1.100-200)
- save this configuration, you should be redirected to PPTP VPN Server module main page
- click on "PPP Accounts"
- click on "create new PPP Account"
- fill the slot "Username"
- set a password by selecting "Set to" and filling the corresponding slot
- save this account
- go to PPTP VPN Server module main page
- click on "Apply Configuration"
Enable network forwarding:
- select to "Others" | "File Manager"
- locate the file "sysctl.conf" in "/etc/" directory
- click on the "Edit" icon
- remove the "#" before "net.ipv4.ip_forward = 1"
- save the file and quit the editor
- select "Others" | "command Shell"
- enter the following command to apply the change: "sudo sysctl-p" and press enter
Do one of the following steps to direct the communication from your router to the realKNX VPN Server:
- in your router configuration, create a port redirection. All the incoming traffic on port TCP 1723 should be redirected to your VPN server (assign its local IP address, example: 192.168.1.45) on port 1723.
- alternatively to port redirection, create a DMZ in order to redirect all incoming traffic to your realKNX VPN server (give its local IP address, example: 192.168.1.45)
Kommentar