Port Forwading With two Different IP Addresses (Public IP and WAN IP)












0














Actually i stablished a ssh server on the android and i want to connect to it from outside the LAN so I need the IP of my modem which have a two different IP Address; The Public IP address 110.52.x.x that shows up when i ask google what is my ip and the WAN IP that the modem shows me in the config gateway. How can i solve this problem? I have tried searching for this kind of problem but i don't see any solution for it.



I use SSHDroid App to establish a SSH server and currently listening to 192.168.254.111:2222










share|improve this question









New contributor




Harie Amjari is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Search here for CGN. You cannot port forward on your ISPs NAPT router, so trying to provide services to the public Internet from you LAN is prohibited by your ISP Terms of Service, so they do not care that CGN breaks your attempt to do that.
    – Ron Maupin
    2 days ago










  • Your ISP is likely using Carrier Grade NAT. Please read Alternatives to Port Forwarding & NAT: "There are four major problems that you may run into that would require alternatives to port forwarding. " ...
    – DavidPostill
    2 days ago










  • How about bypassing the CGN? Is there a thing like that?
    – Harie Amjari
    2 days ago
















0














Actually i stablished a ssh server on the android and i want to connect to it from outside the LAN so I need the IP of my modem which have a two different IP Address; The Public IP address 110.52.x.x that shows up when i ask google what is my ip and the WAN IP that the modem shows me in the config gateway. How can i solve this problem? I have tried searching for this kind of problem but i don't see any solution for it.



I use SSHDroid App to establish a SSH server and currently listening to 192.168.254.111:2222










share|improve this question









New contributor




Harie Amjari is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Search here for CGN. You cannot port forward on your ISPs NAPT router, so trying to provide services to the public Internet from you LAN is prohibited by your ISP Terms of Service, so they do not care that CGN breaks your attempt to do that.
    – Ron Maupin
    2 days ago










  • Your ISP is likely using Carrier Grade NAT. Please read Alternatives to Port Forwarding & NAT: "There are four major problems that you may run into that would require alternatives to port forwarding. " ...
    – DavidPostill
    2 days ago










  • How about bypassing the CGN? Is there a thing like that?
    – Harie Amjari
    2 days ago














0












0








0







Actually i stablished a ssh server on the android and i want to connect to it from outside the LAN so I need the IP of my modem which have a two different IP Address; The Public IP address 110.52.x.x that shows up when i ask google what is my ip and the WAN IP that the modem shows me in the config gateway. How can i solve this problem? I have tried searching for this kind of problem but i don't see any solution for it.



I use SSHDroid App to establish a SSH server and currently listening to 192.168.254.111:2222










share|improve this question









New contributor




Harie Amjari is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











Actually i stablished a ssh server on the android and i want to connect to it from outside the LAN so I need the IP of my modem which have a two different IP Address; The Public IP address 110.52.x.x that shows up when i ask google what is my ip and the WAN IP that the modem shows me in the config gateway. How can i solve this problem? I have tried searching for this kind of problem but i don't see any solution for it.



I use SSHDroid App to establish a SSH server and currently listening to 192.168.254.111:2222







ssh android






share|improve this question









New contributor




Harie Amjari is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Harie Amjari is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 2 days ago





















New contributor




Harie Amjari is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Jan 3 at 4:02









Harie Amjari

11




11




New contributor




Harie Amjari is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Harie Amjari is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Harie Amjari is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • Search here for CGN. You cannot port forward on your ISPs NAPT router, so trying to provide services to the public Internet from you LAN is prohibited by your ISP Terms of Service, so they do not care that CGN breaks your attempt to do that.
    – Ron Maupin
    2 days ago










  • Your ISP is likely using Carrier Grade NAT. Please read Alternatives to Port Forwarding & NAT: "There are four major problems that you may run into that would require alternatives to port forwarding. " ...
    – DavidPostill
    2 days ago










  • How about bypassing the CGN? Is there a thing like that?
    – Harie Amjari
    2 days ago


















  • Search here for CGN. You cannot port forward on your ISPs NAPT router, so trying to provide services to the public Internet from you LAN is prohibited by your ISP Terms of Service, so they do not care that CGN breaks your attempt to do that.
    – Ron Maupin
    2 days ago










  • Your ISP is likely using Carrier Grade NAT. Please read Alternatives to Port Forwarding & NAT: "There are four major problems that you may run into that would require alternatives to port forwarding. " ...
    – DavidPostill
    2 days ago










  • How about bypassing the CGN? Is there a thing like that?
    – Harie Amjari
    2 days ago
















Search here for CGN. You cannot port forward on your ISPs NAPT router, so trying to provide services to the public Internet from you LAN is prohibited by your ISP Terms of Service, so they do not care that CGN breaks your attempt to do that.
– Ron Maupin
2 days ago




Search here for CGN. You cannot port forward on your ISPs NAPT router, so trying to provide services to the public Internet from you LAN is prohibited by your ISP Terms of Service, so they do not care that CGN breaks your attempt to do that.
– Ron Maupin
2 days ago












Your ISP is likely using Carrier Grade NAT. Please read Alternatives to Port Forwarding & NAT: "There are four major problems that you may run into that would require alternatives to port forwarding. " ...
– DavidPostill
2 days ago




Your ISP is likely using Carrier Grade NAT. Please read Alternatives to Port Forwarding & NAT: "There are four major problems that you may run into that would require alternatives to port forwarding. " ...
– DavidPostill
2 days ago












How about bypassing the CGN? Is there a thing like that?
– Harie Amjari
2 days ago




How about bypassing the CGN? Is there a thing like that?
– Harie Amjari
2 days ago










1 Answer
1






active

oldest

votes


















-1














Actually i found a way. I tried to bypass CGN using ngrok.



First things first! i downloaded the Linux (ARM) file
and then because my android is already rooted i moved it to /system/bin using an app called root browser where i can access it directly in the terminal so i won't need to type ./ngrok anyway after that, i downloaded SSHDroid (NO IM NOT SPONSORING SOME APP) then start the SSH server...In the Meanwhile while SSHDroid is listening. In the terminal i type ngrok tcp -region ap 192.168.xxx.xxx:22. the 22 here is the port where SSHDroid is Listening.



You can also check my SSH server here --> 0.tcp.ap.ngrok.io
port:14315



Check it here SSH CHECKER






share|improve this answer










New contributor




Harie Amjari is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.














  • 2




    Welcome to Super User! While this may answer the question, it would be a better answer if you could provide some explanation why it does so together with detailed instructions.
    – DavidPostill
    yesterday











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});






Harie Amjari is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1390035%2fport-forwading-with-two-different-ip-addresses-public-ip-and-wan-ip%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









-1














Actually i found a way. I tried to bypass CGN using ngrok.



First things first! i downloaded the Linux (ARM) file
and then because my android is already rooted i moved it to /system/bin using an app called root browser where i can access it directly in the terminal so i won't need to type ./ngrok anyway after that, i downloaded SSHDroid (NO IM NOT SPONSORING SOME APP) then start the SSH server...In the Meanwhile while SSHDroid is listening. In the terminal i type ngrok tcp -region ap 192.168.xxx.xxx:22. the 22 here is the port where SSHDroid is Listening.



You can also check my SSH server here --> 0.tcp.ap.ngrok.io
port:14315



Check it here SSH CHECKER






share|improve this answer










New contributor




Harie Amjari is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.














  • 2




    Welcome to Super User! While this may answer the question, it would be a better answer if you could provide some explanation why it does so together with detailed instructions.
    – DavidPostill
    yesterday
















-1














Actually i found a way. I tried to bypass CGN using ngrok.



First things first! i downloaded the Linux (ARM) file
and then because my android is already rooted i moved it to /system/bin using an app called root browser where i can access it directly in the terminal so i won't need to type ./ngrok anyway after that, i downloaded SSHDroid (NO IM NOT SPONSORING SOME APP) then start the SSH server...In the Meanwhile while SSHDroid is listening. In the terminal i type ngrok tcp -region ap 192.168.xxx.xxx:22. the 22 here is the port where SSHDroid is Listening.



You can also check my SSH server here --> 0.tcp.ap.ngrok.io
port:14315



Check it here SSH CHECKER






share|improve this answer










New contributor




Harie Amjari is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.














  • 2




    Welcome to Super User! While this may answer the question, it would be a better answer if you could provide some explanation why it does so together with detailed instructions.
    – DavidPostill
    yesterday














-1












-1








-1






Actually i found a way. I tried to bypass CGN using ngrok.



First things first! i downloaded the Linux (ARM) file
and then because my android is already rooted i moved it to /system/bin using an app called root browser where i can access it directly in the terminal so i won't need to type ./ngrok anyway after that, i downloaded SSHDroid (NO IM NOT SPONSORING SOME APP) then start the SSH server...In the Meanwhile while SSHDroid is listening. In the terminal i type ngrok tcp -region ap 192.168.xxx.xxx:22. the 22 here is the port where SSHDroid is Listening.



You can also check my SSH server here --> 0.tcp.ap.ngrok.io
port:14315



Check it here SSH CHECKER






share|improve this answer










New contributor




Harie Amjari is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









Actually i found a way. I tried to bypass CGN using ngrok.



First things first! i downloaded the Linux (ARM) file
and then because my android is already rooted i moved it to /system/bin using an app called root browser where i can access it directly in the terminal so i won't need to type ./ngrok anyway after that, i downloaded SSHDroid (NO IM NOT SPONSORING SOME APP) then start the SSH server...In the Meanwhile while SSHDroid is listening. In the terminal i type ngrok tcp -region ap 192.168.xxx.xxx:22. the 22 here is the port where SSHDroid is Listening.



You can also check my SSH server here --> 0.tcp.ap.ngrok.io
port:14315



Check it here SSH CHECKER







share|improve this answer










New contributor




Harie Amjari is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this answer



share|improve this answer








edited yesterday





















New contributor




Harie Amjari is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









answered yesterday









Harie Amjari

11




11




New contributor




Harie Amjari is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Harie Amjari is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Harie Amjari is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








  • 2




    Welcome to Super User! While this may answer the question, it would be a better answer if you could provide some explanation why it does so together with detailed instructions.
    – DavidPostill
    yesterday














  • 2




    Welcome to Super User! While this may answer the question, it would be a better answer if you could provide some explanation why it does so together with detailed instructions.
    – DavidPostill
    yesterday








2




2




Welcome to Super User! While this may answer the question, it would be a better answer if you could provide some explanation why it does so together with detailed instructions.
– DavidPostill
yesterday




Welcome to Super User! While this may answer the question, it would be a better answer if you could provide some explanation why it does so together with detailed instructions.
– DavidPostill
yesterday










Harie Amjari is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















Harie Amjari is a new contributor. Be nice, and check out our Code of Conduct.













Harie Amjari is a new contributor. Be nice, and check out our Code of Conduct.












Harie Amjari is a new contributor. Be nice, and check out our Code of Conduct.
















Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1390035%2fport-forwading-with-two-different-ip-addresses-public-ip-and-wan-ip%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to reconfigure Docker Trusted Registry 2.x.x to use CEPH FS mount instead of NFS and other traditional...

is 'sed' thread safe

How to make a Squid Proxy server?