1

Temat: 2 routery, 1 sieć

Witam! Wątek był poruszany już wiele razy, niby żaden problem podłączyć 2 router do sieci. A jednak pojawiają się problemy. Głównym routerem jest Linksys E3200 z Tomato, ip ma ustawione na 192.168.0.1, 2 router to 1043ND z Gargoyle, Wan wyłączony, dostęp do routera umożliwiony przez http, https i ssh, dhcp wyłączone, w routerze ip ustawiłem na 192.168.0.2, brama 192.168.0.1, maska 255.255.255.0. W Tomato statyczny adres dla 1043 ustawiony na 192.168.0.2. Na TP- Linku dostęp do internetu jest, jednak nie ma możliwości dostać się do routera przez gui. Przez ssh nie ma problemu. Gui wogóle nie odpowiada.

2

Odp: 2 routery, 1 sieć

Odblokowałeś 80 na firewallu?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: 2 routery, 1 sieć

Na firewallu? Odblokowałem w ustawianiach, Dostęp do routera Http i https

4

Odp: 2 routery, 1 sieć

Pokaż iptables -v -L

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5

Odp: 2 routery, 1 sieć

root@Gargoyle:~# iptables -v -L
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target     prot opt in     out     source               destination
  261 32093 bw_ingress  all  --  br-lan any     anywhere             anywhere
  364 44353 delegate_input  all  --  any    any     anywhere             anywhere

Chain FORWARD (policy DROP 0 packets, 0 bytes)
pkts bytes target     prot opt in     out     source               destination
    0     0 bw_ingress  all  --  br-lan any     anywhere             anywhere
    0     0 delegate_forward  all  --  any    any     anywhere             anywhere

Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target     prot opt in     out     source               destination
  159 34714 delegate_output  all  --  any    any     anywhere             anywhere

Chain MINIUPNPD (1 references)
pkts bytes target     prot opt in     out     source               destination

Chain bw_ingress (2 references)
pkts bytes target     prot opt in     out     source               destination
    0     0            all  --  any    any     anywhere             anywhere            bandwidth --id total1-download-2-449 --type combined --current_bandwidth 0 --reset_interval 2 --reset_time 2 --intervals_to_save 449
    0     0            all  --  any    any     anywhere             anywhere            match-set local_addr_set dst bandwidth --id bdist1-download-minute-15 --type individual_dst --reset_interval minute --intervals_to_save 15
    0     0            all  --  any    any     anywhere             anywhere            bandwidth --id total2-download-minute-359 --type combined --current_bandwidth 0 --reset_interval minute --intervals_to_save 359
    0     0            all  --  any    any     anywhere             anywhere            match-set local_addr_set dst bandwidth --id bdist2-download-900-24 --type individual_dst --reset_interval 900 --reset_time 900 --intervals_to_save 24
    0     0            all  --  any    any     anywhere             anywhere            bandwidth --id total3-download-180-479 --type combined --current_bandwidth 0 --reset_interval 180 --reset_time 180 --intervals_to_save 479
    0     0            all  --  any    any     anywhere             anywhere            match-set local_addr_set dst bandwidth --id bdist3-download-hour-24 --type individual_dst --reset_interval hour --intervals_to_save 24
    0     0            all  --  any    any     anywhere             anywhere            bandwidth --id total4-download-7200-359 --type combined --current_bandwidth 0 --reset_interval 7200 --reset_time 7200 --intervals_to_save 359
    0     0            all  --  any    any     anywhere             anywhere            match-set local_addr_set dst bandwidth --id bdist4-download-day-31 --type individual_dst --reset_interval day --intervals_to_save 31
    0     0            all  --  any    any     anywhere             anywhere            bandwidth --id total5-download-day-365 --type combined --current_bandwidth 0 --reset_interval day --intervals_to_save 365
    0     0            all  --  any    any     anywhere             anywhere            match-set local_addr_set dst bandwidth --id bdist5-download-month-12 --type individual_dst --reset_interval month --intervals_to_save 12

Chain delegate_forward (1 references)
pkts bytes target     prot opt in     out     source               destination
    0     0 forwarding_rule  all  --  any    any     anywhere             anywhere            /* user chain for forwarding */
    0     0 ACCEPT     all  --  any    any     anywhere             anywhere            ctstate RELATED,ESTABLISHED
    0     0 zone_lan_forward  all  --  br-lan any     anywhere             anywhere
    0     0 reject     all  --  any    any     anywhere             anywhere

Chain delegate_input (1 references)
pkts bytes target     prot opt in     out     source               destination
   23  3972 ACCEPT     all  --  lo     any     anywhere             anywhere
  341 40381 input_rule  all  --  any    any     anywhere             anywhere            /* user chain for input */
  113 11414 ACCEPT     all  --  any    any     anywhere             anywhere            ctstate RELATED,ESTABLISHED
    1    52 syn_flood  tcp  --  any    any     anywhere             anywhere            tcp flags:FIN,SYN,RST,ACK/SYN
  228 28967 zone_lan_input  all  --  br-lan any     anywhere             anywhere

Chain delegate_output (1 references)
pkts bytes target     prot opt in     out     source               destination
   23  3972 ACCEPT     all  --  any    lo      anywhere             anywhere
  136 30742 output_rule  all  --  any    any     anywhere             anywhere            /* user chain for output */
   67 25674 ACCEPT     all  --  any    any     anywhere             anywhere            ctstate RELATED,ESTABLISHED
   69  5068 zone_lan_output  all  --  any    br-lan  anywhere             anywhere

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
    0     0 ACCEPT     tcp  --  any    any     anywhere             anywhere            tcp dpt:https
    0     0 ACCEPT     tcp  --  any    any     anywhere             anywhere            tcp dpt:www
    0     0            tcp  --  any    any     anywhere             anywhere            tcp dpt:ssh recent: SET name: SSH_CHECK side: source
    0     0 DROP       all  --  any    any     anywhere             anywhere            recent: UPDATE seconds: 300 hit_count: 11 name: SSH_CHECK side: source
    0     0 ACCEPT     tcp  --  any    any     anywhere             anywhere            tcp dpt:ssh
    0     0 ACCEPT     tcp  --  any    any     anywhere             anywhere            tcp dpt:https
    0     0 ACCEPT     tcp  --  any    any     anywhere             anywhere            tcp dpt:www
    0     0            tcp  --  any    any     anywhere             anywhere            tcp dpt:ssh recent: SET name: SSH_CHECK side: source
    0     0 DROP       all  --  any    any     anywhere             anywhere            recent: UPDATE seconds: 300 hit_count: 11 name: SSH_CHECK side: source
    0     0 ACCEPT     tcp  --  any    any     anywhere             anywhere            tcp dpt:ssh

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
    0     0 REJECT     tcp  --  any    any     anywhere             anywhere            reject-with tcp-reset
    0     0 REJECT     all  --  any    any     anywhere             anywhere            reject-with icmp-port-unreachable

Chain syn_flood (1 references)
pkts bytes target     prot opt in     out     source               destination
    1    52 RETURN     tcp  --  any    any     anywhere             anywhere            tcp flags:FIN,SYN,RST,ACK/SYN limit: avg 25/sec burst 50
    0     0 DROP       all  --  any    any     anywhere             anywhere

Chain zone_lan_dest_ACCEPT (1 references)
pkts bytes target     prot opt in     out     source               destination
   69  5068 ACCEPT     all  --  any    br-lan  anywhere             anywhere

Chain zone_lan_forward (1 references)
pkts bytes target     prot opt in     out     source               destination
    0     0 ACCEPT     all  --  br-lan br-lan  anywhere             anywhere
    0     0 forwarding_lan_rule  all  --  any    any     anywhere             anywhere            /* user chain for forwarding */
    0     0 zone_wan_dest_ACCEPT  all  --  any    any     anywhere             anywhere            /* forwarding lan -> wan */
    0     0 zone_lan_src_REJECT  all  --  any    any     anywhere             anywhere

Chain zone_lan_input (1 references)
pkts bytes target     prot opt in     out     source               destination
  228 28967 input_lan_rule  all  --  any    any     anywhere             anywhere            /* user chain for input */
  228 28967 zone_lan_src_ACCEPT  all  --  any    any     anywhere             anywhere

Chain zone_lan_output (1 references)
pkts bytes target     prot opt in     out     source               destination
   69  5068 output_lan_rule  all  --  any    any     anywhere             anywhere            /* user chain for output */
   69  5068 zone_lan_dest_ACCEPT  all  --  any    any     anywhere             anywhere

Chain zone_lan_src_ACCEPT (1 references)
pkts bytes target     prot opt in     out     source               destination
  228 28967 ACCEPT     all  --  br-lan any     anywhere             anywhere

Chain zone_lan_src_REJECT (1 references)
pkts bytes target     prot opt in     out     source               destination
    0     0 reject     all  --  br-lan any     anywhere             anywhere

Chain zone_wan_dest_ACCEPT (2 references)
pkts bytes target     prot opt in     out     source               destination

Chain zone_wan_forward (0 references)
pkts bytes target     prot opt in     out     source               destination
    0     0 MINIUPNPD  all  --  any    any     anywhere             anywhere
    0     0 forwarding_wan_rule  all  --  any    any     anywhere             anywhere            /* user chain for forwarding */
    0     0 zone_wan_src_REJECT  all  --  any    any     anywhere             anywhere

Chain zone_wan_input (0 references)
pkts bytes target     prot opt in     out     source               destination
    0     0 input_wan_rule  all  --  any    any     anywhere             anywhere            /* user chain for input */
    0     0 ACCEPT     udp  --  any    any     anywhere             anywhere            udp dpt:bootpc /* Allow-DHCP-Renew */
    0     0 ACCEPT     icmp --  any    any     anywhere             anywhere            icmp echo-request /* Allow-Ping */
    0     0 zone_wan_src_REJECT  all  --  any    any     anywhere             anywhere

Chain zone_wan_output (0 references)
pkts bytes target     prot opt in     out     source               destination
    0     0 output_wan_rule  all  --  any    any     anywhere             anywhere            /* user chain for output */
    0     0 zone_wan_dest_ACCEPT  all  --  any    any     anywhere             anywhere

Chain zone_wan_src_REJECT (2 references)
pkts bytes target     prot opt in     out     source               destination

6

Odp: 2 routery, 1 sieć

Jak masz fizycznie podłączy pierwszy z drugim i skąd się do drugiego chcesz dostać? Z internetu?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

7

Odp: 2 routery, 1 sieć

Z pierwszego do gui drugiego. Internet z obydwóch śmiga.

8

Odp: 2 routery, 1 sieć

Jak są połączone? lan -> wan czy lan -> lan?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.