KR20140029999A - The internal server to be able to connect to internal device from outside of internet line sharer - Google Patents

The internal server to be able to connect to internal device from outside of internet line sharer Download PDF

Info

Publication number
KR20140029999A
KR20140029999A KR1020120096836A KR20120096836A KR20140029999A KR 20140029999 A KR20140029999 A KR 20140029999A KR 1020120096836 A KR1020120096836 A KR 1020120096836A KR 20120096836 A KR20120096836 A KR 20120096836A KR 20140029999 A KR20140029999 A KR 20140029999A
Authority
KR
South Korea
Prior art keywords
router
internal
server
external
port number
Prior art date
Application number
KR1020120096836A
Other languages
Korean (ko)
Inventor
종 진 임
Original Assignee
종 진 임
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 종 진 임 filed Critical 종 진 임
Priority to KR1020120096836A priority Critical patent/KR20140029999A/en
Priority to PCT/KR2013/007853 priority patent/WO2014035193A1/en
Priority to CN201380056440.2A priority patent/CN104756457A/en
Publication of KR20140029999A publication Critical patent/KR20140029999A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/2514Translation of Internet protocol [IP] addresses between local and global IP addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5076Update or notification mechanisms, e.g. DynDNS

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

A router is a significantly superior device in that the router not only solves a problem of a lack authorized IP, but also allows several PCs or several devices to access an external device through one authorized IP. However, in the router, the Internet access from a device within a coverage of the router to a device out of the coverage of the router is freely performed, but the access to the device within the coverage from the device out of the coverage of the router is difficult. In the case of the access to a specific port number of the router from the device out of the coverage of the router, even the device out of the coverage of the router can access the device within the coverage of the router because there is a port forwarding function for connection to a specific port number of a device having a specific IP address. However, a port number of the router, an IP address of an internal device, and a port number of the internal device have to be fixedly set, but it is difficult to previously set the above information because most routers dynamically allocate IP addresses by using a DHCP function of the router. According to the present invention, an additional server is provided within the coverage of the router, so that the access to the device within the coverage of the router is possible. According to the present invention, a device out of the coverage of the router can access a specific device within the coverage of the router. [Reference numerals] (1) Control unit; (2) External connector; (3) Internal connector; (AA) Internet; (BB) Router; (CC) Internal computer

Description

공유기 외부로부터 내부 기기 접속을 위한 내부 서버 {The internal server to be able to connect to internal device from outside of internet line sharer}The internal server to be able to connect to internal device from outside of internet line sharer}

인터넷, 공유기, 포트포워딩 기술, 릴레이
Internet, Router, Port Forwarding Technology, Relay

인터넷 공유기는 부족한 공인 IP를 해결해 줄 뿐만 아니라 여러 대의 PC나 기기들을 하나의 공인 IP를 통해 외부에 접속할 수 있는 매우 유용한 장치이다.
A router is a very useful device that not only solves the lack of public IP but also allows multiple PCs or devices to be connected to the outside through a single public IP.

인터넷 공유기는 공유기 내부에서 외부로의 인터넷 접속은 자유롭지만 외부에서 공유기 내부에 있는 기기로 접속하는 것은 어렵다.The router is free to access the internet from the inside of the router to the outside, but it is difficult to connect to the devices inside the router from the outside.

외부로부터 공유기의 특정 포트번호로 접속하면 공유기 내부의 특정 IP를 갖는 장치의 특정 포트번호로 연결되는 포트포워딩이라는 기능이 공유기에 있어 공유기 외부에서도 내부에 있는 장치로 접속할 수 있다.When the router is connected to a specific port number of the router from the outside, the port forwarding function connects to a specific port number of a device having a specific IP inside the router.

그러나 대부분 공유기의 DHCP 기능을 이용하여 동적으로 IP 주소를 할당하기 때문에 미리 설정하기 어렵다.
However, it is difficult to set in advance because most routers dynamically assign IP addresses using the DHCP function of the router.

본 발명은 외부에서 공유기 내부에 있는 기기에 접속할 수 있도록 하는 공유기 내부에 존재하는 서버 장치이다.
The present invention is a server device existing inside the router that allows to connect to the device inside the router from the outside.

본 발명에 의하면 DHCP를 사용할 때에도 본 발명에 의한 서버가 자동으로 내부 기기를 찾아서 연결해 주기 때문에 공유기 내부 기기의 정보와 공유기의 IP주소, 포트포워딩 포트번호를 알면 외부에서도 자유롭게 공유기 내부에 있는 특정 기기에 접속할 수 있다.According to the present invention, even when using DHCP, the server according to the present invention automatically finds and connects with the internal device. I can connect it.

공유기 외부에 있는 공인 IP주소를 갖는 서버와 본 발명에 의한 서버를 사용하면 별도의 수작업 없이도 외부에서 자동으로 원하는 내부 컴퓨터에 접속할 수 있다.By using a server having a public IP address outside the router and the server according to the present invention, it is possible to automatically access a desired internal computer from the outside without any manual work.

또한 내부 컴퓨터와 외부 서버가 항상 연결되어 있는 상태가 아니고 필요할 때만 연결되며, 본 발명에 의한 내부 서버를 통해 데이터를 주고 받기 때문에 외부 서버의 부하도 거의 없다.
In addition, the internal computer and the external server is not always connected, but is connected only when necessary, and there is almost no load on the external server because data is transmitted and received through the internal server according to the present invention.

도1은 본 발명에 따른 내부 서버의 동작 순서를 보여주는 흐름도이다.
도1은 본 발명에 따른 내부 서버를 사용하는 시스템 구성도이다.
1 is a flowchart showing an operation sequence of an internal server according to the present invention.
1 is a system configuration diagram using an internal server according to the present invention.

먼저 다음과 같이 용어를 정의한다.First, the terms are defined as follows.

공유기 : 인터넷 공유기Router: Internet Router

내부 컴퓨터 : 공유기 내부에 존재하는 사설 IP주소를 갖는 컴퓨터Internal computer: Computer with private IP address existing in router

외부 컴퓨터 : 공유기 외부에 존재하는 컴퓨터External computer: A computer that exists outside the router

내부 서버 : 공유기 내부에 존재하는 사설 IP주소를 갖는 서버Internal server: Server with private IP address existing in router

외부 서버 : 공유기 외부에 존재하는 공인 IP주소를 갖는 서버
External Server: Server with public IP address that exists outside router

본 컴퓨터는 외부 연결부, 내부 연결부와 양쪽을 연결하는 연결부로 구성된다.The computer consists of an external connection, an internal connection and a connection connecting both.

외부 연결부는 공유기의 포트포워딩 기능을 이용하여 외부 인터넷에 직접 연결이 가능한 부분이다.The external connection is a part that can directly connect to the external Internet using the port forwarding function of the router.

내부 연결부는 공유기를 통해 내부에 있는 컴퓨터들과 연결하는 부분이다.The internal connector is the part that connects to the computers inside the router.

물론 외부 연결부와 내부 연결부가 물리적으로 따로 존재하는 것이 아니라 하나의 랜선을 통해 공유기와 연결된다.Of course, the external and internal connections are not physically separate, but are connected to the router via a single LAN.

제어부는 다음과 같은 역할을 한다.The controller plays the following roles.

내부 연결부를 통해 내부 컴퓨터가 자신의 ID 정보와 자신에게 접속할 포트번호를 전송할 경우 전송된 ID 정보, 접속한 내부 컴퓨터의 사설 IP주소, 전송된 포트번호를 저장한다.When the internal computer transmits its ID information and port number to access itself through the internal connection, it stores the transmitted ID information, the private IP address of the connected internal computer, and the transmitted port number.

외부 컴퓨터에서 공유기를 통해 접속하고 연결하고자 하는 내부 컴퓨터의 IP주소와 포트번호를 전송하면 해당하는 내부 컴퓨터의 해당 포트번호로 접속한다.When the external computer connects through the router and sends the IP address and port number of the internal computer to be connected, it connects to the corresponding port number of the corresponding internal computer.

외부 컴퓨터에서 공유기를 통해 접속하고 연결하고자 하는 내부 컴퓨터의 ID 정보를 전송하면 저장된 데이터로부터 해당하는 IP주소와 포트번호를 검색하여 해당하는 내부 컴퓨터의 해당 포트번호로 접속한다.When an external computer connects through a router and transmits ID information of the internal computer to be connected, it searches for a corresponding IP address and port number from the stored data and connects to the corresponding port number of the corresponding internal computer.

이후 연결부는 내부 컴퓨터로부터의 데이터를 외부 컴퓨터로 전송하고 외부 컴퓨터로부터의 데이터를 내부 컴퓨터로 전송하는 릴레이 역할을 한다.
The connection unit then serves as a relay for transferring data from the internal computer to the external computer and transferring data from the external computer to the internal computer.

본 발명을 컴퓨터 간의 연결을 예로 들어 자세하게 설명하겠다.
The present invention will be described in detail by taking the connection between computers as an example.

먼저 서버는 DHCP가 아닌 고정 IP주소를 할당하고 공유기의 포트포워딩 기능을 이용하여 특정 포트로 접속할 경우 서버로 연결하도록 설정한다.
First, the server assigns a fixed IP address, not DHCP, and sets up to connect to the server when connecting to a specific port using the router's port forwarding function.

본 발명을 구현하는 방법은 여러 가지 방법이 있을 수 있다.There may be a number of ways to implement the invention.

우선 다음과 같이 외부 서버와 외부 컴퓨터에는 자신의 IP주소와 포트번호를 공개하지 않고 내부 서버에만 공개할 수 있다.
First of all, you can publish only to internal server without revealing its IP address and port number to external server and external computer as follows.

제 1단계, 내부 컴퓨터는 내부 서버에 접속하여 자신을 식별할 수 있는 ID 정보, 자신에게 접속할 때 사용할 포트번호를 전송하고, 내부 서버는 자신에게 접속한 내부 컴퓨터의 사설 IP주소와 전송된 정보를 저장한다.
In the first step, the internal computer transmits ID information to identify itself by accessing the internal server and a port number used to access itself, and the internal server transmits the private IP address and transmitted information of the internal computer connected to itself. Save it.

제 2단계, 내부 컴퓨터 또는 내부 서버가 외부 서버에 접속하여 내부 컴퓨터를 식별할 수 있는 ID 정보, 공유기의 포트포워딩 포트번호를 전송하고, 외부 서버는 자신에게 접속한 공유기의 공인 IP주소와 전송된 정보를 저장한다.
In the second step, the internal computer or the internal server transmits ID information for identifying the internal computer by connecting to the external server, the port forwarding port number of the router, and the external server is transmitted with the public IP address of the router connected to the external server. Save the information.

제 3단계, 외부 컴퓨터는 외부 서버에 접속하여 연결하고자 하는 컴퓨터의 ID를 전송하고 외부 서버는 ID 정보로부터 공유기의 IP주소, 포트포워딩 포트번호를 리턴한다.
In the third step, the external computer connects to the external server and transmits the ID of the computer to be connected, and the external server returns the router's IP address and port forwarding port number from the ID information.

제 4단계, 외부 컴퓨터가 리턴 받은 공유기의 IP주소와 포트포워딩 포트번호로 접속하면 공유기의 포트포워딩 기능에 의해 내부 서버로 접속한다.
Step 4, when the external computer accesses the returned router's IP address and port forwarding port number, the router connects to the internal server by the router's port forwarding function.

제 5단계, 외부 컴퓨터는 연결하고자 하는 컴퓨터의 ID정보를 내부 서버에 전송하고 내부 서버는 ID 정보로부터 내부 컴퓨터의 IP주소와 포트번호를 검색하고 내부 컴퓨터에 연결한다.
Step 5, the external computer transmits ID information of the computer to be connected to the internal server, and the internal server retrieves the IP address and port number of the internal computer from the ID information and connects to the internal computer.

제 6단계, 내부 서버는 양쪽의 데이터를 서로 전송하는 릴레이 서버로 동작한다.
In the sixth step, the internal server operates as a relay server that transmits data of both sides.

두번째는 다음과 같이 외부 서버와 외부 컴퓨터에는 자신의 IP주소와 포트번호를 공개할 수 있다.
Second, you can reveal your IP address and port number to external servers and computers as follows.

제 1단계, 내부 컴퓨터는 외부 서버에 접속하여 자신을 식별할 수 있는 ID 정보, 공유기의 포트포워딩 포트번호, 자신의 사설 IP주소, 자신에게 접속할 때 사용할 포트번호를 전송하고, 외부 서버는 자신에게 접속한 공유기의 공인 IP주소와 전송된 정보를 저장한다.
In the first step, the internal computer transmits ID information to identify itself by accessing an external server, port forwarding port number of the router, its own private IP address, and a port number used to access itself, and the external server sends it to itself. Store the public IP address of the connected router and the transmitted information.

제 2단계, 외부 컴퓨터는 외부 서버에 접속하여 연결하고자 하는 컴퓨터의 ID를 전송하고 외부 서버는 ID 정보로부터 공유기의 IP주소, 포트포워딩 포트번호, 연결할 내부 컴퓨터의 IP주소와 포트번호를 리턴한다.
In the second step, the external computer accesses the external server and transmits the ID of the computer to be connected. The external server returns the router's IP address, port forwarding port number, IP address and port number of the internal computer to be connected from the ID information.

제 3단계, 외부 컴퓨터가 리턴 받은 공유기의 IP주소와 포트포워딩 포트번호로 접속하면 공유기의 포트포워딩 기능에 의해 내부 서버로 접속한다.
In the third step, when the external computer accesses the returned router's IP address and port forwarding port number, it connects to the internal server by the router's port forwarding function.

제 4단계, 외부 컴퓨터는 연결하고자 하는 컴퓨터의 IP주소와 포트번호를 내부 서버에 전송하고 내부 서버는 내부 컴퓨터에 연결한다.
Step 4, the external computer transmits the IP address and port number of the computer to be connected to the internal server, and the internal server connects to the internal computer.

제 5단계, 내부 서버는 양쪽의 데이터를 서로 전송하는 릴레이 서버로 동작한다.
In the fifth step, the internal server acts as a relay server that transmits both data to each other.

본 기능을 공유기와 일체로 만들 수도 있다.
You can make this function integrated with your router.

본 설명은 발명의 한 실시 예이며, 다양한 개조가 가능하다.
The description is an embodiment of the invention, and various modifications are possible.

1: 제어부, 2: 외부 연결부, 3: 내부 연결부1: control unit, 2: external connection, 3: internal connection

Claims (4)

인터넷 공유기 내부 망에 존재하고 외부에서 공유기 내부에 있는 지정된 기기로 접속할 수 있도록 하는 기능을 갖는 공유기 내부 서버 장치
The internal server device of the router which exists in the internal network of the router and has the ability to connect to the designated device from the inside of the router from the outside.
1항에 있어
기능적으로
외부 인터넷에 연결하는 외부 연결부;
내부 기기와 연결하는 내부 연결부;
외부 연결부를 통해 외부로부터의 요청 시 내부 연결부를 통해 내부 기기에 연결하고, 양쪽의 데이터를 상대방에게 전달하는 제어부;
로 구성됨을 특징으로 하는 공유기 내부 서버 장치
In paragraph 1
Functionally
An external connection for connecting to the external Internet;
An internal connection part for connecting with an internal device;
A control unit which connects to an internal device through an internal connection unit and transmits both data to a counterpart upon request from the outside through an external connection unit;
Router internal server device, characterized in that consisting of
1항에 있어
내부 기기가 내부 서버에 접속하여 자신을 식별할 수 있는 ID 정보와 자신에게 접속할 때 사용할 포트번호를 전송하면 내부 서버는 ID 정보와 접속한 내부 기기의 IP주소, 전송된 포트번호를 저장하는 1단계;
내부 기기 또는 내부 서버가 외부 서버에 접속하여 내부 기기를 식별할 수 있는 ID 정보와 공유기의 포트포워딩 포트번호를 전송하면 외부 서버가 ID 정보와 접속한 공유의 공인 IP주소, 전송된 포트번호를 2단계;
외부 기기가 외부 서버에 접속하여 ID를 전송하고, 외부 서버는 ID 정보로부터 공유기의 IP주소와 포트번호를 리턴하는 3단계;
외부 기기가 리턴받은 IP주소와 포트번호로 접속하면 공유기를 거쳐 내부 서버로 연결하는 4단계;
외부 기기가 내부 서버에 ID 정보를 전송하면 내부 서버는 ID 정보로부터 내부 기기의 IP주소와 포트번호로 접속하는 5단계;
이후 내부 서버는 양쪽의 데이터를 서로 전달하는 릴레이 서버로 동작하는 6단계;
로 동작함을 특징으로 하는 공유기 내부 서버 장치
In paragraph 1
When the internal device sends the ID information to identify itself by connecting to the internal server and the port number to use when accessing itself, the internal server stores the ID information, the IP address of the connected internal device, and the transmitted port number. ;
When the internal device or internal server sends ID information to identify the internal device by connecting to the external server and the port forwarding port number of the router, the external server sends the ID information, the public IP address of the shared connection, and the transmitted port number. step;
An external device accesses an external server and transmits an ID, and the external server returns an IP address and a port number of the router from the ID information;
Connecting to an internal server via a router when the external device accesses the returned IP address and port number;
If the external device transmits the ID information to the internal server, the internal server accesses the IP address and port number of the internal device from the ID information;
Thereafter, the internal server acts as a relay server for transferring both data to each other step 6;
Router internal server device, characterized in that the operation
1항에 있어
내부 기기가 외부 서버에 접속하여 자신을 식별할 수 있는 ID정보와 공유기의 포트포워딩 포트번호, 자신의 사설 IP주소와 자신에게 접속할 때 사용할 포트번호를 전송하면 외부 서버가 접속한 공유기의 공인 IP주소와 전송된 정보를 저장하는 1단계;
외부 기기가 외부 서버에 접속하여 ID를 전송하고, 외부 서버는 ID 정보로부터 공유기의 IP주소와 포트번호, 내부 기기의 IP주소와 포트번호를 리턴하는 2단계;
외부 기기가 리턴받은 공유기 IP주소와 포트번호로 접속하면 공유기를 거쳐 내부 서버로 연결하는 3단계;
외부 기기가 내부 서버에 접속할 내부 기기의 IP주소와 포트번호를 전송하면 내부 서버는 해당하는 내부 기기로 접속하는 4단계;
이후 내부 서버는 양쪽의 데이터를 서로 전달하는 릴레이 서버로 동작하는 5단계;
로 동작함을 특징으로 하는 공유기 내부 서버 장치
In paragraph 1
If the internal device sends ID information to identify itself by accessing the external server, port forwarding port number of the router, its own private IP address and port number to use for accessing itself, the public IP address of the router connected to the external server. Storing the transmitted information with the first step;
An external device accesses an external server and transmits an ID, and the external server returns from the ID information the IP address and port number of the router and the IP address and port number of the internal device;
Connecting to the internal server via the router when the external device accesses the returned router IP address and port number;
Step 4, when the external device sends the IP address and port number of the internal device to access the internal server, the internal server is connected to the corresponding internal device;
Thereafter, the internal server acts as a relay server for transferring both data to each other;
Router internal server device, characterized in that the operation
KR1020120096836A 2012-08-30 2012-08-31 The internal server to be able to connect to internal device from outside of internet line sharer KR20140029999A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
KR1020120096836A KR20140029999A (en) 2012-08-31 2012-08-31 The internal server to be able to connect to internal device from outside of internet line sharer
PCT/KR2013/007853 WO2014035193A1 (en) 2012-08-30 2013-08-30 Internet sharing device having dynamic port forwarding function
CN201380056440.2A CN104756457A (en) 2012-08-30 2013-08-30 Internet sharing device having dynamic port forwarding function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020120096836A KR20140029999A (en) 2012-08-31 2012-08-31 The internal server to be able to connect to internal device from outside of internet line sharer

Publications (1)

Publication Number Publication Date
KR20140029999A true KR20140029999A (en) 2014-03-11

Family

ID=50642762

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020120096836A KR20140029999A (en) 2012-08-30 2012-08-31 The internal server to be able to connect to internal device from outside of internet line sharer

Country Status (1)

Country Link
KR (1) KR20140029999A (en)

Similar Documents

Publication Publication Date Title
US11665205B2 (en) Location services on a data exchange layer
CN109451084B (en) Service access method and device
US8429304B2 (en) Information processing apparatus and communication control method
US20200007508A1 (en) On premises, remotely managed, host computers for virtual desktops
JP4487150B2 (en) Communication apparatus, firewall control method, and firewall control program
US9350608B2 (en) Method and system for using virtual tunnel end-point registration and virtual network identifiers to manage virtual extensible local area network access
CN106533890B (en) Message processing method, device and system
US20110110377A1 (en) Employing Overlays for Securing Connections Across Networks
US20150058473A1 (en) Network address mapping to nearby location identification
US20140351413A1 (en) Selecting between domain name system servers of a plurality of networks
US9560016B2 (en) Supporting IP address overlapping among different virtual networks
WO2016202269A3 (en) Data packet forwarding
EP2745474A1 (en) Virtualization gateway between virtualized and non-virtualized networks
US7512138B2 (en) Device. system, and method for automatically determining an appropriate LAN IP address range in a multi-router network environment
CN103237092A (en) Method and device for accessing private network hard disk video recorder
US20090292796A1 (en) Method and device for providing routing policies to user terminals according to applications executed on user terminals
TW201514719A (en) System and method for managing servers of data center
KR20140029999A (en) The internal server to be able to connect to internal device from outside of internet line sharer
US20130282923A1 (en) Managing overlapping address domains
US11108735B2 (en) Mapping subnets in different virtual networks using private address space
KR20140029878A (en) The internet line sharer with port forwarding dynamically
KR20140029998A (en) The internet line sharer with port forwarding dynamically
JP2016507968A5 (en)
WO2015057213A1 (en) Reflecting mdns packets
KR102409272B1 (en) Method for sharing public ip based on communication taget ip in virtual platform enviroment and host device thereof

Legal Events

Date Code Title Description
WITN Application deemed withdrawn, e.g. because no request for examination was filed or no examination fee was paid