Toon posts:

[FREEBSD] ipfw config

Pagina: 1
Acties:

Verwijderd

Topicstarter
ik zit met het volgende probleem:

ik had eerst mn firewall_type op "open" staan, maar wil nu zelf de rules bepalen..
nu heb ik wat rules geadd voor dns en dhcp en die werken ook goed.. ik kan gewoon vanaf de pc waar internet op binnenkomt www.freebsd.org oid pingen..

nu functioneert deze pc ook als router/gateway (natd).. het probleem is nu dat ik alleen m'n gateway kan pingen vanaf de clients.. maar internet niet kan bereiken..
gateway en dns staan gewoon hard in netwerkinstellingen..

heb overal gezocht naar rules voor het lokale netwerk, maar vindt ze alleen voor internet.. wat moet ik doen om verkeer over het lokale netwerk standaard te accepteren??

ik heb de volgende rules:

#Allow Intranet
add 00400 pass all from 10.0.0.1 to 10.0.0.0/24 via rl0
add 00401 pass all from 10.0.0.0/24 to 10.0.0.1 via rl0

#Allow DNS
add 00500 allow udp from dns_ip 53 to any in recv ed0
add 00501 allow udp from dns_ip 53 to any in recv ed0
add 00502 allow udp from any to any out

#Allow DHCP
add 00600 allow udp from dhcp_ip 67 to any 68 in recv ed0

#Allow ICMP
add 00700 allow icmp from any to any icmptypes 3
add 00701 allow icmp from any to any icmptypes 4
add 00702 allow icmp from any to any icmptypes 8 out
add 00703 allow icmp from any to any icmptypes 0 in
add 00704 allow icmp from any to any icmptypes 11 in