By brunokarklis
I’m trying to run port knocking work on a CSF on a small VPS, i setup this:
1 - the result of csf first test ok
2 -
TCP_IN = “53,80” TCP_OUT = “53,80,113,443” UDP_IN = “53” UDP_OUT = “53,113,123” PORTKNOCKING = “3000;TCP;30;1000;1001;1002;1003” //dummy ports 3 - after csf -r
4 - after restarted the vps
5 - tryed to use knockd on pc to knock the server
knock -v 0.0.0.0 1000 1001 1002 1003 //dummy ip 6 - and less than 20 seconds use
ssh myuser@0.0.0.0 -p 3000 //dummy ip but cant connect, i never did it before, like a printf(“HelloWorld”); for me. If someone could help me i will be really glad.
More info, my sshd_config:
PORT 3000 PermitRootLogin no StrictModes yes AllowUsers myuser
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.