Active today
Viewed 29 times
  • Hi I want to control my Raspberry Pi from a long distance not using Wi-Fi and be able to send my data to it and receive data from it distance could be like 12 kilometres for more than it and and if possible w.hat is the cheapest way to do it
 New contributor

You can connect the Raspberry Pi with an ethernet cable to an internet router and then use OpenVPN to communicate with it.

  • I don’t know Open VPN, so I wikied and made a summary: (1) () Open-source (GPL) commercial, using VPN to create point-to-point or site-to-site connect in routed or bridged configurations and remote access facilities, () Available in Linux, macOS and Windows, Windows Mobile, iOS, Android, () Uses SSL (256bit)/TLS (rather than IKE, IPsec, L2TP or PPTP) for key exchange () , / to continue, … – tlfong01 10 mins ago
  • (2) () Capable of traversing NAT, () Allows peers to authenticate each other using pre-shared secret keys, certificates or username/password () Uses OpenSSL, can setup HMAC Firewall, Support mbed TLS, () Supports IPv6 VPN inside tunnel, () Can work through most proxy servers (including HTTP), () Good at working through network address translation (NAT) and getting out through firewalls, (*) Server can push configuration options to the clients, including IP addresses, routing commands, / to continue, … – tlfong01 8 mins ago
  • (3) () Offers networking interfaces with universal TUN/TAP driver, () Can create layer-3 based IP tunnel (TUN), or layer-2 based Ethernet TAP that can carry any type of Ethernet traffic, () Can compress data stream using LZO, () Use IANA assigned port 1194, () Uses TCP and UDP, desirable alternative to IPsec in situations where an ISP may block specific VPN protocols, () When using TCP tunnel, performance might be bad if un-tunneled link bad, causing TCP meltdown, (*) Runs in userspace instead of requiring IP stack (kernel) operation, / to continue, … – tlfong01 7 mins ago
  • (4) () Able to drop root privileges, prevent swapping sensitive data to disk, enter a chroot jail after initialization. () Spport PKCS11-based cryptographic tokens smart cards. My conclusion is that OpenVPN is good for me, for the following reasons: GPL, Windows/Linux/Android/PKC11 smart card OK, can jail break firewalls, proxies. I am a hobbyist doing Micky Mouse projects, So I don’t card about security, but using OpenVPN can le me show off weird names I don’t understand: VPN, NAT, TLS, LZO, HMAC, TUN, TAP, IANA, … – tlfong01 just now   Edit

Categories: Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: