|
|
VNIMANIE: Izpolzvaite forumite na saita za da zadadete vashite vuprosi.
Vupros |
Ot: Gosho |
Data: 05/10/2004 |
CS se igrae bez problemi, obache imam problem s
Diablo 2. Ne moga da se svurzha s survurite na Headoff. Za
informatsiia pusnal sum Squid na rutura. Ne sum vuvezhdal
pravila v iptables osven za maskirane. Niakoi ima li
predstava kude e problema ?
Znachi triabva da se otvoriat portove 6112 za TCP i UDP na
survura. Niakoi
mozhe li da mi pomogne s redovete na iptables, pls !
|
Otgovor #1 |
Ot: cynep (cynep< at >mail__dot__bulgaria__dot__com) |
Data: 05/11/2004 |
#/sbin/iptables -t nat -I PREROUTING -s "ip-to na
otdalecheniq router" -j DNAT --to "ip-to na CS Server-a"
#/sbin/iptables -t nat -I POSTROUTING -s "ip na otdalecheniq
router" -j SNAT --to "ip na tvoq router"
#iptables -t nat -A PREROUTING -p tcp -d "ip na tvoq router"
--dport 6112 -j DNAT --to-destination "ip na CS
server:6112"
Good Luck!
|
Otgovor #2 |
Ot: Gosho |
Data: 05/11/2004 |
Super, blagodarq za pomoshtta, no ako mozhe malkod a
utochnish.
1. ne stava duma za CS serveri a za Diablo 2 serveri (tova
mozhe bi ne promenq principno nishto)
2. Pishesh za dva routera i syotveten server, no az se
seshtam samo za edin router: moq, kojto e mevdu moqta mrezha
i Internet, i ot druga strana edin game server, kojto e s IP
212.124.78.125. Koi v sluchaja sa moja router, otdalechenia
router i Game servera spored teb ?
|
Otgovor #5 |
Ot: Gosho |
Data: 05/12/2004 |
Ne stana! Bi li proveril dali nqma greshka nqkyde, pls! Eto
kakvo wywedoh:
iptables -t nat -I PREROUTING -s 212.124.78.125 -j DNAT --to
x.x.x.x
iptables -t nat -I POSTROUTING -s 212.124.78.125 -j SNAT
--to x.x.x.x
iptables -t nat -A PREROUTING -p tcp -d x.x.x.x
--dport 6112 -j DNAT --to-destination 212.124.78.125:6112
Nakraq wywedoh i za udp, no pak ne stana:
iptables -t nat -A PREROUTING -p udp -d x.x.x.x
--dport 6112 -j DNAT --to-destination 212.124.78.125:6112
(x.x.x.x e IP adresa na moq router, a
212.124.78.125 na game servera )
|
Otgovor #6 |
Ot: Gosho |
Data: 05/12/2004 |
Eto gi tochnite iziskwaniq na Blizzard:
---------------------------------------
Diablo, Warcraft II Battle.net Edition, and StarCraft:
- Allow port 6112-6119 TCP and UDP out and in
Diablo II:
- Allow port 6112 TCP out and allow established sessions in
- Allow port 4000 TCP out (realm games)
- Allow port 4000 TCP out and in (hosting open games only)
Warcraft III:
- Allow port 6112 TCP out and allow established sessions in
- Allow port 6112 TCP in (hosting custom games)
- Allow port 6113-6119 TCP out and in (hosting custom games
if you’ve changed the default port in the Options/Gameplay
screen)
Notes:
- "Established sessions in" applies to firewalls only. NAT
will allow the "established sessions in" automatically.
- NAT users will need to map any "in"s (hosting games only)
to the IP of the computer hosting the game.
- Warcraft III is the only Blizzard Title that currently
supports multiple players hosting games behind NAT.
|
<< RASPPPOE (2
) | boot na win na 2ri hard (1
) >>
|
|
|
|
|