当前位置:网站首页>Simple Gateway - intranet server safely obtains external network data
Simple Gateway - intranet server safely obtains external network data
2022-07-24 07:37:00 【lihaMIMI】
Many units in order to prevent hacker intrusion , An independent internal local area network has been established , And the internal network is physically isolated from the external network . But in practice , Many times, the intranet server needs to connect to the Internet regularly to obtain or synchronize data . If you do it every time U Disk copy or manual plugging network , Very time-consuming and laborious . The cost of buying the net gate is too high , And the configuration is very troublesome . Recently found a simple device , It's easy to solve this problem .
Pictured , Use a belt directly SDK The network switcher of secondary development can .

Switch the network switch USB mouth ( Power supply + control ) Connect to service USB mouth , Installation manufacturer CH340 The driver . Then connect the network port of the switch computer to the network card of the server 2, Server network card 1 Connect the intranet core switch . The network card of the server 2 Configure as Internet IP.
Connect the external network port of the network switch to the external network router with a network cable .
At this time, press the supporting remote control to realize the connection and disconnection between the server and the external network .
Install the supporting software , Enter the software timing setting interface , Set up regular switching to the Internet , Then switch to the intranet regularly .

The following is wireless remote control - Network switcher serial port development protocol , If there are special needs , If the data synchronization is completed, disconnect the external network immediately , You can use it yourself VB Or other languages to write a timing control software :
1、 Serial port baud rate :115200, No verification ,8 Digit bit ,1 Bit stop bit .VB demonstration :MSComm1.Settings = "115200,n,8,1";
2、 Single character command set :
Send characters 1 , Device return ZT=1 , Give a cry , The device switches to the external network , Red light .
Send characters 2, Device return ZT=2 , Call twice , Switch the device to the intranet , Bright blue light .
Send characters 4, The equipment circulates between the internal and external networks .
Send characters 5, Device return BP=0, The buzzer is off , No more beeping when switching .
Send characters 6, Device return BP=1, Buzzer on , Beep when switching .
Send characters 7, Device return CLOK , The device clears the bound remote control button , At this time, the remote control board will fail , You need to rebind to use .
3、 Remote control code matching instruction :
Press the key on the remote control board A, Device return RV+ Key code , Such as RVDD0928, Send... At this time D1+ Key code , Such as D1DD0928, Then bind the key to the Internet .
Press the key on the remote control board B, Device return RV+ Key code , Such as RVDD0924, Send... At this time D2+ Key code , Such as D1DD0924, Then bind the keys to the intranet .
Be careful D1 and D2 The key code behind the command is insufficient 6 position , Add in front. 0 A filling .
4、 There is no need to add end line feed and carriage return when sending instructions , Just send characters .
We just need to use 2 A simple command 1 and 2 that will do , That is, it's time to turn on , Send a character to the switcher through the serial port 1, The switcher will connect to the external network of the server , Wait until the data synchronization is completed , Send another character 2, You can disconnect the external network .
边栏推荐
- [leetcode] 11. Container with the most water - go language solution
- Harbor2.2 用户角色权限速查
- Requests crawler multi page crawling to KFC restaurant location
- Jenkins 详细部署
- Kali安装pip以及pip换源
- Introduction to C language I. branch and loop statements
- Reptile learning - Overview
- Log in to the server using the fortress machine (springboard machine)
- A great hymn
- 【sklearn】PCA
猜你喜欢

JS的DOM操作——style的操作

Feature Selective Anchor-Free Module for Single-Shot Object Detection

Reptile learning - Overview

【Pytorch】Dataset_ DataLoader

Feature Selective Anchor-Free Module for Single-Shot Object Detection

Kali installing PIP and pip source changing

PHP escape string

Game three piece chess

Mitre att & CK ultra detailed learning notes-02 (a large number of cases)

Influxdb unauthorized access & CouchDB permission bypass
随机推荐
Introduction to C language II. Functions
numpy.inf
R language handwritten numeral recognition
cloud的版本升级
numpy.arange
C语言文件操作
Arduino 超级省电之休眠模式用1节18650电池工作17年
Induction, generalization, deduction
Bookkeeping app: xiaoha bookkeeping 2 - production of registration page
Log in to the server using the fortress machine (springboard machine)
Jenkins detailed deployment
Mutual implementation of stack and queue (c)
Deep learning two or three things - review those classical convolutional neural networks
Advanced part of C language VI. file operation
DOM operation of JS -- style operation
MITRE ATT&CK超详细学习笔记-02(大量案例)
[FreeRTOS] 11 software timer
fopen、fwrite、fseek、ftell、fread使用demo
Li Kou, niuke.com - > linked list related topics (Article 1) (C language)
requests-爬虫多页爬取肯德基餐厅位置