Visit Our UNIX and Linux User Community


How to access private IP address?


 
Thread Tools Search this Thread
Special Forums Cybersecurity How to access private IP address?
# 1  
Old 06-03-2011
How to access private IP address?

HI,
I'm doing a research on client/server connection. I need to run the server code to open socket connection with the client code. To make the test real, I need to run the server code from a a machine far away from the client over the Internet. IN ORDER TO RUN THE CODE, the client has to know the IP address of the server and port in advance.The question is most of the Internet connection is given a private IP address which not real.

Is there any way other than using static IP address???


SmilieSmilieSmilieSmilieSmilie
# 2  
Old 06-03-2011
Have the router in question forward the relevant port to the internal IP.
# 3  
Old 06-04-2011
I don't think it will be possible unless you get a static IP for your connection from ISP. So far whatever I have seen, ISP machine will receive and deliver the packets to your private IP machine, the actual machines on internet will never know/see your machine's IP.

In this case you will not be able to communicate with such a machine.
# 4  
Old 06-06-2011
If you had a machine with a genuine external IP on some other service, you could set up a VPN server (perhaps with openvpn) to bridge them both. Both connect to this server, and then they could communicate with each other through it. (A VPN frequently acts like just another local private subnet, once it's operating. Ours is 172.16.x.x)

Previous Thread | Next Thread
Test Your Knowledge in Computers #526
Difficulty: Medium
In the ASCII Character Table, the first and second column indicate the binary and decimal representation respectively.
True or False?

9 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

Register Here to Permit RSS Access by IP Address

Hello Everyone, We now (only) permit access to our RSS news feed access based on IP address. This means that if you have a website or application that using our site RSS feeds, you can still do it; but your must register you site in this thread. So please reply with your IP address of your... (9 Replies)
Discussion started by: Neo
9 Replies

2. What is on Your Mind?

Plan to Restrict RSS Access by IP Address

Hello Everyone, We plan to restrict all RSS news feed access soon based on IP address. This means that if you have a website or application that using our site RSS feeds, you can still do it; but your must register you site in this thread. So please reply with your IP address of your server... (7 Replies)
Discussion started by: Neo
7 Replies

3. AIX

Generate Private IPv4 address..

Hi, I wanted to generate IPv4 address that communicates between client and server that dumps packets into machines.. Please help with the steps.. Am daemon new to networking.. (1 Reply)
Discussion started by: Priya Amaresh
1 Replies

4. AIX

Switch Port Becoming Private & restricting access

Hello folks, I have an AIX server that is connected to a storage array via a Brocade switch using 4 ports from either side. The zoning is done such that there are 4 paths visible from the server to the storage. My work involves frequent disabling or enabling the switch ports that are... (1 Reply)
Discussion started by: nkiran
1 Replies

5. Solaris

Restrict XWindows Server Access by IP Address

We want to disable graphical logins on our Solaris 10(64bit sparc )boxes, but I haven't found any information on how to do it via google. Most likely I am using the wrong search terms (i've been looking for "xdmcp" and "x11" "disable") . While looking through the output of "svcs -a | grep... (3 Replies)
Discussion started by: the.gooch
3 Replies

6. Linux

Block RSH access by IP address

Hi All i need to use RSH ( i can hear you all banging your head against a wall ) but i want to block a certain IP address from access my machine via RSH, is there way to do this thanks A (3 Replies)
Discussion started by: ab52
3 Replies

7. UNIX for Advanced & Expert Users

Can kernel process access user address space ?

Can kernel process access user address space ? (2 Replies)
Discussion started by: subhotech
2 Replies

8. Programming

Cannot access memory at address 0x8

Hi All I have a structure pointer and setting that pointer as NULL. When i tried to access the elements in the structure i am getting the error message. "Cannot access memory at address 0x8". This i tried in LINUX. When the same program is tried thro UNIX (HP-UX), i am not getting the message... (8 Replies)
Discussion started by: rkraj
8 Replies

9. UNIX for Dummies Questions & Answers

Restricting access to a machine by IP Address

I have a need to allow only certain IP addresses to access a machine running solaris 9. I am not sure how this can be accomplished. Thanks in advance for your help. Patch (2 Replies)
Discussion started by: patch
2 Replies

Featured Tech Videos