I have the following situation:
Attacker machine connected to a router with public IP assigned from ISP, forwarding enabled.
Victim machine connected to another router, (obviously) different IP assigned from different ISP.
I want establish a meterpreter session with reverse tcp. I create payload executable with msfvenom giving public IP of attacker router as LHOST parameter, then I start the listener setting the local IP of attacker machine as LHOST.
Till here no problem.
I tried to do the same with the attacker machine connected to a self made VPN server with no success. Is possible to do this?
If so, which IP addresses I have to set both in payload and in listener to get it working?