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

Results 1 to 5 of 5
  1.     
    #1
    Member

    Default How to block ports on Linux VPS.

    can any1 help me please? cause I am providing vpn and some of my clients use it to spam emails. cause when connected to server it will look like its from the server but it is not. its from the clients PC/Laptop. Its because their ip is change using the server.

    so I need someone who can help me stop them in sending emails. using their laptops/computers. by blocking ports maybe?

    I am willing to pay. Upfront if trusted person.

    maybe with this ssh command? iptables -A OUTPUT -p tcp --dport 25 -j DROP
    digimon Reviewed by digimon on . How to block ports on Linux VPS. can any1 help me please? cause I am providing vpn and some of my clients use it to spam emails. cause when connected to server it will look like its from the server but it is not. its from the clients PC/Laptop. Its because their ip is change using the server. so I need someone who can help me stop them in sending emails. using their laptops/computers. by blocking ports maybe? I am willing to pay. Upfront if trusted person. maybe with this ssh command? iptables -A OUTPUT -p tcp --dport Rating: 5

  2.   Sponsored Links

  3.     
    #2
    ლ(ಠ益ಠლ)
    Website's:
    extremecoderz.com

  4.     
    #3
    Member
    added this 2 commands..

    iptables -A OUTPUT -p tcp --dport 25 -j DROP
    iptables -A OUTPUT -p udp --dport 25 -j DROP


    but after applying that. the speed using the VPN on the server. is getting only 1-7kb/sec.. huhu!

  5.     
    #4
    ლ(ಠ益ಠლ)
    Website's:
    extremecoderz.com
    That isn't what the tutorial instructs you do to. Furthermore, closing port 25 wont have absolutely any effect of the speed of the VPN whilst browsing the internet. Do as the instructions say. I cannot and will not help you if you ignore my instructions.

  6.     
    #5
    Member
    okay I'm going to try this..

    iptables -A OUTPUT -p tcp -s server.ip.add.res --sport 25 -d 0/0 --dport 1024:65535 -m state --state ESTABLISHED -j REJECT

    hope it will work.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. block all ports but let rapidleech working
    By vincentfkc in forum Server Management
    Replies: 7
    Last Post: 14th Jan 2012, 06:16 AM
  2. PORTS (Apache and nginx) !!
    By chiwan in forum Server Management
    Replies: 3
    Last Post: 23rd Sep 2011, 03:30 PM
  3. What Ports are Blocked at Work?
    By EvilGenius in forum Technical Help Desk Support
    Replies: 0
    Last Post: 20th Apr 2011, 07:37 AM

Tags for this Thread

BE SOCIAL