iptables

Antonis Kanavouras ankan at med.auth.gr
Tue Nov 13 14:21:01 EET 2001


Ο Dimitrios Tsimbidis <dtsimbid at otenet.gr> έγραψε στο μήνυμα συζήτησης:
voups9.g68.ln at news.domain.tsimbi...
> Xrisimopoio to Suse 7.2
> -Xrisimopoio ta iptables kai eno i anafora tou "iptables -L" einai opos
> akribos exo zitisei kai opos akribos tha ithela, apo ekso fainomai me
> anixtes portes san na min eixa katholou firewall.

Den einai apanthsh alla ena palio mou pa8hma (to exypno pouli apo th myth
pianetai)
Eixa ftaxei to firewall script mou:

/sbin/ipcains blah blah -d 123.240.55.6 blah blah
/sbin/ipcains bloh bloh -d 123.240.55.6 bloh bloh
klp klp

kai  me ipchains -L ola edeixnan tzami.

apo allo mhxanaki:
allo_mhxanaki~$ nmap moular.the_domain.gr
mpate skyloi aleste....

Vre ti ftaiei, vre ti ftaiei.... Eftaige oti o moular den eixe IP
123.240.55.6 alla 123.240.51.6 ....... ;-)
(ta IPs einai fantastika)

> -Episis trexo dden trexo ta iptables, kai eno exo sto rc.config
> energopoiimeno to IP_FORWARDING, den leitourgei san router ( p.x. apo
> esoteriko mixanima tou diktiou ping pros ta ekso de leitourgei).

Ypo8etoume oti san logikos an8rwpos (dioti kykloforoun kai orismenoi
paranoikoi ektrofeis kamhlopardalewn :-) douleyeis me ipv4
gia dokimase: cat /proc/sys/net/ipv4/ip_forward
an sou dwsei 0 vale se ena init script : echo
"1">/proc/sys/net/ipv4/ip_forward
Alloiws psakse allou. An to script sou einai swsto, an ta alla hosts xeroun
to swsto gateway klp...
(Telika ayth h parametropoihsh tou kernel mesa apo to /proc filesystem htan
poly wraia efeyresh)






More information about the Linux-greek-users mailing list