Port Forwading With two Different IP Addresses (Public IP and WAN IP)
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
New contributor
add a comment |
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
New contributor
Search here forCGN
. 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
add a comment |
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
New contributor
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
ssh android
New contributor
New contributor
edited 2 days ago
New contributor
asked Jan 3 at 4:02
Harie Amjari
11
11
New contributor
New contributor
Search here forCGN
. 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
add a comment |
Search here forCGN
. 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
add a comment |
1 Answer
1
active
oldest
votes
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
New contributor
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
New contributor
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
add a comment |
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
New contributor
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
add a comment |
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
New contributor
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
New contributor
edited yesterday
New contributor
answered yesterday
Harie Amjari
11
11
New contributor
New contributor
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
add a comment |
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
add a comment |
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.
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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