LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-26-2019, 02:14 AM   #1
jacksparow
LQ Newbie
 
Registered: Apr 2019
Posts: 1

Rep: Reputation: Disabled
Port Forwarding confusions


Hi there,

I'm playing with for a few days. For test purpose i'm trying to access to my own android phone and do some operations with it. I'm using wifi for that and it's working normally with metasploit payload. But when my laptop is connected to my wifi and my android phone is using mobile data or internet (wan basically) then how can i hack it (remember i'm not trying to harm someone). I've forwarded my port in the router setting. Do i need to do that i that case? I've seen some videos on the youtube. Those guys are using ngrok or portmap.io to forward port. But i'm confused why i need to do that if i've router settings to do that. Do i need to do the same even i have the wifi router (please clear my confusion)?

Basically my question is when my laptop is connected to wifi and the desired device is connected to internet then how to hack it?

Thanks
 
Old 04-26-2019, 05:53 AM   #2
dc.901
Senior Member
 
Registered: Aug 2018
Location: Atlanta, GA - USA
Distribution: CentOS/RHEL, openSuSE/SLES, Ubuntu
Posts: 1,005

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Port forwarding on your router is for devices connected to your router.
When your phone is connected to the phone service provider (WAN as you said), it is not connected to your router then.
So, forwarding port on your router does nothing to do what you want to do.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Shorewall: port forwarding problem, port is closed even after forwarding Synt4x_3rr0r Linux - Networking 2 12-13-2009 04:36 PM
IPCHAINS port forwarding and IPTABLES port forwarding ediestajr Linux - Networking 26 01-14-2007 07:35 PM
Wine configuration confusions majordmbss Linux - Newbie 3 04-02-2005 08:12 AM
dhcpd confusions kidicarus Linux - Networking 6 11-04-2004 04:19 PM
kernel confusions? fool_inteligent Slackware 3 08-29-2002 03:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration