<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-2">
<TITLE>Zpráva</TITLE>
<META name=GENERATOR content="MSHTML 8.00.6001.23532">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN class=093502415-02012014>Dejte
si mezi Vase zarizeni a router dalsi PC, ktere bude pakety routovat a tam spuste
wireshark.</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN
class=093502415-02012014>Uvidite, kam vlastne to zarizeni posila
pakety.</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN class=093502415-02012014>Dalsi
z beznych chyb je chybne nastaveni masky a brany, u PLC se s tim setkavam velmi
casto,</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN
class=093502415-02012014>jelikoz na lokalni siti to nema vyznam a problem se
projevi az pri pristupu pres router.</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN
class=093502415-02012014></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN
class=093502415-02012014>Slavek</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN class=093502415-02012014><!-- Converted from text/plain format -->
<P><FONT size=2>Ing. Slavomir Skopalik<BR>Jednatel spolecnosti<BR>Elekt Labs
s.r.o.<BR>Sber a vyhodnoceni dat ze stroju a laboratori<BR>systemem MASA (<A
href="http://www.elektlabs.cz/m2demo">http://www.elektlabs.cz/m2demo</A>)<BR>----------------------------------------------<BR>Adresa:<BR>Elekt
Labs s.r.o.<BR>Chaloupky 158<BR>783 72 Velky Tynec<BR>Czech
Republic<BR>----------------------------------------------<BR>Mobil: +420 724
207 851<BR>icq:199 118
333<BR>skype:skopaliks<BR>e-mail:skopalik@elektlabs.cz<BR><A
href="http://www.elektlabs.cz/">http://www.elektlabs.cz</A><BR> </FONT>
</P></SPAN></FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #0000ff 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px"
dir=ltr>
<DIV></DIV>
<DIV><FONT size=2 face=Arial>Dobry den,</FONT></DIV>
<DIV><FONT size=2 face=Arial>1. Nyni navazuji spojeni ze stejne site, protoze
jsem to chtel vyzkouset a jinou sit k dispozici nemam</FONT></DIV>
<DIV><FONT size=2 face=Arial>2., 3. ano</FONT></DIV>
<DIV><FONT size=2 face=Arial>4. zde si nejsem jisty, ale cokoli z vnitrni site
ma pristup do vnejsi site, z vnejsi site je pouze jediny port smerovan na
server</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Pokud by platilo to, co pisete nize, musel by
WireShark na serveru zaznamenat nejakou komunikaci, ale ten paket z WiPortu se
k nemu nedostane, pokud je posilan na verejnou IP.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Ta sit je jeste trosku slozitejsi: vnitrni sit je
pres router, pripojena na WiFi adapter poskytovatele pripojeni. Napr na seznam
vypada cesta takto:</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Výpis trasy k <A
href="http://www.seznam.cz">www.seznam.cz</A> [77.75.76.3]<BR>s nejvýše 30
směrováními:</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial> 1 1
ms 1 ms 1 ms
192.168.15.1<BR> 2 2 ms
5 ms 5 ms 10.11.168.1<BR>
3 6 ms 6
ms 2 ms 10.11.254.181<BR>
4 4 ms 3
ms 2 ms 10.10.10.213<BR>
5 4 ms 2
ms 2 ms bond-cgn-sit.ujd [10.10.10.10]<BR>
6 3 ms 2
ms 4 ms unassigned-81-90-244-81.ujezd.net
[81.90.244.81]</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial> 7 3
ms 3 ms 2 ms
v206-r1.2connect.cz [109.205.72.65]<BR> 8 9
ms 3 ms 3 ms
nix2.seznam.cz [91.210.16.194]<BR> 9 3
ms 3 ms 2 ms
77.75.75.210<BR> 10 3 ms
3 ms 10 ms <A
href="http://www.seznam.cz">www.seznam.cz</A> [77.75.76.3]</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>192.168.15.1 je IP routeru vnitrni
site.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Nicmene moje verejna IP je 81.90.250.131 Tak ji
take vidi <A href="http://www.grc.com">www.grc.com</A> nebo tracert.com . Jak
je to ale u poskytovatele (ujezd.net) udelane, ze tato IP vubec neni
v ceste tracert nevim.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Jde mi o to, zda se snazim o nesmyslne a pokud
pristup bude z jine site, bude vse fungovat (ale rad bych to nejak overil)
nebo mam nekde chybu.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Martin Zaruba</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=skopalik@elektlabs.cz href="mailto:skopalik@elektlabs.cz">Slavomir
Skopalik</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=hw-list@list.hw.cz
href="mailto:hw-list@list.hw.cz">'HW-news'</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, January 01, 2014 6:59
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> RE: Smerovani portu</DIV>
<DIV><FONT color=#0000ff size=2 face=Arial></FONT><BR></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN
class=546125017-01012014>Dobry den,</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN class=546125017-01012014>z
vaseho textu neni prilis jasne, co vlastne delate.</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN
class=546125017-01012014>Vyslovim tedy predpoklady:</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN class=546125017-01012014>1.
Nazazujete spojeni ze stejne site, v jake mate server (coz neni moc spravne,
server by mel byt z duvodu bezpecnosti v jine siti)</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN class=546125017-01012014>2.
Navazujete spojeni protokolem TCP</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN class=546125017-01012014>3.
Na routru mate nastaven port forwarding na Vas server</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN class=546125017-01012014>4.
Nemate nastaven spravne NAT.</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN
class=546125017-01012014></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN
class=546125017-01012014>Pak se stane to, ze vy odeslete paket na venkovni
IP, router provede forward paketu na vnitrni IP, server pak odpovi misto
routru primo, ale z pohledu zarizeni z jine IP adresy (navazujete spojeni s
venkovni IP,</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN
class=546125017-01012014>ale odpoved mate od IP serveru)</SPAN></FONT><FONT
color=#0000ff size=2 face=Arial><SPAN
class=546125017-01012014>.</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN
class=546125017-01012014>Zarizeni tuto odpoved
ingnoruje.</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN
class=546125017-01012014></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN
class=546125017-01012014>Resenim je nastavenim NATu pro vnitrni sit, pokud
pristupuje na venkovni IP pored provedenim forwardingu.</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN
class=546125017-01012014></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN
class=546125017-01012014>Slavek</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2
face=Arial></FONT> </DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>