Follow us on...
Follow us on G+ Follow us on Twitter Follow us on Facebook Watch us on YouTube
Register
Results 1 to 6 of 6
  1. #1
    Status
    Offline
    okto_2005's Avatar
    Member Super Senior
    Join Date
    Jul 2007
    Posts
    655
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0

    [Info] Auto Enable P2P Firewall Rule in certain Time

    ini script ketiga gue biar program p2p bisa dijalanin sama client di waktu tertentu saja:

    kondisi: jam sibuk kerja p2p client ga boleh di-allow, luar jam sibuk boleh2 aja Click here to enlarge

    FIREWALL
    firewall, taruh paling atas ato sebelum client yg boleh/tidak akses p2p:
    /ip fire filt pr
    ;;; p2p
    chain=forward p2p=all-p2p action=drop
    chain=input p2p=all-p2p action=drop

    SCRIPT:
    name="enablep2p" owner="admin"
    policy=ftp,reboot,read,write,policy,test,winbox,pa ssword
    last-started=jul/07/2007 07:50:00 run-count=7
    source=/ip firewall filter enable [find p2p="all-p2p"]

    name="disablep2p" owner="admin"
    policy=ftp,reboot,read,write,policy,test,winbox,pa ssword
    last-started=may/09/2007 16:58:10 run-count=3
    source=/ip firewall filter disable [find p2p="all-p2p"]

    SCHEDULE:
    # NAME ON-EVENT START-DATE START-TIME INTERVAL RUN-COUNT
    0 ...
    1 ...
    2 schp2pen enablep2p may/09/2007 07:50:00 1d 1
    3 schp2pdis disablep2p may/09/2007 16:20:00 1d 0

  2. The Following 2 Users Say Thank You to okto_2005 For This Useful Post:


  3. #2
    Status
    Offline
    [a]
    [a]'s Avatar
    Administrator
    Join Date
    Jun 2007
    Location
    Jakarta, Indonesia, Indonesia
    Posts
    1,729
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    1 (100%)
    thanks...nanti dicoba ahh...


  4. #3
    Status
    Offline
    d3v4's Avatar
    Forum Guru
    Join Date
    Jul 2007
    Location
    di alam baka
    Posts
    1,015
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    bagus nih.. di coba dulu Click here to enlarge

  5. #4
    Status
    Offline
    sky16's Avatar
    Newbie
    Join Date
    Jun 2007
    Posts
    33
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    mantap ne.Boleh dicoba Click here to enlarge

  6. #5
    Status
    Offline
    DedeGhotiC's Avatar
    Baru Gabung
    Join Date
    Apr 2008
    Posts
    5
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    izin mempelajarin bos Click here to enlarge

  7. #6
    Status
    Offline
    langitcyber's Avatar
    Member
    Join Date
    Nov 2008
    Posts
    104
    Reviews
    Read 0 Reviews
    Downloads
    0
    Uploads
    0
    Feedback Score
    0
    coba ah thanks bro

 

 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •