Results 1 to 7 of 7
  1. #1

    * hi,guys,solusvm disable port 25


    ,i'm using solusvm manager systems and running 30 vps for my Client ,my,i want disable ALL Client 25 port,if client need use 25 port by send TK

    can any one help please thank you

  2. #2
    Join Date
    Jul 2009
    Option 1. Create a OS Template with Disabled/Blocked Port in firewall.

    O2. Use IP Tables/Server Firewall to block port 25 by VPS IP Address.
    Dewlance® Cheap Windows VPS - Chicago/Orlando/Vegas/AZ - SSD
    WHMCS ReadyMadeKB - Tutorials for cPanel/InterWorx/Softaculous& Growing..
    Super Cheap Annually Shared Hosting - Canada/US/UK

  3. #3
    Join Date
    Aug 2012

    Please have a look here.

    Block Port 25 On SolusVM/Xen With IPtables
    SolusVM (at the time of this writing) has no internal method for firewalling customers containers. I find it often necessary to restrict ports on customers (normally port 25) and after trial and error came up with some rules for IPtables to facilitate this at the hardware node level. SolusVM uses the FORWARD chain inside of IPtables so all you need to do is:
    iptables -I FORWARD 1 -d $ip -p tcp -m tcp --dport 25 -j DROP
    iptables -I FORWARD 1 -s $ip -p tcp -m tcp --dport 25 -j DROP
    ...where $ip is the IP you are restricting port traffic on. The above rules prevent all IN/OUT port 25 traffic to a particular host.

  4. #4
    Join Date
    Oct 2012
    Miami, FL

    port 25 block, vps port block, vps iptables, linux iptables

    Safest granular way to do this is through IPTables / Firewall. Block port by source and destination IP address on the slave nodes, where the source and destination will be the IP address of the VPS you need to block from traversing traffic through port 25, either inbound or outbound.

    Please, note that SolusVM uses the FORWARD chain.

    For example:

    1. iptables -I FORWARD 1 -d $VPS_IP -p tcp -m tcp --dport 25 -j DROP  
    2. iptables -I FORWARD 1 -s $VPS_IP -p tcp -m tcp --dport 25 -j DROP

  5. #5
    Thank you, that looks like the best way to do it, im going to give it a try now

  6. #6
    Join Date
    Jun 2011
    If your disabling port 25 for all clients thats a real inefficient way to do it. Instead use

    Iptables -I FORWARD -p tcp --sport 25 -j DROP
    Iptables -I FORWARD -p tcp --dport 25 -j DROP

    I.e. you'll have only two rules instead of two per vps.

  7. #7
    I'm assuming you're having or want to avoid spam problems? If you're using OpenVZ you can check out nodewatch:

    You can use it to monitor how many SMTP connections each VM has and even set parameters to automatically suspend VM's with X amount of SMTP connections. We're using this on all of our OpenVZ nodes and have seen great results in cutting down spam and abusers in general. - Specializing In Dedicated Servers and Financial Hosting
    True Enterprise Service, Tier 3 Manhattan Datacenter, 100+ Gbps Network, 100% Uptime Guarantee, 24x7 Support - Email, Tickets, Phone and Live Chat
    Bandwidth Graphs, Remote Power Control, Automated OS Re-installs, Secured IPMI+KVM Included With Every Server

Similar Threads

  1. CSF - Disable PORT SCAN ALERT
    By monitor2000com in forum Hosting Security and Technology
    Replies: 6
    Last Post: 11-28-2012, 07:20 PM
  2. [US] HosterBin :: $1.29 :: 1Gbps Port :: SolusVM
    By [email protected] in forum VPS Hosting Offers
    Replies: 4
    Last Post: 07-20-2012, 05:01 PM
  3. How do I disable port 22 and use a different port?
    By tomdorrian in forum Dedicated Server
    Replies: 12
    Last Post: 04-22-2011, 01:54 PM
  4. how are you guys teaming your new Dell R610/R710 4 port NIC's?
    By intrikrakin in forum Colocation and Data Centers
    Replies: 7
    Last Post: 02-10-2010, 01:17 PM

Tags for this Thread

Posting Permissions

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