automaticly lanching ipchains

Mavroyanopoulos Nikos nmav at hellug.gr
Sun Sep 19 20:25:16 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?
Sto rc.local sou, prostheteis tis parakatw grammes:
echo "1" > /proc/sys/net/ipv4/ip_forward
/sbin/ipchains -P forward DENY
/sbin/ipchains -A forward -s 192.168.0.0/24 -j MASQ

Twra to systima sou mporei na min exei to rc.local, opote to
bazeis se opoio apo ta init scripts theoreis oti tairiazei perissotero.
Px /etc/init.d/netbase. (kai fysika meta apo tis grammes pou settarei
to diktio).
 
> Xrst.

-- 
Nikos Mavroyanopoulos
mailto:nmav at hellug.gr
If money could talk, it would say goodbye.
--
====================================================================
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