08. maj 2003 - 16:11Der er
4 kommentarer og 1 løsning
Hvordan åbner man udb-porte på en Cisco 678-router
Vi har et lokalt netværk med 4 computere, der alle går på nettet gennem en cisco 678 - router. Vi vil gerne kunne logge alle computerne på eso.com, for at spille Age of Mythology på samme tid, men man skal tilsyneladende åbne nogle bestemte (udb)porte, for at det kan lade sig gøre. Hvordan?
I´m not going to promise that this is working found on Cisco.com
To set a VIP network to Outside, add the following command:
set int vipx outside
where x is a value ranging from 0 to 2.
To set the VIP Outside Global IP address add the following command:
set interface vipx ip address
To allow traffic from the VIP Outside network to access the Inside network, add the following command:
set nat entry add inside_IP_address inside_port VIP_Outside_IP Outside_port protocol
Example Configuration The following is an example configuration for a CPE 675:
675-rc4#show config [[ CBOS = Section Start ]] NSOS Prompt = 675-rc4 NSOS 1483 Routing = enabled NSOS MD5 Enable Password = C64100007F160000812700006C44000046D96F11BD49778827656 8D7C2CDE806 NSOS MD5 Root Password = 8D030000215900000028000073320000F0247C9D8312335A0F18738 AB2509E97 NSOS MD5 Commander Password = E7061E2A3FC26E5E101400453E424DFC NSOS Virtual IP Address = 00, 33.1.1.1 NSOS Virtual IP Address = 01, 44.1.1.1 [[ IP Routing = Section Start ]] IP Port Address = 00, 11.1.1.1 IP NAT Outside IP = 22.1.1.1 IP NAT = enabled IP NAT VIP Port Side = 01, inside IP NAT Entry = 44.1.1.2, 69, 31.1.1.1, 69, udp;11.1.1.2, 23, 21.1.1.1, 23, tcp; [[ DHCP = Section Start ]] DHCP Server Pool IP = 00, 11.1.1.2 DHCP Server Pool Gateway = 00, 11.1.1.1 DHCP Server Pool DNS = 00, 171.71.193.20 [[ TFTP = Section Start ]] TFTP = enabled
675-rc4#show nat
NAT is currently enabled
Port Network Global eth0 Inside wan0-0 Outside 22.1.1.1 vip0 Outside 33.1.1.1 vip1 Inside vip2 Outside
Local IP : Port Global IP : Port Timer Flags Proto Interface 11.1.1.2:23 21.1.1.1:23 0 0x00041 tcp eth0 44.1.1.2:69 31.1.1.1:69 0 0x00041 udp vip1
675-rc4#show int IP Address Mask eth0 11.1.1.1 255.255.255.0
vip0 33.1.1.1 255.255.255.0
vip1 44.1.1.1 255.255.255.0
vip2 0.0.0.0 255.255.255.0
wan0 Physical Port: Trained
Dest IP Address Mask wan0-0 0.0.0.0 255.255.255.255
Resolved Issues in CBOS Release 2.4.3 The following issues can be resolved by installing Release 2.4.3 of CBOS.
Solution 2.:!!!!!! think this would work Support for Specifying Port Ranges CBOS Release 2.4 adds NAT/PAT support for specifying port ranges, including wildcards. This eliminates the need to manually enter a number for each port, allowing for bulk data entry.
Use the following new command syntax:
set nat entry add inside-ip-address port-range1 outside-ip-address port-range2|* protocol
The following examples map inside ranges to outside ranges:
set nat entry add 10.0.0.2 2000-2099 192.168.1.1 2000-2099 udp set nat entry add 10.0.0.2 2000-2099 * 2000-2099 udp set nat entry add 10.0.0.2 2000-2099 192.168.1.1 3000-3099 udp
The port numbers specified for the range are not restricted. Inside and outside ranges can be the same or different. The port number used in a packet whose unmapped port number lies in a range will have the same offset from the beginning of the range after it is mapped. The third example above shows an outbound packet having inside port 2010 mapped to outside port 3010.
Du bliver nødt til at lave en PAT entries i din router. Default kører AOM på UDP port 2300 dvs du skal logge ind i din router og angive dette:
set nat entry add xxx.xxx.xxx.xxx 2300 udp (4x XXX er din ip adresse på den første PC som skal spille det)
På dine øvrige maskiner bliver du nødt til at flytte porten en smule, da routerem nu vidrer sender alt på UDP port 2300 hen til den første PC
Den kan gøres således: (TAGET FRA DERES WEBSITE)
You can also use a different port by adding this to the command line/shortcut for the game: hostPort=XXXX Where XXXX is the port you want the game to use for all its in-game traffic.
For den næste PC kunne det evt være UDP port 2301. Dvs du i routeren også skal lave PAT mapningen således:
set nat entry add xxx.xxx.xxx.xxx 2301 udp (4x XXX er din ip adresse på den næste PC som skal spille det)
Vil det sige at command line/shortcut skal se således ud på computer nr 2: Target: "C:\program files\Microsoft Games\Age Of Mythology\aom.exe"hostPort=2301 ??? Vi kan stadig ikke få mere end to computere på???
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.