Netgear WNR612v2 WNR612v2 User Manual (PDF) - Page 55

How Port Triggering Changes the Communication Process, Fine-Tuning Your Network

Page 55 highlights

Wireless-N 150 Router WNR612v2 User Manual Your router then sends this request message through the Internet to the Web server at www.example.com. 4. The Web server at www.example.com composes a return message with the requested Web page data. The return message contains the following address and port information: • The source address is the IP address of www.example.com. • The source port number is 80, the standard port number for a Web server process. • The destination address is the public IP address of your router. • The destination port number is 33333. The Web server then sends this reply message to your router. 5. Upon receiving the incoming message, your router checks its session table to determine whether there is an active session for port number 33333. Finding an active session, the router then modifies the message, restoring the original address information replaced by NAT. The message now contains the following address and port information: • The source address is the IP address of www.example.com. • The source port number is 80, the standard port number for a Web server process. • The destination address is your computer's IP address. • The destination port number is 5678, the browser session that made the initial request. Your router sends this reply message to your computer, which displays the Web page from www.example.com. 6. When you finish your browser session, your router eventually senses a period of inactivity in the communications. Your router then removes the session information from its session table, and incoming traffic is no longer accepted on port number 33333. How Port Triggering Changes the Communication Process Usually, during an Internet session your computer sends outbound requests. The router sends replies to same port number where the session is. Replies to a different port number, are discarded. However, some application servers (such as FTP and IRC servers) send replies to multiple port numbers. With port triggering, you can tell the router to open more incoming ports when a particular outgoing port originates a session. An example is Internet Relay Chat (IRC). Your computer connects to an IRC server at destination port 6667. The IRC server not only responds to your originating source port, but also sends an "identify" message to your computer on port 113. Using port triggering, you can tell the router, "When you initiate a session with destination port 6667, you must also allow incoming traffic on port 113 to reach the originating computer." Using steps similar to the preceding example, the following sequence shows the effects of the port triggering rule you have defined: 1. You open an IRC client program, beginning a chat session on your computer. 2. Your IRC client composes a request message to an IRC server using a destination port number of 6667, the standard port number for an IRC server process. Your computer then sends this request message to your router. Chapter 6: Fine-Tuning Your Network | 55

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93

Chapter 6:
Fine-Tuning Your Network
|
55
Wireless-N 150 Router WNR612v2 User Manual
Your router then sends this request message through the Internet to the Web server at
www.example.com.
4.
The Web server at www.example.com composes a return message with the requested Web
page data. The return message contains the following address and port information:
The source address is the IP address of www.example.com.
The source port number is 80, the standard port number for a Web server process.
The destination address is the public IP address of your router.
The destination port number is 33333.
The Web server then sends this reply message to your router.
5.
Upon receiving the incoming message, your router checks its session table to determine
whether there is an active session for port number 33333. Finding an active session, the
router then modifies the message, restoring the original address information replaced by
NAT. The message now contains the following address and port information:
The source address is the IP address of www.example.com.
The source port number is 80, the standard port number for a Web server process.
The destination address is your computer’s IP address.
The destination port number is 5678, the browser session that made the initial
request.
Your router sends this reply message to your computer, which displays the Web page
from www.example.com.
6.
When you finish your browser session, your router eventually senses a period of inactivity in
the communications. Your router then removes the session information from its session
table, and incoming traffic is no longer accepted on port number 33333.
How Port Triggering Changes the Communication Process
Usually, during an Internet session your computer sends outbound requests. The router
sends replies to same port number where the session is. Replies to a different port number,
are discarded. However, some application servers (such as FTP and IRC servers) send
replies to multiple port numbers. With port triggering, you can tell the router to open more
incoming ports when a particular outgoing port originates a session.
An example is Internet Relay Chat (IRC). Your computer connects to an IRC server at
destination port 6667. The IRC server not only responds to your originating source port, but
also sends an “identify” message to your computer on port 113. Using port triggering, you can
tell the router, “When you initiate a session with destination port 6667, you must also allow
incoming traffic on port 113 to reach the originating computer.” Using steps similar to the
preceding example, the following sequence shows the effects of the port triggering rule you
have defined:
1.
You open an IRC client program, beginning a chat session on your computer.
2.
Your IRC client composes a request message to an IRC server using a destination port
number of 6667, the standard port number for an IRC server process. Your computer then
sends this request message to your router.