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.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Block outbound port in Proxmox
norival1992
Member
in Help
Hi,
How can i block port 22 and 25 on proxmox??
I am using NAT to use port forward..... Some bad guys are using vps to scan port 22 or 3389 or something else....
http://prntscr.com/a7ec46. Check here.
Comments
why not change your sshd port and drop standard port altogether?
I dont ask about inbound. I need a help on outbound.
--connlimit didn't work?
What do you mean mate ?
not sure if this is what you're looking for, http://unix.stackexchange.com/questions/139285/limit-max-connections-per-ip-address-and-new-connections-per-second-with-iptable
Oh, do you understand block outbound port ?
not really, just limit and not block out altogether
cyberciti.biz/faq/iptables-block-port/
Maybe this will help
Dear lord and you're running a VPS business.
This whole thread is scary .....
Dear lord. I worry about some people in this thread. Meant to be selling vps, but have to ask questions like this, as well as send silly answers. Even if you change the ssh port, it's not hard to find the new one.
Post your interfaces file.
I did it already, thank you all.
oh dear lord,.............. ahahahahaha
Here is, my setting. And now, it isnt working anymore
/sbin/iptables -A FORWARD -j DROP -p tcp --destination-port 25
Add lines with the ports you want to block
it is working, if i want to open for 192.168.0.2 to use it, how can i do it?