windows port mapping or nat

本文详细介绍了在 Windows 系统中配置 NAT 的步骤与技巧,帮助读者理解如何通过 NAT 实现内部网络与外部网络之间的通信。
SECTION "Port Triggers" { testvar portTriggers yes testvar portTriggerTimeout 10 testvar portTriggerDelay 5000 testvar portTriggerOpenDelay 1000 testvar triggerName1 net2phone-1 testvar triggerAddrType1 ipv4 testvar triggerPort1 6801 testvar triggerType1 udp testvar triggerPublic1 30000 testvar triggerPublicType1 udp testvar triggerName2 app1 testvar triggerPort2 30000 testvar triggerType2 tcp testvar triggerPublic2 30002 testvar triggerPublicType2 tcp Test cdrouter-292: Verify multiple LAN hosts can use trigger ports after mappings are aged out Module: triggerp.tcl Name: cdrouter_tport_30 Description: step 1. Read all the configured trigger ports step 2. Create a second DHCP LAN client step 3. Initiate a TCP or UDP session from the LAN to the WAN side using the triggered port as the destination port step 4. Verify the TCP or UDP session is created step 5. For each public port that should now be triggered, open a connection from the WAN to the LAN using the public port as the destination port and the router's nat IP address as the destination IP address. step 6. Verify a connection can be estabished for each public port step 7. Close down each public port step 8. Close down the original LAN side connection used for the trigger step 9. Wait for port mappings to be aged out step 10. Repeat from step 2. using the second LAN client step 11. Repeat for each configured port trigger NOTE: The port mapping aging time for trigger ports is configured using the portTriggerTimeout variable in your config file. Your router must support the aging of trigger ports in order to run this test. NOTE: Up to 4096 trigger ports can be configured in your configuration file. For example, testvar triggerName1 net2phone-1 testvar triggerPort1 6801 testvar triggerType1 udp testvar triggerPublic1 30000 testvar triggerPublicType1 both NOTE: Many routers will not time out the triggered port connection once it is open. This will cause this test to fail if it is executed more than once. The PublicType may be either tcp, udp, or both. If "both" is used, the test case will verify both a TCP and UDP connection for each port in the Public range. A delay can be configured between each trigger port. This is sometimes required for port trigger implementations using Smart ALGs. To configure the delay, configure the testvar 'portTriggerDelay' with the number of milliseconds. A delay can also be configured before a trigger port is verified as being open with WAN to LAN traffic. This is sometimes required for implemenatations that have a delay associated with processing the outbound trigger packet. To configure the delay, configure the testvar 'portTriggerOpenDelay' with the number of milliseconds.完整进行翻译,不要添加或者减少翻译内容
最新发布
10-14
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值