Activity Stream
48,167 MEMBERS
6835 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 8 of 8
  1.     
    #1
    Member

    Default block all ports but let rapidleech working

    I want to block all my VPS Ports cept

    www/ssh/ftp


    Code: 
    sudo iptables -A INPUT -p tcp --dport www -j ACCEPT
     sudo iptables -A INPUT -p tcp --dport ssh -j ACCEPT
     sudo iptables -A INPUT -p tcp --dport ftp -j ACCEPT
     sudo iptables -A INPUT -j DROP

    the above code worked but they also blocked all incoming traffice so that rapidleech cant download from filehost/other web sever

    anyone could help

    regards
    vincentfkc Reviewed by vincentfkc on . block all ports but let rapidleech working I want to block all my VPS Ports cept www/ssh/ftp sudo iptables -A INPUT -p tcp --dport www -j ACCEPT sudo iptables -A INPUT -p tcp --dport ssh -j ACCEPT sudo iptables -A INPUT -p tcp --dport ftp -j ACCEPT sudo iptables -A INPUT -j DROP Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Respected Member
    Bharat's Avatar
    Website's:
    ShineServers.Com Pickadedi.com
    Quote Originally Posted by vincentfkc View Post
    I want to block all my VPS Ports cept

    www/ssh/ftp


    Code: 
    sudo iptables -A INPUT -p tcp --dport www -j ACCEPT
    sudo iptables -A INPUT -p tcp --dport ssh -j ACCEPT
    sudo iptables -A INPUT -p tcp --dport ftp -j ACCEPT
    sudo iptables -A INPUT -j DROP

    the above code worked but they also blocked all incoming traffice so that rapidleech cant download from filehost/other web sever

    anyone could help

    regards
    Try this , it should work

    Code: 
    sudo iptables -A INPUT -p tcp --dport www -j ACCEPT
    sudo iptables -A OUTPUT -p tcp --sport www -j ACCEPT
    sudo iptables -A INPUT -p tcp --dport ssh -j ACCEPT
    sudo iptables -A OUTPUT -p tcp --sport ssh -j ACCEPT
    sudo iptables -A INPUT -p tcp --dport ftp -j ACCEPT
    sudo iptables -A OUTPUT -p tcp --sport ftp -j ACCEPT
    sudo iptables -A INPUT -j DROP

  4.     
    #3
    Member
    thanx
    but not working , same error

  5.     
    #4
    Respected Member
    Bharat's Avatar
    Website's:
    ShineServers.Com Pickadedi.com
    Did you restarted iptables ?

    Service restart iptable

  6.     
    #5
    Member
    I am using ubuntu, there is no service iptables

    But I am sure I restart (the whole server)

  7.     
    #6
    Respected Member
    Bharat's Avatar
    Website's:
    ShineServers.Com Pickadedi.com
    Check this out > https://help.ubuntu.com/community/IptablesHowTo , hope it can help in anyway .

  8.     
    #7
    Member
    I think

    sudo iptables -A OUTPUT -p tcp --sport www -j ACCEPT

    shoule be

    sudo iptables -A OUTPUT -p tcp --dport www -j ACCEPT

  9.     
    #8
    Member
    not work

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to block ports on Linux VPS.
    By digimon in forum Web Development Area
    Replies: 4
    Last Post: 11th May 2012, 09:41 AM
  2. My rapidleech not working
    By ViPeRR in forum Webmaster Discussion
    Replies: 6
    Last Post: 24th Mar 2011, 08:24 PM
  3. [Other] Rapidleech @ $2.99 | Hf Working
    By m3th3lesh in forum Archive
    Replies: 64
    Last Post: 23rd Jan 2011, 10:16 AM
  4. Replies: 5
    Last Post: 18th Oct 2010, 08:22 AM
  5. Rapidleech HF Working
    By faizulhaque in forum General Discussion
    Replies: 12
    Last Post: 18th Aug 2010, 02:39 PM

Tags for this Thread

BE SOCIAL