Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Firewall NAT Mapping-Port backflow-learn RouterOS Series 0 from scratch

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

This tutorial applies to:

Use the public network address in the intranet to access the intranet server.

A bit of a mouthful, popularly speaking, is to use a public network IP to be able to eat inside and outside the network, without the internal network and the external network one.

Port reflux, scientific name Hairpin NAT. Literally, it is a NAT like a hairpin. When our intranet computer uses a public network address to access the website server, our router immediately transfers hands to send it back to the website server, so there is no need to go to the public network.

The advantage is that it is not subject to public network bandwidth restrictions, and we don't have to remember too many access methods.

But for some next-generation firewalls, DNS-Mapping may be used, and so can RouterOS. But as a router, let's talk about the practice at the IP level first. It's actually very simple:

1. New rules

Action is set to masquerade (camouflage)

The effect shows:

two。 The principle is shown in the diagram:

When 192.168.11.251 accesses port 8888 of the public network 100.1.1.121, the router helps our 192.168.11.252 disguised as the public network address 100.1.1.121 to reply to us. The premise is that there must be a third routing rule in order to camouflage successfully, after all, port reflux depends on port mapping.

The above is the practice of port reflow. We only need to remember the public network address for universal access, no matter in the internal network or in the public network.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report