Yohan.es
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@yohanesMA to Low Level Stuff • 2 years ago

how does linux nat a ping?

devnonsense.com

message-square
0
1
external-link

how does linux nat a ping?

devnonsense.com

@yohanesMA to Low Level Stuff • 2 years ago
message-square
0
A few months ago, I found myself wondering how a command like ping 1.1.1.1 works from within a private network. In most private networks, multiple hosts connect to the Internet through a router. For IPv4, the router performs network address translation (NAT) by rewriting the original host’s source address to the router’s public IP address. The router can lookup the correct host for a reply packet based on the packet’s port field, at least for protocols like TCP and UDP.
alert-triangle
You must log in or register to comment.

Low Level Stuff

!lowlevel
Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

Hardware, Embedded Systems, Low Level Programming

  • 1 user / day
  • 1 user / week
  • 1 user / month
  • 1 user / 6 months
  • 1 subscriber
  • 19 Posts
  • 0 Comments
  • Modlog
  • mods:
  • @yohanes
  • BE: 0.18.2
  • Modlog
  • Docs
  • Code
  • join-lemmy.org