|
|
#1 |
|
Member
Join Date: Apr 2009
Posts: 49
|
firewall-pli-dm500-V2R1
======================================= firewall v2 easy setup for gbox by OniK ======================================= script made by agecanonixeg ======================================= this is an quick easy setup please read the readme for full infos ======================================= - backup /var/bin/firewall.sh - put : firewall.sh firewall.resolve.sh firewall.gbox.sh in /var/bin and chmod 755 - if you want some log edit firewall.resolve.sh line 48 : # echo 1 > $GBOXFILE Just remove the # to active firewall log. log will be in /var/tmp/gbox_restart.log - put : firewall.dyndns firewall.users in /var/etc and chmod 644 In firewall.dyndns you must put all dyndns with dynamic IP. In firewall.users you must put all static IP (including the IP of your peers who have static IP) - if you don't use crontabs : telnet via dcc ... contrab -e "enter" press escape button on your keyboard type command :wq "enter" put root file in /var/spool/cron/crontabs and check the rights they must be 600 (rw-------) - if you are already using crontabs : just add the line in the existing root file using command crontab -e - To start firewall : blue button select system settings service to run select firewall and crond save -For info existing commands are : firewall.sh stop firewall.sh start firewall.sh restart now says byebye attacks........ Code: V2 scripts for firewall. ================================================== ======================= ! B E F O R E U S E R E A D A L L T H I S C A R E F U L Y ! ================================================== ======================= Optimized for gbox Emu use. ============================= W A R N I N G ============================= All the scripts can be modify with an editor but this must be done directly on the DM under linux to keep the special linux characters compatibility. If you don't, the scripts can be not executed. Exist one solution to edit those scripts with a standard editor on PC.
|
|
|
|
![]() |
| Tags |
| firewallplidm500v2r1 |
| Thread Tools | |
| Display Modes | |
|
|
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.