ZyXEL Communications P-335WT Instrukcja Użytkownika Strona 8

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 18
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 7
the firewall to other machines. Any host on the internal network can ask for any
portmapping it desires, so the machine on 10.0.0.152 could execute the following
Python code to send a SOAP packet to the Internet Gateway Device to ask for a
portforward to 10.0.0.151, without 10.0.0.151 even knowing about it:
soapaction2 = "urn:schemas-upnp-org:service:WANPPPConnection:1#AddPortMapping"
server._sa(soapaction2).AddPortMapping(NewRemoteHost="",
NewExternalPort=22,
NewProtocol="TCP",
NewInternalPort=22,
NewInternalClient="10.0.0.151",
NewEnabled=1,
NewPortMappingDescription="ev1l h4x0r",
NewLeaseDuration=0)
WAN
10.0.0.151
10.0.0.152
AddPortMapping on port 22
to 10.0.0.151 port 22
Telco/LAN Router
It is up to the Internet Gateway Device to fullfill (or refuse) these requests. Nearly
all Internet Gateway Device will happily comply with such requests.
In the specification the specifications are vague about that an Internet Gateway
Device should honour requests for portforwardings other than to the machine that
made the request.
On page 12 of the specification of the WANIPConnection profile (UPnP IGD WANIPConnection
1.0.pdf, available from the website of the UPnP forum[4]) it says:
“This variable represents the IP address or DNS host name of an internal
client (on the residential LAN).”
On page l3 of that same document it says:
“Each 8-tuple configures NAT to listen for packets on the external in-
terface of the WANConnectionDevice on behalf of a specific client and
dynamically forward connection requests to that client.”
Przeglądanie stron 7
1 2 3 4 5 6 7 8 9 10 11 12 13 ... 17 18

Komentarze do niniejszej Instrukcji

Brak uwag