Udost

Masz problemy z siecią bądź internetem? Zapytaj tu
ms-trex
Beginner
Posty: 386
Rejestracja: 29 listopada 2006, 18:24

Udostępnianie łącza dla ubuntu

Post autor: ms-trex »

Na debianie chcę udostepnić łącze dla ubuntu. Na kompie A (debian) jest IP 192.168.1.1 a na kompie B (ubuntu) 192.168.1.2 i brama oczywiście 192.168.1.1. Komp A pinguje komp B, ale komp B nie pinguje kompa A. Co jest grane do cholery?
thalcave
Junior Member
Posty: 526
Rejestracja: 03 maja 2007, 19:57
Lokalizacja: gdynia

Post autor: thalcave »

A co wurzuca z debiana polecenie:

Kod: Zaznacz cały

iptables -L
ms-trex
Beginner
Posty: 386
Rejestracja: 29 listopada 2006, 18:24

Post autor: ms-trex »

Między innymi coś takiego:

Kod: Zaznacz cały

Chain INPUT (policy DROP)
target     prot opt source               destination         
ACCEPT     tcp  --  192.168.6.1          anywhere            tcp flags:!FIN,SYN,RST,ACK/SYN 
ACCEPT     udp  --  192.168.6.1          anywhere            
ACCEPT     all  --  anywhere             anywhere            
ACCEPT     icmp --  anywhere             anywhere            limit: avg 10/sec burst 5 
DROP       all  --  anywhere             255.255.255.255     
DROP       all  --  anywhere             192.168.6.255       
DROP       all  --  BASE-ADDRESS.MCAST.NET/8  anywhere            
DROP       all  --  anywhere             BASE-ADDRESS.MCAST.NET/8 
DROP       all  --  255.255.255.255      anywhere            
DROP       all  --  anywhere             default             
DROP       all  --  anywhere             anywhere            state INVALID 
LSI        all  -f  anywhere             anywhere            limit: avg 10/min burst 5 
INBOUND    all  --  anywhere             anywhere            
INBOUND    all  --  anywhere             192.168.1.1         
INBOUND    all  --  anywhere             192.168.6.136       
INBOUND    all  --  anywhere             192.168.1.255       
LOG_FILTER  all  --  anywhere             anywhere            
LOG        all  --  anywhere             anywhere            LOG level info prefix `Unknown Input' 
192.168.6.136 to sieciówka na którą idzie net na debianie.
thalcave
Junior Member
Posty: 526
Rejestracja: 03 maja 2007, 19:57
Lokalizacja: gdynia

Post autor: thalcave »

ms-trex pisze: Chain INPUT (policy DROP)
polityke masz na drop zatem musisz ustawić regółkę na IP Ubuntu
ms-trex
Beginner
Posty: 386
Rejestracja: 29 listopada 2006, 18:24

Post autor: ms-trex »

No tak, to będę walczyć. Dzięki.
ODPOWIEDZ