Suse 7 + Firewall
Yiannis An. Mandravellos
mandrav at acropolis.net
Thu Nov 16 18:01:01 EET 2000
> Molis stamataw to firewall, blepw olo to internet apo to idio to linux
alla
> oxi apo ta PCs pou einai pisw tou....
>
> kammia protash ?
>
> den exw perierges apaithseis... as pernane ola.. arkei ta PCs me ta
> pseytika ips na blepoun internet...
Dokimase to parakato script. Elpizo na soy kanei...
---CUT HERE---
#!/bin/sh
#Katharismos ton chains
ipchains -F input
ipchains -F output
ipchains -F forward
#Default policies
ipchains -P input DENY
ipchains -P output ACCEPT
ipchains -P forward ACCEPT
#Edo epitrepoyme ta panta apo mesa pros to internet
ipchains -A input -s 192.168.1.0/24 -d 0.0.0.0/0 -j ACCEPT
#Edo vgazoyme sto internet olo to diktyo piso apo thn IP toy linux
ipchains -A forward -s 192.168.1.0/24 -d 0.0.0.0/0 -j MASQ
---CUT HERE---
Ayto to script afhnei ta panta pros to internet... Einai oti aploystero
mporo na soy po...
More information about the Linux-greek-users
mailing list