I'm currently trying to test some exploits through wan.
I'm using .exe files generator called thefatrat.
I launched it on my own pc, and laptop. Everything works fine as long as it is connected through one network. Problem occurs when I try to do it through "internet". I generated it to connect with my public ip, port 4444, and I also forwarded the port 4444 to my machine(the one I'm waiting for a meterpreter session). Then in terminal I use port 4444 and local ip for my machine (the same ip my port should be forwarded to).
In .exe generator:
LHOST: Public IP
SET LHOST: My machine local IP
SET LPORT: 4444
and wait for a session, which doesn't come up. When i type netstat on the machine that should connect to the second one, under the ip it says: SYN_SENT.
The weird thing is when I check if port is oppened on various sites, it says that it is not opened. I do not know why (port forwarding should be ok).
Also when I type a random port there, it also says that it's not opened (but somehow everything connects fine).
What can I do?