Redirection method for gateway and webpage
A redirection and gateway technology, applied in the Internet field, can solve problems such as inaccessibility of external webpages, webpage redirection, etc., and achieve the effect of improving the online experience
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0044] Embodiment 1. Realization of redirection for accessing external webpages through IP addresses
[0045] In this case, the gateway will constantly monitor its connection to the Internet.
[0046]When the connection between the gateway and the Internet is disconnected, the gateway will add a rule-forwarding rule in the PREROUTING forwarding chain of the firewall. The forwarding rule specifies the webpage to be accessed when the connection between the gateway and the Internet is disconnected. The forwarding rule can be set in the following form :
[0047] iptables -t nat -I PREROUTING -p tcp --dport 80 -j DNAT --to x.x.x.x
[0048] Among them, "x.x.x.x" indicates the address of the web page accessed when the gateway is disconnected from the Internet. The web page address should be the address of the web page that contains the status of the gateway and / or the status of the connection between the gateway and the Internet, such as the IP address of the gateway. .
[0049] W...
Embodiment 2
[0055] Embodiment 2: Realization of Redirection for Accessing External Web Pages Through Domain Names
[0056] refer to Figure 5 As shown, in this case, the gateway performs the following operations on the received DNS request:
[0057] S501. The gateway receives a DNS request sent by a user terminal.
[0058] S502. The gateway judges its connection with the Internet. When the gateway is connected to the Internet, execute S503; when the gateway is disconnected from the Internet, execute S504.
[0059] S503. When the gateway receives the DNS request when it is connected to the Internet, it responds to the DNS request according to the prior art.
[0060] S504. When the gateway receives a DNS request when its connection to the Internet is disconnected, it replaces the domain name of the DNS request with the domain name of the specified webpage, thereby redirecting the DNS request to the specified webpage. The specified webpage includes the state of the gateway and / or the stat...
PUM

Abstract
Description
Claims
Application Information

- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com