Network penetration (Raspberry Pi)

Brief introduction

Here using two network service providers within the network through the program:
peanut shells and NATAPP
these two pros and cons to compare

device

Raspberry Pi
cell phone or a pc

What is the internal network through its principles

Network penetration is actually a network proxy service.

If you are a general network, including the deployment of a server, ip this server is allocated by the current local area network router, which means outside the network can not access the intranet through the pi server, you need a technique to solve this problem.

Although the external network can not access the network server, but the server within the network can access the Internet address (as long as the internal network router can connect to internet), it is within the network server can forward the message to a public network ip as a proxy (proxy) forwarding to the client, the client to the server to be a message has also been sent to the server agent.

(Non) Flowers (Canton) Health (report) shell

Installation peanut shells under the Raspberry Pi mainly refer to the official document:
http://service.oray.com/question/2680.html

Using the latest in the network through the client to be careful the next peanut shells, raspberry pie 3.0.3 update start command, the format systemctl xxx phddns, there is not even an official document modifications, What the hell.

NATAPP

Reference document:
https://www.jianshu.com/p/865d2b394466
https://natapp.cn/article/nohup

Configure boot from the start (RSpberryPi): Reference article https://github.com/natapp/natapp_autostart/tree/master/RaspberryPi

  1. In https://natapp.cn official website to download the client. On any given directory and run the executable permissions
sudo chmod a+x yourpath/natapp
  1. Download config.ini placed in the same directory, config configuration instructions, see https://natapp.cn/article/config_ini
    test runs to ensure success
.yourpath/natapp
  1. The startup script placed under /etc/init.d/
    (startup script to download the reference article)

The startup script into the path of DAEMON own NATAPP application resides, others do not change

The script gives permission (the name of the script is natapp)

sudo chmod 755 /etc/init.d/natapp

Init.d start test runs to ensure the successful operation

sudo /etc/init.d/natapp start
  1. Join boot from the start
cd /etc/init.d
sudo update-rc.d natapp defaults 90
  1. Raspberry Pi can restart
Published 61 original articles · won praise 44 · views 60000 +

Guess you like

Origin blog.csdn.net/HUXINY/article/details/101070776