automaticly lanching ipchains

Giorgos Keramidas keramida at hades.hell.gr
Tue Sep 21 04:23:53 EEST 1999


On Sun, Sep 19, 1999 at 07:02:13PM +0300, Xristos Athanasopoulos wrote:
| Re paidia, giati otan dinw apo console xeirokinhta mia mia tis parakatw
| entoles gia masquerating doyleyei teleia, enw otan tis bazw se scriptaki
| DEN doyleyoyn? pws prepei na einai to script, kai pws AKRIBWS to bazoyme
| na trexei aytomata kata thn ekkinhsh?
| 
| /sbin/ipchains -P forward DENY
| /sbin/ipchains -A forward -s 192.168.0.0/24 -j MASQ

Bebaia, ama bariesai na diabaseis to SuSE manual, ekei pou se parepempse to
ricudini, mporeis va kaveis to eksns (to # prompt snmaivei pws prepei va
exeis superuser dikaiwmata, dnladn va kaveis kai kava login/su se root):

    # cat > /sbin/init
    /sbin/ipchains -P forward DENY
    /sbin/ipchains -A forward -s 192.168.0.0/24 -j MASQ
    ^D

kai tote sigoura 0a exeis ka0e fora pou bootareis masquerading.  Gia tnv
akribeia, 0a eivai to prwto (ki isws to movo) pragma pou 0a trexei to kernel
sou, auto eivai to movo sigouro.

/keramida
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
Ta archives tis listas einai sto http://lists.hellug.gr/archives
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users at hellug.gr
====================================================================



More information about the Linux-greek-users mailing list