Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I am new to networking concepts. i know the basics of public and private ip. If two systems are in different LAN and i want to connect to one system from other and i need to send data. I've already tried with command line search, it will give only the private ip? Even if i know the public ip, how can i specify my destination system (there could be more than one system coming under the same public ip right?)
You have to configure on router or firewall of the network where the ftp server is a NAT or a PAT, in order to map a public IP address to the private address that you obtain with the netstat command.
Over than this you have to configure firewall rules on the network of the ftp server to allow inbound ftp connection to the public ip address. You can restrict this connection for the public ip used by the client.
In the network where the client is, you have to allow the client to estabilish ftp connection with the public ip address of the ftp server. You have to do it on the firewall or the router of the client network.
It is not possible to give you more details about it, the detailed implementation depends on your network topology and network devices.
Regards
Giova
Related
Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 days ago.
Improve this question
Suppose there is an IPv4 over IPv6 network, and a client inside an IPv4 subnet wants to access a server that has both IPv6 and IPv4 addresses. However, the client only knows that it is in an IPv4 network and not an IPv6-supported network. So when the client resolves the server's hostname, it receives an IPv4 address from the +A record(Because it should specify the query-type as +A). How can the client use this IPv4 address to access the server via the IPv6-only network, considering that the subnet accesses the public network via an IPv6 router that only has a public IPv6 address?
I ask the question to chatgpt, but it didn't response a clear answer.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I am trying to connect 2 virtual machines on the same host. Basically trying to ping from one to another. How can it be done if both have same IP address?
edit:
I am currently using hping3 to learn about Denial of service Syn flood. So can the 2 VMs be used for this?
If they share the same IP address this isn't possible. Ping uses ICMP echo requests and replies and ICMP doesn't use ports that could be NATted to different machine.
You'll need to bridge the vNIC to the local network so each VM gets a different IP. Alternatively, you could connect both to an internal, entirely virtual network - depending on what the hypervisor can be configured to do.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
Clients are connecting to private servers using OpenVPN, currently using raw IPs (172.X.X.X) but I would like to point more user-friendly subdomains (something.ourdomain.com) to those private IPs
Key is to
Not make our private topology public, so binding subdomains to a public DNS is not an option
Be able to push new settings to all clients efficiently, so modifying local hosts-files whenever a private IP updates could potentially be cumbersome
Not tie the routing to a specific local hardware, so doing the routing on say e.g. our office router is not really an option
Any suggestions how to achieve this considering the above points? Set-up a private DNS? Do the routing in OpenVPN?
1) Set-up private DNS server(s)
2) Push DNS server to your OpenVPN clients by addding
push "dhcp-option DNS 172.X.X.X"
to your OpenVPN server configuration (where 172.X.X.X is private IP address of your DNS server)
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I understand that the job of IP in the TCP stack, when dealing with an outgoing message, is to resolve an IP address from a host name and add this address as a header.
Is this process that IP goes through equivalent to using a tool like nslookup for a given hostname?
Your understanding is incorrect. IP doesn't know anything about device names, it only deals with IP addresses.
An application can query a DNS server or a hosts file to resolve a name into an IP address. This must be done prior to using IP to forward a packet since IP can only use an IP address. Tools, like you mention, and other applications, such as browsers, query a DNS server (requires you have the IP address of a DNS server configured) or use a hosts file to resolve the name to an IP address.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
When my PC is connected to Network, I will be getting couple of IP address.
1.) Modem Private IP address (will be like 192.168.1.3)
2.) ISP address (by searching "My ip address" in google it gives me my global IP address)
My roommate who is connected to same modem is able to ping my global IP address but not other person who is connected to different network, why??
Is there anyway that in ISP they block ICMP Packets?? So that no one be able to ping other machine ?? or do they use different routing instances for different sectors??
If we want a global IP address for my PC so that anyone can login/ping what should I enable??
Your router/modem gets a dynamic IP from ISP whenever you connect it to Internet. This address as name says is changing. If you want a constant public IP from ISP, you must request ISP for the same. This comes at a very high cost and not recommended unless you are serving a high revenue generating data on that machine.