Access to Public IP from internet

Faiz_6

Commendable
Sep 5, 2016
9
0
1,510
Sorry For My Bad English
Hi,
i want to make public Dc++ HUB. but when i start hub its only accept users whos on my LAN.
so when i try to connect hub from other network its not connecting. im using tp-link router and the Ipv4 address is 198.162.0.100. but when i connect internet i get another ipv4 address like <deleted by moderator> WAN on which hub get connected but not connect with public ip. so is there any trick i can use to allow all internet to connect me through my public ip ?
 
Solution
your WAN IP and your Public IP should be the exact same address.
The only reason for this is if you have one of those ISPs that uses 1 public IP for many customers, so bassically you are behind one of their routers performing NAT.

If this is the case there is nothing you nothing that you can just "reconfigure" to fix this
Your options are:
1) Change ISPs
2) Use a VPN that provides the extra service of a fixed IP and port forwarding (this is not the norm so you specifically have to find a VPN that will do this).
3) Contact ISP and see if they provide port forwarding for your specific need.

kanewolf

Titan
Moderator
The usual way to handle a public IP address on a home router situation is by using a dynamic DNS (DDNS). This is a way to connect a URL domain name with YOUR public IP address. You then access your router via the DDNS string. To get to servers behind your router, you have to port forward to the server.
 
What you are asking for is called DMZ.
Your router provides a very very important first layer of security blocking you from all of the undesired requests from the internet and this is one of the reasons for having seperate IP addressed then your public IP.
DMZ (De-Militarized Zone) is saying to allow all traffic to a specific computer (or computers) without any security.
Now if you run a business and want to allow some people in but not all, you have a bouncer or security gaurd etc to limit access to only authorized people, you dont just leave the door unlocked and hope only authorized people come in.

This is where Port Forwarding comes in, on your router you can set specific traffic (by seleecting which port that traffic uses) to have access to your computer but not all the others.
Now depeding on your ISP you may also need a DDNS service (Dynamic DNS or Dynamic Domain Name Service). On most residential connecitons your public IP address from the ISP will change every 1-4 weeks. Thus to keep a constant address that will always work you need to use a DDNS in order to keep it that address in sync with your public IP address so you can always use youraccount.yourddnsprovider.com instead of the public IP.

Now I dont know how it is in your country but in USA the ISPs block many common ports on residential internet connections so you cant run a normal http/https web server, cant run email server, and you also cant use normal windows smb file shares over the interent.

So now that you understand the basic requirmentes/limitations, can you tell us what specefically you are trying to connect to on your home connection and we can tell you the best route to take.
 

Faiz_6

Commendable
Sep 5, 2016
9
0
1,510
Dear kanewolf,
pls look at the attached image of my router status page in which its shows WAN IP starting with 100.XX . and i want my public ip to be there in place of that. some time its happen when i disc and recont but not sure how. when WAN IP changed to my public IP then i can connect my pc from other network through my public ip. and i have PPPOPE connection. i think my ISP using another router !


Attachment :- https://goo.gl/VQSWfR
 
your WAN IP and your Public IP should be the exact same address.
The only reason for this is if you have one of those ISPs that uses 1 public IP for many customers, so bassically you are behind one of their routers performing NAT.

If this is the case there is nothing you nothing that you can just "reconfigure" to fix this
Your options are:
1) Change ISPs
2) Use a VPN that provides the extra service of a fixed IP and port forwarding (this is not the norm so you specifically have to find a VPN that will do this).
3) Contact ISP and see if they provide port forwarding for your specific need.
 
Solution