Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Making private ip reachable to the public internet?


  • Please log in to reply
15 replies to this topic

#1 Alvas Rawuther

Alvas Rawuther

  • Members
  • 356 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Mumbai, India.
  • Local time:03:26 AM

Posted 10 September 2013 - 08:46 AM

I have a private ip say, xxx.xx.xxx.xx:xxxx
And I have a different public ip say: yyy.yy.yyy.yy
 

How do I allow my private IP(i.e. my machine) to be reachable to the public internet(for a condition zero server here). Also, my IP is assigned to me by my ISP, it changes every few days(but that don't matter because I only have the server running when my PC is on and I can start it each time). But I don't have a Modem/router in my home, except for the LAN card of course. My net just plugs into my LAN port, I dial an assigned username/password and am connected to the WWW.

Any help would be appreciated.


SYSTEM SPECS.
Windows 7 Ultimate SP1 | Intel Core 2 Duo E7500 @ 2.93GHz | 4.00 GB Dual-Channel DDR2 @ 333MHz RAM | 488 GB WD SATA HDD | 1024MB ATI Radeon HD 4350 | No real-time antivirus | MBAM on-demand | Windows 7's Built-in Firewall |

BC AdBot (Login to Remove)

 


#2 wing987

wing987

  • Members
  • 177 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Payette, ID
  • Local time:03:56 PM

Posted 10 September 2013 - 09:43 AM

You would have to set up port forwarding on your router.  It does get decently complex if you do not know what you are doing, so please be VERY careful not to mess up your settings.  Write down the ones you had before a change so you can bring it back if it messes things up!  The following link should help.

 

Oh, and FYI: the private IP you listed is a socket.  The last octet would be your port number.  The first four is the IP.  When combined it becomes a socket, a specific set of instructions to contact your computer for a specific result (FTP for example). Just thought you would like to know, not trying t obe insultive.

 

http://www.nch.com.au/kb/10046.html


-- Windows 7 Ultimate on custom built system, Windows 10 on under powered laptop. Sophos UTM 9, Ubuntu Server and Windows Server 2008 R2. HyperV Virtualization --

 

"The hottest places in hell are reserved for those who in a period of moral crisis maintain their neutrality," John F. Kennedy


#3 Alvas Rawuther

Alvas Rawuther
  • Topic Starter

  • Members
  • 356 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Mumbai, India.
  • Local time:03:26 AM

Posted 10 September 2013 - 09:59 AM

Oh, and FYI: the private IP you listed is a socket.  The last octet would be your port number.  The first four is the IP.  When combined it becomes a socket, a specific set of instructions to contact your computer for a specific result (FTP for example). Just thought you would like to know, not trying t obe insultive.

Yes, and that is so because it's supposed point to my CZ server, and thus I'm to use a specific port.

 

 

You would have to set up port forwarding on your router.  It does get decently complex if you do not know what you are doing, so please be VERY careful not to mess up your settings.  Write down the ones you had before a change so you can bring it back if it messes things up!  The following link should help.

.....

http://www.nch.com.au/kb/10046.html

 

As I said, I do not have a router inside my home. I have a dynamic IP and a LAN cable connected to my PC. I then just dial my connection with a certain username and password. I'm looking at the link ATM, will get you an update soon.
b9FbdEz.jpg


Edited by Alvas Rawuther, 10 September 2013 - 10:03 AM.

SYSTEM SPECS.
Windows 7 Ultimate SP1 | Intel Core 2 Duo E7500 @ 2.93GHz | 4.00 GB Dual-Channel DDR2 @ 333MHz RAM | 488 GB WD SATA HDD | 1024MB ATI Radeon HD 4350 | No real-time antivirus | MBAM on-demand | Windows 7's Built-in Firewall |

#4 wing987

wing987

  • Members
  • 177 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Payette, ID
  • Local time:03:56 PM

Posted 10 September 2013 - 10:15 AM

yikes, i really screwed the pooch on that one.  Ok, let me dig a little deeper. However i believe that if you are connected via a single line, and you want your single machine to be reachable on the public domain you would need a router. The whole concept of having a NAT (aka a poor-mans firewall, not really effective but it is something) would seperate your private network and public network, which a router can do easily but I doubt your NIC can do it.


-- Windows 7 Ultimate on custom built system, Windows 10 on under powered laptop. Sophos UTM 9, Ubuntu Server and Windows Server 2008 R2. HyperV Virtualization --

 

"The hottest places in hell are reserved for those who in a period of moral crisis maintain their neutrality," John F. Kennedy


#5 coxchris

coxchris

  • Members
  • 1,151 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Atwater
  • Local time:02:56 PM

Posted 10 September 2013 - 10:38 AM

I would install Teamviewer on the computer and set it up as a unattended access  


Edited by coxchris, 10 September 2013 - 10:38 AM.

AA in Computer Networking Technology

BS in Information Technology 

Comptia A+, Project+, L+

Renewable:  N+,S+

CIW Web Design Specialist, JavaScript Specialist,  Database Design Specialist 

LPIC-1, SUSE 


#6 wing987

wing987

  • Members
  • 177 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Payette, ID
  • Local time:03:56 PM

Posted 10 September 2013 - 10:41 AM

You can set up multi-homing on your NIC, but only if you do not run DHCP (static is required).  Since your ISP changes your IP I am assuming you are on a DHCP lease with them,  I am also assuming that you are already behind their NAT and you do not have a public IP (even if they are assigning you a class A private and you yourself will run a class C private).  Additionally, with only a single device and a single connection I am not seeing much benefit other than traffic management.  However I found a couple decent websites that could hook you up if you can get your ISP to give you a static, which is normally reserved for businesses as they can charge extra for the "service."

 

For Linux

http://www.tecmint.com/create-multiple-ip-addresses-to-one-single-network-interface/

 

For Windows

http://www.loadtestingtool.com/help/how-setup-ip.shtml



I do have to say I like the teamviewer idea better, but I do not know what your plans are and why you need the setup you are asking for.


-- Windows 7 Ultimate on custom built system, Windows 10 on under powered laptop. Sophos UTM 9, Ubuntu Server and Windows Server 2008 R2. HyperV Virtualization --

 

"The hottest places in hell are reserved for those who in a period of moral crisis maintain their neutrality," John F. Kennedy


#7 Alvas Rawuther

Alvas Rawuther
  • Topic Starter

  • Members
  • 356 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Mumbai, India.
  • Local time:03:26 AM

Posted 10 September 2013 - 11:16 AM

I would install Teamviewer on the computer and set it up as a unattended access  

Can you(or anyone else) explain that?
Thanks. :)

 

You can set up multi-homing on your NIC, but only if you do not run DHCP (static is required).  Since your ISP changes your IP I am assuming you are on a DHCP lease with them,  I am also assuming that you are already behind their NAT and you do not have a public IP (even if they are assigning you a class A private and you yourself will run a class C private).  Additionally, with only a single device and a single connection I am not seeing much benefit other than traffic management.  However I found a couple decent websites that could hook you up if you can get your ISP to give you a static, which is normally reserved for businesses as they can charge extra for the "service."

 

For Linux

http://www.tecmint.com/create-multiple-ip-addresses-to-one-single-network-interface/

 

For Windows

http://www.loadtestingtool.com/help/how-setup-ip.shtml



I do have to say I like the teamviewer idea better, but I do not know what your plans are and why you need the setup you are asking for.

Sorry for not having elaborated. Here's what I want to do I want to run a condition zero server for online play with my friends, which I as well as my friends will be able to join through the internet. The server doesn't need to be ON all the time, so do I really require a static IP? Since even if the IP changes in a few days time, it won't matter, because each time I set up play with my friends, I'll start the server again each time. And it'll only be on for a few hours before we decide to stop playing.

HwePqyg.jpg
 

I believe that my ISP has set up my internet connection in such a way, because when I turn on network discovery, I can see quite a few other computers(3-4): all those users that use my ISP in this building, or society or perhaps nearby area are connected to a single router/modem using LAN cables. And all have the same public IP(right?). We/I do not have direct physical/or otherwise access to the modem/router devices.


SYSTEM SPECS.
Windows 7 Ultimate SP1 | Intel Core 2 Duo E7500 @ 2.93GHz | 4.00 GB Dual-Channel DDR2 @ 333MHz RAM | 488 GB WD SATA HDD | 1024MB ATI Radeon HD 4350 | No real-time antivirus | MBAM on-demand | Windows 7's Built-in Firewall |

#8 wing987

wing987

  • Members
  • 177 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Payette, ID
  • Local time:03:56 PM

Posted 10 September 2013 - 12:18 PM

Ahh ok, now that makes more sense.

 

First off, you might have a problem getting this to work properly being from your description it sounds like your ISP has set up the entire builing on it's own private network (not secure) which in itself may be a member of another private network.  The problem with that is you do not have access to the routers to set up port forwarding, or any sort of pass through.

 

Before we continue can you please go to www.ipchicken.com and write down the IP that it says you have.

 

Secondly, click your start/windows button, in the search bar type CMD and hit enter. Once the command prompt opens type ipconfig /all

you will see a long list of information (depending on what is installed on your system), I am only interested in the one for your network adapter physical address.  Please post both that IP address and the one that IP chicken gives you.


-- Windows 7 Ultimate on custom built system, Windows 10 on under powered laptop. Sophos UTM 9, Ubuntu Server and Windows Server 2008 R2. HyperV Virtualization --

 

"The hottest places in hell are reserved for those who in a period of moral crisis maintain their neutrality," John F. Kennedy


#9 wing987

wing987

  • Members
  • 177 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Payette, ID
  • Local time:03:56 PM

Posted 10 September 2013 - 12:27 PM

I noticed that you are using Steam to power the game. Their server setup information should work without having to set up a lot of configurations, specifically your IP settings.  It should run through it, provided port forwarding and UPNP are enabled on the router that you do not have access too.


-- Windows 7 Ultimate on custom built system, Windows 10 on under powered laptop. Sophos UTM 9, Ubuntu Server and Windows Server 2008 R2. HyperV Virtualization --

 

"The hottest places in hell are reserved for those who in a period of moral crisis maintain their neutrality," John F. Kennedy


#10 Alvas Rawuther

Alvas Rawuther
  • Topic Starter

  • Members
  • 356 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Mumbai, India.
  • Local time:03:26 AM

Posted 10 September 2013 - 02:29 PM

Ahh ok, now that makes more sense.

 

First off, you might have a problem getting this to work properly being from your description it sounds like your ISP has set up the entire builing on it's own private network (not secure) which in itself may be a member of another private network.  The problem with that is you do not have access to the routers to set up port forwarding, or any sort of pass through.

 

Before we continue can you please go to www.ipchicken.com and write down the IP that it says you have.

 

Secondly, click your start/windows button, in the search bar type CMD and hit enter. Once the command prompt opens type ipconfig /all

you will see a long list of information (depending on what is installed on your system), I am only interested in the one for your network adapter physical address.  Please post both that IP address and the one that IP chicken gives you.

Public IP via IP Chicken

Current IP Address
114.79.170.228 


Name Address: 114.79.170.228.dvois.com
Remote Port: 49661
Browser: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1622.7 Safari/537.36
Windows IP Configuration


   Host Name . . . . . . . . . . . . : home-PC
   Primary Dns Suffix  . . . . . . . : 
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No


PPP adapter Broadband ( 5 - NET ):


   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Broadband ( 5 - NET )
   Physical Address. . . . . . . . . : 
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 10.170.101.131(Preferred) 
   Subnet Mask . . . . . . . . . . . : 255.255.255.255
   Default Gateway . . . . . . . . . : 0.0.0.0
   DNS Servers . . . . . . . . . . . : 114.79.129.2
                                       114.79.129.4
   NetBIOS over Tcpip. . . . . . . . : Disabled


Ethernet adapter Local Area Connection:


   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Realtek RTL8139/810x Family Fast Ethernet NIC
   Physical Address. . . . . . . . . : 00-E0-1C-3C-1E-3C
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::a95e:bfdd:e690:9b43%11(Preferred) 
   Autoconfiguration IPv4 Address. . : 169.254.155.67(Preferred) 
   Subnet Mask . . . . . . . . . . . : 255.255.0.0
   Default Gateway . . . . . . . . . : 114.79.186.21
   DHCPv6 IAID . . . . . . . . . . . : 234938396
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-19-9A-CE-74-00-E0-1C-3C-1E-3C
   DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
                                       fec0:0:0:ffff::2%1
                                       fec0:0:0:ffff::3%1
   NetBIOS over Tcpip. . . . . . . . : Enabled


Tunnel adapter isatap.{B842F56E-7299-4357-9CB7-AA394B49CC1B}:


   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes


Tunnel adapter isatap.{7CDEDE05-8E34-43C5-B927-F95A113FB741}:


   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . : 
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

....

I noticed that you are using Steam to power the game. Their server setup information should work without having to set up a lot of configurations, specifically your IP settings.  It should run through it, provided port forwarding and UPNP are enabled on the router that you do not have access too.

Do you mean that it should handle everything automatically. But when I start the server, it still gives me the private address to connect to, and not a public address, and therefore I can't connect to the server. Here's a screenshot.:

fsO58vo.jpg

 

Thanks for your help so far, I'm sure that we can sort this out together. :)

UPDATE: Is this of any help?


Edited by Alvas Rawuther, 10 September 2013 - 02:31 PM.

SYSTEM SPECS.
Windows 7 Ultimate SP1 | Intel Core 2 Duo E7500 @ 2.93GHz | 4.00 GB Dual-Channel DDR2 @ 333MHz RAM | 488 GB WD SATA HDD | 1024MB ATI Radeon HD 4350 | No real-time antivirus | MBAM on-demand | Windows 7's Built-in Firewall |

#11 wing987

wing987

  • Members
  • 177 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Payette, ID
  • Local time:03:56 PM

Posted 10 September 2013 - 03:00 PM

that is actually exactly what you need.  The problem is your IP is a class A private IP, meaning your ISP has you hidden behind their router with a whole bunch of other people.  The IP your are using is not able to be used publically. HOWEVER if you set up UPnP you can tell that router to operate the way you want. But, that router is owned by your ISP and I am doubtful they left it open for you to make changes to.

 

this would work great if you were all behind the same router...


Edited by wing987, 10 September 2013 - 03:26 PM.

-- Windows 7 Ultimate on custom built system, Windows 10 on under powered laptop. Sophos UTM 9, Ubuntu Server and Windows Server 2008 R2. HyperV Virtualization --

 

"The hottest places in hell are reserved for those who in a period of moral crisis maintain their neutrality," John F. Kennedy


#12 Alvas Rawuther

Alvas Rawuther
  • Topic Starter

  • Members
  • 356 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Mumbai, India.
  • Local time:03:26 AM

Posted 11 September 2013 - 01:58 AM

that is actually exactly what you need.  The problem is your IP is a class A private IP, meaning your ISP has you hidden behind their router with a whole bunch of other people.  The IP your are using is not able to be used publically. HOWEVER if you set up UPnP you can tell that router to operate the way you want. But, that router is owned by your ISP and I am doubtful they left it open for you to make changes to.

 

this would work great if you were all behind the same router...

Portmapper can't seem to be able to connect to my router. I guess that I'll just use Hamachi to create a faux LAN server to play the game in. Thanks a lot for your help, BTW. :)

Can you help me with setting it up on Hamachi now?


Edited by Alvas Rawuther, 11 September 2013 - 06:24 AM.

SYSTEM SPECS.
Windows 7 Ultimate SP1 | Intel Core 2 Duo E7500 @ 2.93GHz | 4.00 GB Dual-Channel DDR2 @ 333MHz RAM | 488 GB WD SATA HDD | 1024MB ATI Radeon HD 4350 | No real-time antivirus | MBAM on-demand | Windows 7's Built-in Firewall |

#13 wing987

wing987

  • Members
  • 177 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Payette, ID
  • Local time:03:56 PM

Posted 11 September 2013 - 10:18 AM

lol, that would be a learning experience for me....never used hamachi

 

however, portmapper failed b/c you need admin rights to the router, which your ISP would not provide you. And requesting access for a server with most ISP's is a violation of the home use policy, EVEN THOUGH it is for a game, not business.


-- Windows 7 Ultimate on custom built system, Windows 10 on under powered laptop. Sophos UTM 9, Ubuntu Server and Windows Server 2008 R2. HyperV Virtualization --

 

"The hottest places in hell are reserved for those who in a period of moral crisis maintain their neutrality," John F. Kennedy


#14 Alvas Rawuther

Alvas Rawuther
  • Topic Starter

  • Members
  • 356 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Mumbai, India.
  • Local time:03:26 AM

Posted 11 September 2013 - 10:46 AM

I guess that ends it then. Thanks for your support all the way though. I'll probably post on some gaming forum for help with Hamachi. :)


SYSTEM SPECS.
Windows 7 Ultimate SP1 | Intel Core 2 Duo E7500 @ 2.93GHz | 4.00 GB Dual-Channel DDR2 @ 333MHz RAM | 488 GB WD SATA HDD | 1024MB ATI Radeon HD 4350 | No real-time antivirus | MBAM on-demand | Windows 7's Built-in Firewall |

#15 wing987

wing987

  • Members
  • 177 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Payette, ID
  • Local time:03:56 PM

Posted 11 September 2013 - 11:04 AM

anytime. Sorry that the setup your ISP has is preventing you from doing what you want.


-- Windows 7 Ultimate on custom built system, Windows 10 on under powered laptop. Sophos UTM 9, Ubuntu Server and Windows Server 2008 R2. HyperV Virtualization --

 

"The hottest places in hell are reserved for those who in a period of moral crisis maintain their neutrality," John F. Kennedy





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users