Odp: Jak sprawdzić w LUCI czy port jest otwarty.
Jakim routerze z adresem publicznym? To ile masz tych routerów?
Nie jesteś zalogowany. Proszę się zalogować lub zarejestrować.
eko.one.pl → Oprogramowanie / Software → Jak sprawdzić w LUCI czy port jest otwarty.
Strony Poprzednia 1 2 3
Zaloguj się lub zarejestruj by napisać odpowiedź
Jakim routerze z adresem publicznym? To ile masz tych routerów?
Mam jeden, ale tak myślę, że po coś dostałem maskę, bramę, DNS. Czy to nie ma żadnego znaczenia?
Zrób na tym routerze na którym wykonywałeś polecenia i pokaż wyniki poleceń:
uci show network
ifconfig - a
iptables -v -L
root@LEDE:~# uci show network
network.loopback=interface
network.loopback.ifname='lo'
network.loopback.proto='static'
network.loopback.ipaddr='127.0.0.1'
network.loopback.netmask='255.0.0.0'
network.globals=globals
network.globals.ula_prefix='fde3:20fb:b174::/48'
network.lan=interface
network.lan.type='bridge'
network.lan.ifname='eth0.1'
network.lan.proto='static'
network.lan.ipaddr='192.168.1.1'
network.lan.netmask='255.255.255.0'
network.lan.ip6assign='60'
network.wan=interface
network.wan.ifname='eth0.2'
network.wan._orig_ifname='eth0.2'
network.wan._orig_bridge='false'
network.wan.proto='static'
network.wan.ipaddr='172.16.43.163'
network.wan.netmask='255.255.255.0'
network.wan.gateway='172.16.43.1'
network.wan.dns='172.16.43.1 217.76.112.66'
network.wan.macaddr='64:66:B3:58:E6:3B'
network.wan.mtu='1500'
network.wan6=interface
network.wan6.ifname='eth0.2'
network.wan6.proto='dhcpv6'
network.@switch[0]=switch
network.@switch[0].name='switch0'
network.@switch[0].reset='1'
network.@switch[0].enable_vlan='1'
network.@switch_vlan[0]=switch_vlan
network.@switch_vlan[0].device='switch0'
network.@switch_vlan[0].vlan='1'
network.@switch_vlan[0].ports='2 3 4 5 0t'
network.@switch_vlan[1]=switch_vlan
network.@switch_vlan[1].device='switch0'
network.@switch_vlan[1].vlan='2'
network.@switch_vlan[1].ports='1 0t'
root@LEDE:~# ifconfig - a
ifconfig: bad address 'a'
root@LEDE:~# ifconfig -a
br-lan Link encap:Ethernet HWaddr F8:1A:67:33:1C:64
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::fa1a:67ff:fe33:1c64/64 Scope:Link
inet6 addr: fde3:20fb:b174::1/60 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:24305 errors:0 dropped:0 overruns:0 frame:0
TX packets:23558 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2797872 (2.6 MiB) TX bytes:17627770 (16.8 MiB)
eth0 Link encap:Ethernet HWaddr F8:1A:67:33:1C:64
inet6 addr: fe80::fa1a:67ff:fe33:1c64/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:17864 errors:0 dropped:0 overruns:0 frame:0
TX packets:18302 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:15871947 (15.1 MiB) TX bytes:3188009 (3.0 MiB)
Interrupt:4
eth0.1 Link encap:Ethernet HWaddr F8:1A:67:33:1C:64
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1670 errors:0 dropped:0 overruns:0 frame:0
TX packets:3224 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:259385 (253.3 KiB) TX bytes:907831 (886.5 KiB)
eth0.2 Link encap:Ethernet HWaddr 64:66:B3:58:E6:3B
inet addr:172.16.43.163 Bcast:172.16.43.255 Mask:255.255.255.0
inet6 addr: fe80::6666:b3ff:fe58:e63b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:16173 errors:0 dropped:0 overruns:0 frame:0
TX packets:15056 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:15289860 (14.5 MiB) TX bytes:2204966 (2.1 MiB)
ifb0 Link encap:Ethernet HWaddr 22:7B:9F:54:F6:AF
BROADCAST NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:32
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
ifb1 Link encap:Ethernet HWaddr 6A:D4:2C:64:3F:6C
BROADCAST NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:32
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:671 errors:0 dropped:0 overruns:0 frame:0
TX packets:671 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:47966 (46.8 KiB) TX bytes:47966 (46.8 KiB)
wlan0 Link encap:Ethernet HWaddr F8:1A:67:33:1C:65
inet6 addr: fe80::fa1a:67ff:fe33:1c65/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:24164 errors:0 dropped:0 overruns:0 frame:0
TX packets:25057 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3399418 (3.2 MiB) TX bytes:18419215 (17.5 MiB)
wlan1 Link encap:Ethernet HWaddr F8:1A:67:33:1C:66
inet6 addr: fe80::fa1a:67ff:fe33:1c66/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:615 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:161798 (158.0 KiB)
root@LEDE:~# iptables -v -L
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
679 48494 ACCEPT all -- lo any anywhere anywhere /* !fw3 */
8512 727K input_rule all -- any any anywhere anywhere /* !fw3: user chain for input */
8280 703K ACCEPT all -- any any anywhere anywhere ctstate RELATED,ESTABLISHED /* !fw3 */
66 3368 syn_flood tcp -- any any anywhere anywhere tcp flags:FIN,SYN,RST,ACK/SYN /* !fw3 */
184 20167 zone_lan_input all -- br-lan any anywhere anywhere /* !fw3 */
48 3553 zone_wan_input all -- eth0.2 any anywhere anywhere /* !fw3 */
Chain FORWARD (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
30051 17M forwarding_rule all -- any any anywhere anywhere /* !fw3: user chain for forwarding */
29216 17M ACCEPT all -- any any anywhere anywhere ctstate RELATED,ESTABLISHED /* !fw3 */
835 129K zone_lan_forward all -- br-lan any anywhere anywhere /* !fw3 */
0 0 zone_wan_forward all -- eth0.2 any anywhere anywhere /* !fw3 */
0 0 reject all -- any any anywhere anywhere /* !fw3 */
Chain OUTPUT (policy ACCEPT 3 packets, 180 bytes)
pkts bytes target prot opt in out source destination
679 48494 ACCEPT all -- any lo anywhere anywhere /* !fw3 */
8100 2068K output_rule all -- any any anywhere anywhere /* !fw3: user chain for output */
7475 2024K ACCEPT all -- any any anywhere anywhere ctstate RELATED,ESTABLISHED /* !fw3 */
23 4775 zone_lan_output all -- any br-lan anywhere anywhere /* !fw3 */
599 39046 zone_wan_output all -- any eth0.2 anywhere anywhere /* !fw3 */
Chain forwarding_lan_rule (1 references)
pkts bytes target prot opt in out source destination
Chain forwarding_rule (1 references)
pkts bytes target prot opt in out source destination
Chain forwarding_wan_rule (1 references)
pkts bytes target prot opt in out source destination
Chain input_lan_rule (1 references)
pkts bytes target prot opt in out source destination
Chain input_rule (1 references)
pkts bytes target prot opt in out source destination
Chain input_wan_rule (1 references)
pkts bytes target prot opt in out source destination
Chain output_lan_rule (1 references)
pkts bytes target prot opt in out source destination
Chain output_rule (1 references)
pkts bytes target prot opt in out source destination
Chain output_wan_rule (1 references)
pkts bytes target prot opt in out source destination
Chain reject (2 references)
pkts bytes target prot opt in out source destination
48 3553 REJECT tcp -- any any anywhere anywhere /* !fw3 */ reject-with tcp-reset
0 0 REJECT all -- any any anywhere anywhere /* !fw3 */ reject-with icmp-port-unreachable
Chain syn_flood (1 references)
pkts bytes target prot opt in out source destination
66 3368 RETURN tcp -- any any anywhere anywhere tcp flags:FIN,SYN,RST,ACK/SYN limit: avg 25/sec burst 50 /* !fw3 */
0 0 DROP all -- any any anywhere anywhere /* !fw3 */
Chain zone_lan_dest_ACCEPT (4 references)
pkts bytes target prot opt in out source destination
23 4775 ACCEPT all -- any br-lan anywhere anywhere /* !fw3 */
Chain zone_lan_forward (1 references)
pkts bytes target prot opt in out source destination
835 129K forwarding_lan_rule all -- any any anywhere anywhere /* !fw3: user chain for forwarding */
835 129K zone_wan_dest_ACCEPT all -- any any anywhere anywhere /* !fw3: forwarding lan -> wan */
0 0 ACCEPT all -- any any anywhere anywhere ctstate DNAT /* !fw3: Accept port forwards */
0 0 zone_lan_dest_ACCEPT all -- any any anywhere anywhere /* !fw3 */
Chain zone_lan_input (1 references)
pkts bytes target prot opt in out source destination
184 20167 input_lan_rule all -- any any anywhere anywhere /* !fw3: user chain for input */
0 0 ACCEPT all -- any any anywhere anywhere ctstate DNAT /* !fw3: Accept port redirections */
184 20167 zone_lan_src_ACCEPT all -- any any anywhere anywhere /* !fw3 */
Chain zone_lan_output (1 references)
pkts bytes target prot opt in out source destination
23 4775 output_lan_rule all -- any any anywhere anywhere /* !fw3: user chain for output */
23 4775 zone_lan_dest_ACCEPT all -- any any anywhere anywhere /* !fw3 */
Chain zone_lan_src_ACCEPT (1 references)
pkts bytes target prot opt in out source destination
184 20167 ACCEPT all -- br-lan any anywhere anywhere ctstate NEW,UNTRACKED /* !fw3 */
Chain zone_wan_dest_ACCEPT (3 references)
pkts bytes target prot opt in out source destination
1434 168K ACCEPT all -- any eth0.2 anywhere anywhere /* !fw3 */
Chain zone_wan_forward (1 references)
pkts bytes target prot opt in out source destination
0 0 forwarding_wan_rule all -- any any anywhere anywhere /* !fw3: user chain for forwarding */
0 0 zone_lan_dest_ACCEPT esp -- any any anywhere anywhere /* !fw3: Allow-IPSec-ESP */
0 0 zone_lan_dest_ACCEPT udp -- any any anywhere anywhere udp dpt:isakmp /* !fw3: Allow-ISAKMP */
0 0 ACCEPT all -- any any anywhere anywhere ctstate DNAT /* !fw3: Accept port forwards */
0 0 zone_wan_dest_ACCEPT all -- any any anywhere anywhere /* !fw3 */
Chain zone_wan_input (1 references)
pkts bytes target prot opt in out source destination
48 3553 input_wan_rule all -- any any anywhere anywhere /* !fw3: user chain for input */
0 0 ACCEPT udp -- any any anywhere anywhere udp dpt:bootpc /* !fw3: Allow-DHCP-Renew */
0 0 ACCEPT icmp -- any any anywhere anywhere icmp echo-request /* !fw3: Allow-Ping */
0 0 ACCEPT igmp -- any any anywhere anywhere /* !fw3: Allow-IGMP */
0 0 ACCEPT all -- any any anywhere anywhere ctstate DNAT /* !fw3: Accept port redirections */
48 3553 zone_wan_src_REJECT all -- any any anywhere anywhere /* !fw3 */
Chain zone_wan_output (1 references)
pkts bytes target prot opt in out source destination
599 39046 output_wan_rule all -- any any anywhere anywhere /* !fw3: user chain for output */
599 39046 zone_wan_dest_ACCEPT all -- any any anywhere anywhere /* !fw3 */
Chain zone_wan_src_REJECT (1 references)
pkts bytes target prot opt in out source destination
48 3553 reject all -- eth0.2 any anywhere anywhere /* !fw3 */
Przecież ty nie masz na wanie tego adresu co podałeś. Jesteś za jakimś innym routerem. Żeby to działało musisz na tym pierwszym routerze też zrobić przekierowanie.
Nie mam innego routera. A ten adres co podałem dostałem od dostawcy internetu i powiedział, że to moje zewnętrzne IP.
Ty nie, ale dostawca ma. I sam widzisz jaki masz adres na wanie - całkiem inny, z klasy prywatnej. Nic nie zrobisz jak nie będzie przekierowania na tym pierwszym routerze lub nie dostaniesz na wanie publicznego adresu ip.
Ok jutro skontaktuję się z dostawcą. Na dzisiaj bardzo dziękuję Ci za poświęcony mi czas i pomoc.
Minęło kilka dni i prawie wszystko działa.
Prawie, bo mogę dostać sie już na dekoder i pobrac stream, ale nie mogę go nigdzie otworzyć jak pobieram przez zewnenętrzny IP. Jak przez wewnętrzny to działa bez problemu.
Czy ja powinienem jeszcze przekierować jakiś pory, a może otworzyć? Bo jak pobieram stream to odwołuje sie on adres IP:8001
Możliwe że potrzebne są jeszcze inne porty dla tego dekodera - jakie tego już nie wiem. Mógłbyś uruchomić sobie snifer i zobaczyć po jakich portach lata transmisja.
Dziekuję wszystkim za pomoc. Dostawca musiał zrobić jeszcze jakieś poprawki u siebie i teraz śmiga.
Strony Poprzednia 1 2 3
Zaloguj się lub zarejestruj by napisać odpowiedź
eko.one.pl → Oprogramowanie / Software → Jak sprawdzić w LUCI czy port jest otwarty.
Forum oparte o PunBB, wspierane przez Informer Technologies, Inc