Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.
Vaše pomoc je stále potřeba!

Autor Téma: Firehol - nejde internet (vyreseno)  (Přečteno 1501 krát)

NoN4me

  • Návštěvník
  • Příspěvků: 2
Firehol - nejde internet (vyreseno)
« kdy: 25 Října 2006, 23:26:53 »
Jsem linuxovy zacatecnik a mam mensi problem stimto firewallem .Po pouziti teto konfigurace  mi prestane fungovat internet muzete mi nekdo poradit jak to opravit nebo kde delam chybu ? Vse jsem delal podle navodu HowTo co je na tomto foru . na Eth1 mam wifi ta mi funguje bez problemu a na Eth0 mam klasicky ethernet

Kód: [Vybrat]
#
# $Id: client-all.conf,v 1.2 2002/12/31 15:44:34 ktsaou Exp $
#
# This configuration file will allow all requests originating from the
# local machine to be send through all network interfaces.
#
# No requests are allowed to come from the network. The host will be
# completely stealthed! It will not respond to anything, and it will
# not be pingable, although it will be able to originate anything
# (even pings to other hosts).
#

version 5

# Accept all client traffic on any interface
# interface any world
# client all accept

DEFAULT_CLIENT_PORTS="1024:65535"

server_icq_ports="tcp/5190"
client_icq_ports="default"

interface eth+ internet src not "${UNROUTABLE_IPS}"
    policy drop
    protection strong 10/sec 10
    server ident reject with tcp-reset
#    server ssh    accept
#    server ping    accept
    client dhcp    accept
    client dns      accept
    client http     accept
    client https    accept
    client ftp      accept
    client ntp      accept
    client ssh      accept
    client icq      accept
    client cups    accept
    client samba    accept

UNMATCHED_INPUT_POLICY="DROP"
UNMATCHED_OUTPUT_POLICY="DROP"
FIREHOL_LOG_LEVEL=4

LS

  • Závislák
  • ***
  • Příspěvků: 3849
    • http://linux.euweb.cz
Firehol - nejde internet (vyreseno)
« Odpověď #1 kdy: 25 Října 2006, 23:29:49 »
Pokud jste pripojeny za routerem s prekladem adres (NAT) nahradte radek
Kód: [Vybrat]
interface eth+ internet src not "${UNROUTABLE_IPS}"timto
Kód: [Vybrat]
interface eth+ internet

NoN4me

  • Návštěvník
  • Příspěvků: 2
Firehol - nejde internet (vyreseno)
« Odpověď #2 kdy: 25 Října 2006, 23:39:28 »
dekuju moc funguje :)

 

Provoz zaštiťuje spolek OpenAlt.