Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Limit NAT VPS Email Delivery
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Limit NAT VPS Email Delivery

Wira_SoenaryoWira_Soenaryo Member
edited February 2023 in Help

Hai..

Currently I have one dedi server put on colocation.
I install virtualizor under Ubuntu 20.04.

Because I only have limited IP Address, I plan to create NAT VPS for some of my client. May I know how to prevent / limit email out from each NAT VPS? What I mean is, because NAT VPS share a same IP Address, I'm afraid if one VPS got hacked and sent a lot of SPAM email... then the IP being blacklisted, will sacrifice whole client on that particular IP Address.

Any suggestions are very welcome.
Thanks...

Comments

  • As MTAs normally use port 25/tcp to send emails, it is as easy as just block this port outbound. e.g. ufw deny out 25

  • Block commonly used SMTP ports e.g: 25, 465, 587, and 2525.

  • Thank you for the suggestion. Then it will totally block the NAT VPS from sending out an email... Any other way instead of fully block, but limit the number of email out?

  • Limited spam is still spam. If I was stuck with NAT VPS, I'd consider using a 3rd party SMTP service.

    Thanked by 1Ganonk
  • @kdh said:
    Block commonly used SMTP ports e.g: 25, 465, 587, and 2525.

    I would not block 587, as it is only used by mailclients and therefore would only block 3rd party mailservices.

  • yoursunnyyoursunny Member, IPv6 Advocate

    @lorian said:
    As MTAs normally use port 25/tcp to send emails, it is as easy as just block this port outbound. e.g. ufw deny out 25

    sudo ufw route deny out on uplink to any port 25

Sign In or Register to comment.