CN106790764A - A kind of method and system based on outer net port locations IP address of internal network - Google Patents

A kind of method and system based on outer net port locations IP address of internal network Download PDF

Info

Publication number
CN106790764A
CN106790764A CN201710059268.6A CN201710059268A CN106790764A CN 106790764 A CN106790764 A CN 106790764A CN 201710059268 A CN201710059268 A CN 201710059268A CN 106790764 A CN106790764 A CN 106790764A
Authority
CN
China
Prior art keywords
outer net
address
internal network
port
net port
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201710059268.6A
Other languages
Chinese (zh)
Inventor
刘开杰
谭家强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Agile Information Technology Co Ltd
Original Assignee
Guangzhou Agile Information Technology Co Ltd
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 Guangzhou Agile Information Technology Co Ltd filed Critical Guangzhou Agile Information Technology Co Ltd
Priority to CN201710059268.6A priority Critical patent/CN106790764A/en
Publication of CN106790764A publication Critical patent/CN106790764A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/2521Translation architectures other than single NAT servers
    • H04L61/2535Multiple local networks, e.g. resolving potential IP address conflicts
    • 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/5038Address allocation for local use, e.g. in LAN or USB networks, or in a controller area network [CAN]
    • 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/5061Pools of addresses

Landscapes

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

Abstract

The present invention relates to a kind of method based on outer net port locations IP address of internal network, including:The corresponding configurations of outer net IP address are obtained, the configurations include IP address of internal network, the number m of the number n, outer net port and the outer net port of the IP address of internal network;By m, the outer net port is divided into n parts, obtains the corresponding relation between the IP address of internal network and the outer net port and preserves, wherein, m and n is positive integer, and m is more than n;When internet account access outer net has been detected, access log is obtained from the outer net, the access log includes outer net IP address outer net port corresponding with the outer net IP address;According to above-mentioned access log and above-mentioned corresponding relation, the IP address of internal network corresponding to the corresponding outer net port of the outer net IP address is determined.By carrying out regular matching conversion to the port by network address translation, realization is directly targeted to IP address of internal network to the present invention according to outer net port, and then can trace back to real visitor.

Description

A kind of method and system based on outer net port locations IP address of internal network
Technical field
The present invention relates to communication technical field, more particularly to a kind of method based on outer net port locations IP address of internal network And system.
Background technology
Port multiplexing (Port address Translation, PAT) refers to the source port for changing outgoing packet And carry out port translation, i.e. port address conversion (PAT, PortAddress Translation).Using port multiplexing side Formula, the All hosts of internal network can share a legitimate external IP address, realize the access to Internet, such that it is able to IP address resource is saved to greatest extent.Meanwhile, the All hosts of network internal can be hidden again, it is prevented effectively from from internet Attack.Many public online places (such as dining room) provide free wireless network at present, and usual this kind of scene uses soho grades Wireless router provide network service for customer.And the 82 command Article 8 regulation for being based on country " provides linking Internet clothes The unit of business should be also implemented with following work(in addition to the internet security protection technique measure that this regulation Article 7 specifies is implemented The security protection technology measure of energy:(1) record and retain user's registration information;(2) internal network address and internet are used Network address translation mode provides the user access service, be able to record that and retain Internet address that user uses and Internal network address corresponding relation ".For second point measure, conventional method is to record each meeting of each Internet user Words, data volume is very huge, and operational capability, storage capacity, transmission bandwidth necessarily to the network equipment etc. all bring larger pressure, Cause equipment cost high, the problem for being difficult to promote.
The content of the invention
The present invention provides a kind of method and system based on outer net port locations IP address of internal network, for for soho grades Wireless router so that the conversion of the source port of outgoing packet mapping is regular to follow, and realizes being changed each time without record Process, you can the real visitor for learning outer net.
The technical scheme that the present invention solves above-mentioned technical problem is as follows:It is a kind of based on outer net port locations IP address of internal network Method, including:
Step 1, obtain the corresponding configurations of outer net IP address, the configurations include IP address of internal network, it is described in The number m of the number n, outer net port and the outer net port of net IP address;
Step 2, m outer net ports are divided into n parts, obtained between the IP address of internal network and the outer net port Corresponding relation is simultaneously preserved, wherein, m and n is positive integer, and m is more than n;
Step 3, when having detected internet account and having accessed outer net, obtain access log, the access day from the outer net Will includes outer net IP address and the corresponding outer net port of the outer net IP address;
Step 4, according to the access log and the corresponding relation, determine the corresponding outer net port of the outer net IP address Corresponding IP address of internal network.
The beneficial effects of the invention are as follows:This method is according to the corresponding IP address of internal network of outer net IP address, IP address of internal network The number of number, outer net port and outer net port, each IP address of internal network is averagely allocated to by outer net port, obtains outer net IP ground The corresponding IP address of internal network in location and the corresponding relation of outer net port.Further, since when user accesses outer net, outer net IP address letter Breath and outer net port information can be what is obtained.Therefore, outer net IP address information and outer net port information can be based on, according to right IP address of internal network and the internet account that can obtain that user uses should be related to.The method need not record each Internet user's Each session, it is to avoid data volume is very huge and operational capability, storage capacity, transmission bandwidth to the network equipment etc. brings The problem of larger pressure, realizes that the conversion between IP address of internal network and outer net port is regular to follow so that review outer net The process cost of real visitor is low, easy popularization.
On the basis of above-mentioned technical proposal, the present invention can also do following improvement.
Further, also include:
Step 5, when having detected internet account and having accessed outer net, receive that radius servers send including internet account With the field of IP address of internal network;
Step 6, the IP address of internal network according to determination in the field and the step 4, determine the Intranet IP ground The corresponding internet account in location.
Further beneficial effect is the present invention:According to the online that the inside and outside IP address and radius servers for obtaining send The field of account and IP address of internal network, can further release using the internet account of the inside and outside IP address, and then can lock visitor Family, facilitates supervision of the relevant departments such as police to network environment.
Further, the step 2 includes:
Step 2.1, m outer net ports are encoded;
Step 2.2, the size order according to coding, n parts is divided into by the m outer net port;
Step 2.3, give the n IP address of internal network by the n parts of outer net port assignment, obtain the IP address of internal network with Corresponding relation between the outer net port;
Step 2.4, the corresponding relation is saved in the corresponding mapping table of the outer net IP address.
Further, the step 4 includes:
Step 4.1, according to the access log, obtain the corresponding outer net end of outer net IP address and the outer net IP addresses Mouthful;
Step 4.2, the corresponding mapping table of the inquiry outer net IP address;
Step 4.3, according to the corresponding outer net port of the outer net IP address and the outer net IP address it is corresponding mapping close It is table, obtains the IP address of internal network corresponding to the corresponding outer net port of the outer net IP address.
Present invention also offers a kind of system based on outer net port locations IP address of internal network, including:
First acquisition module, for obtaining the corresponding configurations of outer net IP address, the configurations include Intranet IP The number m of address, the number n of the IP address of internal network, outer net port and the outer net port;
Processing module, the m outer net port for first acquisition module to be obtained is divided into n parts, obtains described Corresponding relation between IP address of internal network and the outer net port is simultaneously preserved, wherein, m and n is positive integer, and m is more than n;
Second acquisition module, for when internet account access outer net has been detected, access log being obtained from the outer net, The access log includes outer net IP address and the corresponding outer net port of the outer net IP address;
First determining module, for the access log obtained according to second acquisition module and the processing module The corresponding relation for obtaining, determines the IP address of internal network corresponding to the corresponding outer net port of the outer net IP address.
The beneficial effects of the invention are as follows:The corresponding IP address of internal network of outer net IP address, interior is obtained by the first acquisition module The number of net IP address number, outer net port and outer net port, each is averagely allocated to by processing module by outer net port IP address of internal network, obtains the corresponding relation of the corresponding IP address of internal network of outer net IP address and outer net port.Further, since in user When accessing outer net, outer net IP address information and outer net port information can be what is obtained.Therefore, can be believed based on outer net IP address Breath and outer net port information, the corresponding relation obtained according to processing module can obtain the IP address of internal network that user uses and on Net account.The system need not record each session of each Internet user, it is to avoid data volume is very huge and to net Operational capability, storage capacity, transmission bandwidth of network equipment etc. bring the problem of larger pressure, realize IP address of internal network and outer net Conversion between port is regular to follow so that the process cost of reviewing the real visitor of outer net is low, easy popularization.
Further, also include:
Receiver module, for when internet account access outer net has been detected, receiving including for radius servers transmission The field of internet account and IP address of internal network;
Second determining module, determines for the field received according to the receiver module and first determining module The IP address of internal network, determine the corresponding internet account of the IP address of internal network.
Further beneficial effect is the present invention:According to the internet account that the inside and outside IP address and receiver module for obtaining are received With the field of IP address of internal network, can be used to further release using the internet account of the inside and outside IP address, and then visitor can be locked Family, facilitates supervision of the relevant departments such as police to network environment.
Further, the processing module specifically for:
The m outer net port is encoded;According to the size order of coding, the m outer net port is divided into n Part;By the n parts of outer net port assignment to the n IP address of internal network, the IP address of internal network is obtained with the outer net port Between corresponding relation;The corresponding relation is saved in the corresponding mapping table of the outer net IP address.
Further, first determining module specifically for:
According to the access log, outer net IP address and the corresponding outer net port of the outer net IP address are obtained;Inquiry institute State the corresponding mapping table of outer net IP address;According to the corresponding outer net port of the outer net IP address and the outer net IP address Corresponding mapping table, obtains the IP address of internal network corresponding to the corresponding outer net port of the outer net IP address.
Brief description of the drawings
Fig. 1 is that a kind of flow of method based on outer net port locations IP address of internal network provided in an embodiment of the present invention is illustrated Figure;
A kind of flow of method based on outer net port locations IP address of internal network that Fig. 2 is provided for another embodiment of the present invention Schematic diagram;
Fig. 3 is the step 120 and the schematic flow sheet of step 140 in Fig. 1 and/or Fig. 2;
Fig. 4 is a kind of schematic knot of system based on outer net port locations IP address of internal network provided in an embodiment of the present invention Composition;
A kind of signal of system based on outer net port locations IP address of internal network that Fig. 5 is provided for another embodiment of the present invention Property structure chart;
A kind of flow based on the method for IP address inside and outside outer net port locations that Fig. 6 is provided for another embodiment of the present invention Schematic diagram.
Specific embodiment
Principle of the invention and feature are described below in conjunction with accompanying drawing, example is served only for explaining the present invention, and It is non-for limiting the scope of the present invention.
Embodiment one
A kind of method 100 based on outer net port locations IP address of internal network, as shown in figure 1, including:
Step 110, obtains the corresponding configurations of outer net IP address, and the configurations include IP address of internal network, Intranet IP The number m of the number n, outer net port and outer net port of address;
Step 120, n parts is divided into by m outer net port, obtains corresponding relation between IP address of internal network and outer net port simultaneously Preserve, wherein, m and n is positive integer, and m is more than n;
Step 130, when internet account access outer net has been detected, access log, the access log is obtained from the outer net Including outer net IP address outer net port corresponding with the outer net IP address;
Step 140, according to above-mentioned access log and above-mentioned corresponding relation, determines the corresponding outer net port of the outer net IP address Corresponding IP address of internal network.
Alternatively, as one embodiment of the present of invention, as shown in Fig. 2 method 100, including:
Step 110, obtains the corresponding configurations of outer net IP address, and the configurations include IP address of internal network, Intranet IP The number m of the number n, outer net port and outer net port of address;
Step 120, n parts is divided into by m outer net port, obtains corresponding relation between IP address of internal network and outer net port simultaneously Preserve, wherein, m and n is positive integer, and m is more than n;
Step 130, when internet account access outer net has been detected, access log, the access log is obtained from the outer net Including outer net IP address outer net port corresponding with the outer net IP address;
Step 140, according to above-mentioned access log and above-mentioned corresponding relation, determines the corresponding outer net port of the outer net IP address Corresponding IP address of internal network;
Step 150, when having detected internet account and having accessed outer net, receive that radius servers send including online account Number and IP address of internal network field;
Step 160, according to the IP address of internal network determined in the field and step 140, determines that the IP address of internal network is corresponding Internet account.
Specifically, in the above-described embodiments, as shown in figure 3, the step 120 and step 140 in Fig. 1 and/or Fig. 2 are wrapped respectively Include:
Step 121, to m, the outer net port encodes;
Step 122, according to the size order of coding, by m, the outer net port is divided into n parts;
Step 123, by n, especially net port assignment, to n above-mentioned IP address of internal network, obtains IP address of internal network and outer net port Between corresponding relation;
Step 124, the corresponding relation is saved in the corresponding mapping table of outer net IP address.
Step 141, according to above-mentioned access log, obtains outer net IP address and the corresponding outer net port of outer net IP address;
Step 142, inquires about the corresponding mapping table of outer net IP address;
Step 143, according to the corresponding outer net port of outer net IP address mapping table corresponding with the outer net IP address, Obtain the IP address of internal network corresponding to the corresponding outer net port of the outer net IP address.
In addition, it is necessary to illustrate, the method 100 in Fig. 1 and/or Fig. 2 is carried out under NAT business, outer net port Can be used for the port of network address translation (NAT, Network Address Translation).
The embodiment of the present invention also provides a kind of system 200 based on outer net port locations IP address of internal network, as shown in figure 5, Including:
First acquisition module, for obtaining the corresponding configurations of outer net IP address, the configurations include Intranet IP ground Location, the number m of the number n, outer net port and outer net port of IP address of internal network;
Processing module, the m outer net port for the first acquisition module to be obtained is divided into n parts, obtain IP address of internal network with Corresponding relation between outer net port is simultaneously preserved, wherein, m and n is positive integer, and m is more than n;
Second acquisition module, for when internet account access outer net has been detected, access log being obtained from the outer net, should Access log includes outer net IP address and the corresponding outer net port of outer net IP address;
First determining module, access log and above-mentioned processing module for being obtained according to above-mentioned second acquisition module are obtained Corresponding relation, determine the IP address of internal network corresponding to the corresponding outer net port of above-mentioned outer net IP address.
Alternatively, as one embodiment of the present of invention, as shown in fig. 6, system 200, including:
First acquisition module, for obtaining the corresponding configurations of outer net IP address, the configurations include Intranet IP ground Location, the number m of the number n, outer net port and outer net port of IP address of internal network;
Processing module, the m outer net port for the first acquisition module to be obtained is divided into n parts, obtain IP address of internal network with Corresponding relation between outer net port is simultaneously preserved, wherein, m and n is positive integer, and m is more than n;
Second acquisition module, for when internet account access outer net has been detected, access log being obtained from the outer net, should Access log includes outer net IP address and the corresponding outer net port of outer net IP address;
First determining module, access log and above-mentioned processing module for being obtained according to above-mentioned second acquisition module are obtained Corresponding relation, determine the IP address of internal network corresponding to the corresponding outer net port of above-mentioned outer net IP address;
Receiver module, for when internet account access outer net has been detected, receiving including for radius servers transmission The field of internet account and IP address of internal network;
Second determining module, in the field received according to above-mentioned receiver module and the determination of above-mentioned first determining module Net IP address, determines the corresponding internet account of the IP address of internal network.
Specifically, in the above-described embodiments, processing module in Fig. 5 and/or Fig. 6 specifically for:
M outer net port is encoded, according to the size order of coding, m outer net port is divided into n parts, by n parts Outer net port assignment obtains the corresponding relation between IP address of internal network and outer net port to n IP address of internal network, and the correspondence is closed System is saved in the corresponding mapping table of outer net IP address.
First determining module specifically for:
According to above-mentioned access log, outer net IP address and the corresponding outer net port of outer net IP address are obtained, inquire about the outer net The corresponding mapping table of IP address, according to the mapping corresponding with the outer net IP address of the corresponding outer net port of the outer net IP address Relation table, obtains the IP address of internal network corresponding to the corresponding outer net port of the outer net IP address.
A kind of method 300 based on outer net port locations IP address of internal network that another embodiment of the present invention is provided, such as Fig. 6 institutes Show, including:
Step 310, according to telecom operators radius records and DHCP service, obtains outer net IP address 202.116.63.26 with the configurations of 202.116.63.27, its respectively corresponding router have in IP address pond at that time 100 IP address of internal network, wherein, the corresponding IP address of internal network of outer net IP address 202.116.63.26 is respectively: 192.168.1.2,192.168.1.3,192.168.1.4, the like, outer net port range is respectively 10240-60240, altogether 50000 outer net ports, related data such as following table:
Router outer net IP IP enabling times Router installation addresses (choosing is filled out)
202.116.63.26 2016-10-100:00:01 The blue material coffee in Haizhu District south of the River West Road
202.116.63.27 2016-10-200:00:01 The blue material coffee in Haizhu District south of the River West Road
Wherein, the corresponding initial IP address of internal network of outer net IP address 202.116.63.26 is 192.168.1.2, then correspond to IP address pond in IP address of internal network be respectively:192.168.1.2,192.168.1.3,192.168.1.4, the like, Totally 100 IP address of internal network.
50000 outer net ports are divided into 100 parts by step 320, and each IP address of internal network at most takes 500 outer nets The IP address of internal network 192.168.1.2 of port, i.e., first takes 500 outer net ports between 10240-10739, in second Net IP address 192.168.1.3 takes 500 outer net ports between 10740-11240, the like, obtain IP address of internal network With the corresponding relation between outer net port, and it is corresponding that the corresponding relation is saved in into outer net IP address 202.116.63.26 In mapping table;
Step 330, when internet account access outer net has been detected, access log, the access log is obtained from the outer net Content be " 2016-10-1,23:45:05,202.116.63.26:10800,14.215.177.38:80”;
Step 340, knowable to the access log:Outer net IP address is 202.116.63.26 and outer net port is 10800. According to the outer net IP address and step 110, can confirm that to be the router of " the blue material coffee in Haizhu District south of the River West Road ", inquire about this outer The corresponding mapping table of net IP address, according to the outer net port and the mapping table, can confirm that the internet account is being worked as When the IP address of internal network that uses be second IP address of internal network 192.168.1.3.
It should be noted that as shown in figure 5, the method can also include:
Step 350, when having detected internet account and having accessed outer net, receive that radius servers send including online account Number and IP address of internal network field, table specific as follows:
Account Intranet IP Reach the standard grade the moment The offline moment
13570265523 192.168.1.2 2016-10-123:22:17 2016-10-202:11:07
13570264444 192.168.1.3 2016-10-123:22:17 2016-10-202:10:07
13922122714 192.168.1.4 2016-10-123:32:17 2016-10-201:09:06
13320334422 192.168.1.5 2016-10-122:32:17 2016-10-200:32:17
Step 360, according to the IP address of internal network 192.168.1.3 determined in the field and step 410 of step 510, it is determined that The corresponding internet account of the IP address of internal network is 13570264444.
According to the individual of the corresponding IP address of internal network of outer net IP address, IP address of internal network number, outer net port and outer net port Number, each IP address of internal network is averagely allocated to by outer net port, obtains the corresponding IP address of internal network of outer net IP address and outer net The corresponding relation of port, when user accesses outer net, outer net IP address information and outer net port information can be by accessing day Will is obtained.Therefore, outer net IP address information and outer net port information can be based on, be that can obtain what user used according to corresponding relation IP address of internal network and internet account.The method need not record each session of each Internet user, it is to avoid data volume Very huge and operational capability, storage capacity, transmission bandwidth to the network equipment etc. brings the problem of larger pressure, realize in Conversion between net IP address and outer net port is regular to follow so that the process cost of reviewing the real visitor of outer net is low, Easily promote, in addition, the method can lock the client of online, facilitate supervision of the relevant departments such as police to network environment.
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all it is of the invention spirit and Within principle, any modification, equivalent substitution and improvements made etc. should be included within the scope of the present invention.

Claims (8)

1. a kind of method based on outer net port locations IP address of internal network, it is characterised in that including:
Step 1, the corresponding configurations of acquisition outer net IP address, the configurations include IP address of internal network, the Intranet IP The number m of the number n, outer net port and the outer net port of address;
Step 2, m outer net ports are divided into n parts, obtain corresponding between the IP address of internal network and the outer net port Relation is simultaneously preserved, wherein, m and n is positive integer, and m is more than n;
Step 3, when detected internet account access outer net when, from the outer net obtain access log, the access log bag Include outer net IP address and the corresponding outer net port of the outer net IP address;
Step 4, according to the access log and the corresponding relation, determine that the outer net IP address corresponding outer net port institute is right The IP address of internal network answered.
2. a kind of method based on outer net port locations IP address of internal network according to claim 1, it is characterised in that also wrap Include:
Step 5, when having detected internet account and having accessed outer net, receive that radius servers send including internet account and interior The field of net IP address;
Step 6, the IP address of internal network according to determination in the field and the step 4, determine the IP address of internal network pair The internet account answered.
3. a kind of method based on outer net port locations IP address of internal network according to claim 1 and 2, it is characterised in that The step 2 includes:
Step 2.1, m outer net ports are encoded;
Step 2.2, the size order according to coding, n parts is divided into by the m outer net port;
Step 2.3, give the n IP address of internal network by the n parts of outer net port assignment, obtain the IP address of internal network with it is described Corresponding relation between outer net port;
Step 2.4, the corresponding relation is saved in the corresponding mapping table of the outer net IP address.
4. a kind of method based on outer net port locations IP address of internal network according to claim 3, it is characterised in that described Step 4 includes:
Step 4.1, according to the access log, obtain outer net IP address and the corresponding outer net port of the outer net IP address;
Step 4.2, the corresponding mapping table of the inquiry outer net IP address;
Step 4.3, according to the corresponding outer net port of the outer net IP address and the corresponding mapping table of the outer net IP address, Obtain the IP address of internal network corresponding to the corresponding outer net port of the outer net IP address.
5. a kind of system based on outer net port locations IP address of internal network, it is characterised in that including:
First acquisition module, for obtaining the corresponding configurations of outer net IP address, the configurations include IP address of internal network, The number m of the number n, outer net port and the outer net port of the IP address of internal network;
Processing module, the m outer net port for first acquisition module to be obtained is divided into n parts, obtains the Intranet Corresponding relation between IP address and the outer net port is simultaneously preserved, wherein, m and n is positive integer, and m is more than n;
Second acquisition module, it is described for when internet account access outer net has been detected, access log being obtained from the outer net Access log includes outer net IP address and the corresponding outer net port of the outer net IP address;
First determining module, the access log and the processing module for being obtained according to second acquisition module are obtained The corresponding relation, determine the IP address of internal network corresponding to the corresponding outer net port of the outer net IP address.
6. a kind of system based on outer net port locations IP address of internal network according to claim 5, it is characterised in that also wrap Include:
Receiver module, for when having detected internet account and accessing outer net, receiving that radius servers send including online The field of account and IP address of internal network;
Second determining module, for the institute that the field received according to the receiver module and first determining module determine IP address of internal network is stated, the corresponding internet account of the IP address of internal network is determined.
7. a kind of system based on outer net port locations IP address of internal network according to claim 5 or 6, it is characterised in that The processing module specifically for:
The m outer net port is encoded;According to the size order of coding, the m outer net port is divided into n parts;By n Part outer net port assignment gives the n IP address of internal network, obtains between the IP address of internal network and the outer net port Corresponding relation;The corresponding relation is saved in the corresponding mapping table of the outer net IP address.
8. a kind of system based on outer net port locations IP address of internal network according to claim 7, it is characterised in that described First determining module specifically for:
According to the access log, outer net IP address and the corresponding outer net port of the outer net IP address are obtained;Inquiry is described outer The corresponding mapping table of net IP address;It is corresponding with the outer net IP address according to the corresponding outer net port of the outer net IP address Mapping table, obtain the IP address of internal network corresponding to the corresponding outer net port of the outer net IP address.
CN201710059268.6A 2017-01-24 2017-01-24 A kind of method and system based on outer net port locations IP address of internal network Pending CN106790764A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710059268.6A CN106790764A (en) 2017-01-24 2017-01-24 A kind of method and system based on outer net port locations IP address of internal network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710059268.6A CN106790764A (en) 2017-01-24 2017-01-24 A kind of method and system based on outer net port locations IP address of internal network

Publications (1)

Publication Number Publication Date
CN106790764A true CN106790764A (en) 2017-05-31

Family

ID=58943226

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710059268.6A Pending CN106790764A (en) 2017-01-24 2017-01-24 A kind of method and system based on outer net port locations IP address of internal network

Country Status (1)

Country Link
CN (1) CN106790764A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112087534A (en) * 2020-09-12 2020-12-15 洪世协 Simple traceable wireless router implementation method
CN112261176A (en) * 2020-12-24 2021-01-22 金锐同创(北京)科技股份有限公司 Method for acquiring actual network access relationship and related equipment
CN113381906A (en) * 2021-05-19 2021-09-10 郑州信大捷安信息技术股份有限公司 Restrictive external network access test method based on government and enterprise system business

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1414746A (en) * 2002-05-15 2003-04-30 华为技术有限公司 Method of providing internal service apparatus in network for saving IP address
CN101873252A (en) * 2008-10-22 2010-10-27 冲电气网络株式会社 Packet transfer device, packet transfer method and communication device
CN103118147A (en) * 2013-01-24 2013-05-22 中国联合网络通信集团有限公司 Method, equipment and system for accessing intranet server
CN105721457A (en) * 2016-01-30 2016-06-29 耿童童 Network security defense system and network security defense method based on dynamic transformation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1414746A (en) * 2002-05-15 2003-04-30 华为技术有限公司 Method of providing internal service apparatus in network for saving IP address
CN101873252A (en) * 2008-10-22 2010-10-27 冲电气网络株式会社 Packet transfer device, packet transfer method and communication device
CN103118147A (en) * 2013-01-24 2013-05-22 中国联合网络通信集团有限公司 Method, equipment and system for accessing intranet server
CN105721457A (en) * 2016-01-30 2016-06-29 耿童童 Network security defense system and network security defense method based on dynamic transformation

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
D. WING;T. ECKERT: "IP Multicast Requirements for a Network Address Translator (NAT) and a Network Address Port Translator (NAPT)", 《IETF NETWORK WORKING GROUP REQUEST FOR COMMENTS》 *
F. AUDET, ED.;C. JENNINGS: "Network Address Translation (NAT) Behavioral Requirements for Unicast UDP", 《IETF NETWORK WORKING GROUP REQUEST FOR COMMENTS》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112087534A (en) * 2020-09-12 2020-12-15 洪世协 Simple traceable wireless router implementation method
CN112261176A (en) * 2020-12-24 2021-01-22 金锐同创(北京)科技股份有限公司 Method for acquiring actual network access relationship and related equipment
CN113381906A (en) * 2021-05-19 2021-09-10 郑州信大捷安信息技术股份有限公司 Restrictive external network access test method based on government and enterprise system business
CN113381906B (en) * 2021-05-19 2022-03-25 郑州信大捷安信息技术股份有限公司 Restrictive external network access test method based on government and enterprise system business

Similar Documents

Publication Publication Date Title
CN101252592B (en) Method and system for tracing network source of IP network
CN102244688B (en) Message forwarding method, apparatus thereof and system threof
CN102215273B (en) Method and device for providing external network access for internal network user
CN106790764A (en) A kind of method and system based on outer net port locations IP address of internal network
FR2761843A1 (en) METHOD FOR OPERATING PRIVATE VIRTUAL NETWORKS IN A COMMON DATA PACKET SWITCHING NETWORK AND DEVICE FOR CARRYING OUT SAID METHOD
CN103856580B (en) A kind of method that IPv6 client computer accesses IPv4 servers
CN111131448B (en) Edge management method, edge proxy equipment and computer readable storage medium for ADSL Nat operation and maintenance management
US20120177049A1 (en) Method and system for implementing network intercommunication
CN103442096B (en) NAT method based on mobile Internet and system
CN100477671C (en) Network address converting method for supporting multi-dialogue application-layer protocol under PAT mode
WO2009007570A3 (en) Methods and devices for communicating diagnosis data in a real time communication network
CN106878259A (en) A kind of message forwarding method and device
MXPA05007660A (en) Network address translation based mobility management.
CN102143241A (en) Access method, device and system between hosts
CN103095705B (en) The method and apparatus of isolated area main frame in access local area network (LAN)
CN104539752B (en) Access method and system between multilevel field platform
CN103516820B (en) Port mapping method and device based on MAC Address
US8457111B2 (en) Voice communication method and system in ubiquitous robotic companion environment
CN106713528A (en) Home gateway and method of IPv6 host to access network server
CN108023971A (en) A kind of DHCP message retransmission method and device
CN201928308U (en) Hotel individualized network service system
CN104868942B (en) Communication equipment and communication system
KR102103704B1 (en) Systems and Methods for Providing a ReNAT Communications Environment
CN104427013B (en) Working level address-translating device and its processing method to station address mapping relations
CN104066086B (en) The method and device of voice communication

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170531