Freesco, NND, CDN, EOS

http://www.freesco.pl
Dzisiaj jest czwartek, 18 kwietnia 2024, 23:40

Strefa czasowa UTC+2godz.




Nowy temat Odpowiedz w temacie  [ Posty: 2 ] 
Autor Wiadomość
Post: piątek, 13 stycznia 2006, 10:37 
Offline

Rejestracja: środa, 14 grudnia 2005, 12:46
Posty: 14
jak zablokowac gg? szukalem na forum i probowalem roznych metod i lipa :cry: problem wyglada nastepujaca skonfigurowalem firewalla tak aby blokowal gg wszystkim kompom ale nie blokuje jak trzeba albo nie wiem...... mianowicie gg dziala :/ a jak podepne laptopa w dowolnym miejcu sieci to gg mam pieknie zablokowane :| czy ktos mi powie co jest nie tak. pomocy !!!


Na górę
 Wyświetl profil  
 
Post: piątek, 13 stycznia 2006, 10:39 
Offline

Rejestracja: środa, 14 grudnia 2005, 12:46
Posty: 14
#!/bin/sh
#
# User's part of start up scripts
# You may add your command here, see descriptions below

. /etc/system.cfg
. /etc/colors
. /etc/music.cfg

case "$1" in

boot) # Add hardware/software initialization here.
# This part is called once when linux is already running
# but router is not started yet.
;;

start) echo -n "Starting rc_user... "
# Add commands here you want to execute when starting
# the router.
# Use the fork command to launch programs which normally stay
# in the foreground.
# This part is called after all rc_* files.
=
;;

stop) echo -n "Stopping rc_user... "
# Add commands here you want to execute when restarting,
# shutting down or rebooting.
# Be careful not to use any commands which wait for user input.
# This part is called before all rc_* files.
=
;;

restart)
# The next sequence is usually enough.
rc_user stop; rc_user start
;;

firewall)
# Add your custom firewall rules here.
# Warning, incorrect rules could leave your system insecure.
# $INET always represents the Internet interface. But only when
# this script is called from the rc_masq file.
# These rules come before standard system rules.
# Example:
# reject incomming tcp connections to port 22 from the
# internet and log them
#ipfwadm -I -a deny -P tcp -W $INET -D 0.0.0.0/0 22 -y -o
#
# ----> Blokada calego ruchu LAN <--> INTERNET <----
ipfwadm -I -i reject -S $NETWORK0/$NETMASK0
ipfwadm -I -i reject -S $NETWORK1/$NETMASK1
#
#----> Odblokowanie ruchu DNS <----
ipfwadm -I -i accept -P udp -S 10.10.2.0/24 -D any/0 53
#
# ----> Odblokowanie WWW (http i http secure-https) <----
ipfwadm -I -i accept -P tcp -S 10.10.2.0/24 -D any/0 80 82 443
#
# ----> Odblokowanie FTP <----
ipfwadm -I -i accept -P tcp -S 10.10.2.0/24 -D any/0 21
#
# ----> Oblokowanie poczty na smtp i pop3 <----
ipfwadm -I -i accept -P tcp -S 10.10.2.0/24 -D any/0 25 110
#
# ----> Odblokowanie Telnetu w LAN-ie<----
ipfwadm -I -i accept -P tcp -S 10.10.2.0/24 -D 10.10.2.0/24 23
#
;;

newip) # This part is called when router got new IP address from
# ISP's DHCP server.
# The next sequence is usually enough.
# rc_user stop; rc_user start
;;

status) # Add commands that print out your service(s) status.
any ;;
esac


Na górę
 Wyświetl profil  
 
Wyświetl posty nie starsze niż:  Sortuj wg  
Nowy temat Odpowiedz w temacie  [ Posty: 2 ] 

Strefa czasowa UTC+2godz.


Kto jest online

Użytkownicy przeglądający to forum: Obecnie na forum nie ma żadnego zarejestrowanego użytkownika i 8 gości


Nie możesz tworzyć nowych tematów
Nie możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz dodawać załączników

Szukaj:
Przejdź do:  
cron
Technologię dostarcza phpBB® Forum Software © phpBB Group
Hosting: Compus-Net
RobertKonik.pl