[LUGOS] Re: SiOL in routanje lokalnih IPjev

Primož Gabrijelčič primoz at gabrijelcic.org
Wed Jun 18 10:56:13 CEST 2003


> > Take probleme rešuješ natanko s firewallom.
> 
> Aha. Torej nekaj v stilu:
> 
> iptables -A FORWARD -i ppp0 -d 192.168.0.0/16 -j DROP
> 
> za lokalno mrezo ter
> 
> iptables -A OUTPUT -i ppp0 -d 192.168.0.0/16 -j DROP
> 
> Tako?

Ne bi vedel. Jaz to naredim tako:

table <NoRoute> const { 127.0.0.1/8, 192.168.0.0/16, 172.16.0.0/12,
10.0.0.0/8, 255.255.255.255/32, 169.254.0.0/16, 192.0.2.0/24 }
block in log quick on $Ext from <NoRoute> to any
block out log quick on $Ext from any to <NoRoute>

;->

Pozdrav,
    Gp

 OBSD.si: http://obsd.17slon.org, http://obsd.17slon.org/list
 WinGpT : On the trailing edge of technology




More information about the lugos-list mailing list