How ddns client work? [closed] - networking

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 get corious about how ddns client work,
I have router and netbook with ddns client installed.
If i type mydomain.ddns.com (provide by ddns host) , my browser direct to my netbook's webhost.
If i read about the flow ddns client, ddns client sent my public ip to ddns server, and when i type mydomain.ddns.com the dns will ask ddns server to get my ip.
But it just my public ip right? When someone access it, it should be access the router not my netbook? Why it can redirect from router to my pc? I'm not setting any ddns or port forwarding on my router. Is ddns client using tunneling or something?
And i after google to know my public ip, why i cant simply access my router with my public ip?

The DDNS clients update the DNS server with your current public IP as you mentioned. since your laptop is behind a router - its uses the router public IP to go out to the internet, so the DNS server actually holds a record of your.ddns.com that points to your router IP address. Its up to you ( and your router configuration ) to decide if incoming IP traffic to that address on a given port should or shouldnt be forwarded to the internal laptop.
If you cannot access your router, check its configuration - some security features disables access from the internet (external interface) by default.

Related

How to set a static IP on a virtualbox VM? [closed]

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 1 year ago.
Improve this question
On Windows 10 i try to set up a ubuntu server VM with a static IP.
How can i accomplish this ? I heard that i have to use a bridge connection ?
I want the ip of my vm be accessible from my windows session.
Thanks
If you require the guest to be accessible from the local LAN you will need to use the bridged adapter, thus allowing DHCP from the directly connected LAN. (you can take the DHCP address and statically assign it to the guest or do a DHCP reservation)
Another option is to setup a NATNetwork (VirtualBox/Preferences) setup Port Forwarding to allow your VirtualBox host (192.168.56.0/24) to forward tcp/udp to your static assigned guest IP 10.0.2.x/24
Host request
https://192.168.56.x:1234 will be forwarded to your unbuntu guest static IP of 10.0.2.x:443
External request will require routing tables on the remote computer to be added or windows 10 LAN default gateway will require static route for 192.168.56.x/24 via Windows 10 LAN IP, however your host firewall rules will have to configured.

How to NAT source IP address of POD connecting to server on external Public IP address? [closed]

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 3 years ago.
Improve this question
I have an application running in a POD on kubernetes.
This application connects to server external Public IP address and expects the clients to have specific public IP address. The server checks the source IP address for security.
Now that my application is running inside k8s cluster it will have some local IP address.
How to fix this ... is there a way to do NAT on source IP address based in the destination server address ?
If so how to do this ?
Kubernetes uses worker nodes Internet connection. You can setup NAT for your nodes and the Kubernetes will use NAT's public IP. You can further attach multiple public IPs to NAT node and write iptables or iproute rules which can make NAT or routing decisions based on destination IP address.

Draytek vigor 2820 force specific traffic via static IP [closed]

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 6 years ago.
Improve this question
I've got a Draytek Vigor 2820 that's used to connect to the internet. WAN1 is used as an ADSL backup, and WAN2 is our main fibre connection. WAN2 has a total of 6 IP addresses, a single dynamic one and 5 static IPs and is configured up as a PPPoE connection with DynamicIP.
I use NAT Port Redirection to open up some specific ports to various servers (web development, FTP, RDC etc)
I use NAT Open Ports to open up some static IP ports to specific servers
I use NAT Address Mapping to force all traffic received on one static IP to our Exchange server
What I want to do is to force outgoing traffic to use one of the static IPs and have hit a brick wall. Ideally I'd like to force specific traffic but would settle for all!
Under LAN is the ability to configure Static Routes, but this is purely there to allow internal routing (for VLANs).
Anybody else who has this type of router and can give me any suggestions?
OK, managed to work this one out.
Under WAN > Internet Access, select WAN2
On the PPPoE page, change the "Fixed IP" to Yes and enter one of the static IP's into the Fixed IP Address box. Click OK and then reboot the router.
All traffic will now go from that IP address. If you go back to the same page and click WAN IP Alias, the top spot will have the IP address entered in it which will likely be repeated in the list, I just removed the 'double' from the NAT pool and everything seems to work OK.
Sadly there appears to be no way of having all traffic to one IP being sent via one static IP

how to know my public ip address of pc [closed]

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 4 years ago.
Improve this question
I have connected to my router device through the Wi-Fi.
i have run 'ipconfig' in command prompt but its not showing public IP address to access system remotely.
so how can I get public IP address of my personal computer.
I have tried using router id(find through the what is my IP org)
If you are behind a router, then your computer will not know about the public IP address as the router does a network address translation. You could ask some website what your public IP address is using curl or wget and extract the information you need from it:
curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//'
or shorter
curl ipinfo.io/ip
You could use a DNS request instead of HTTP request to find out your public IP:
C:\> nslookup myip.opendns.com resolver1.opendns.com
It uses resolver1.opendns.com dns server to resolve the magical myip.opendns.com hostname to your ip address
In order to be able to access your PC remotely through a router, you need to enable the router for what is sometimes called "port forwarding" (some routers might call it differently).
To get the IP of the router you can either login to the router's config page (or if it has a config utility use it), or as you mentionned go to whatsmyip.org and you will see the external address of the router.
But again, if you don't setup the router accordingly, you will not be able to access your PC.
Cheers
EDIT: Your PC doesn't have an external IP. Only the router does. By setting up port forwarding, the router will take care of routing the external incoming traffic to your PC, but your PC will never be visible to the internet. Only the router.
To find your public IP, try this link:
http://www.whatismyip.global/
This website even keeps a history of your IPs.
I know this is already answered but just in case someone want to check it in terminal:
curl ipconf.cf
Simply try https://ipaddress.tech to find your public IP Address and location information. This is simple, easy and free service that i have developed.

Redirect domain name mapped with external IP (modem) to a host in its local network [closed]

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 4 years ago.
Improve this question
I have a modem that is connected to a router. There are two computers connected to this router. I want to set a domain for one of those computers so that I can access the web deployment server running in that computer from Internet. I used freedns.afraid.org to get a free subdomain. But when I set it up, the domain is getting mapped to my external IP address. So, the problem is that when I try to access the set domain, I am only accessing the modem's configuration page i.e. EXTERNAL_IP:80
In my local network, my modem's IP address is 192.168.0.1 , my router's IP address is 192.168.1.1 and my computers take IP addresses anywhere between 192.168.1.100 and 192.168.1.148
Also, my router is Linksys WRT54G and is only capable of default DDNS configuration to dyndns and TZO. Since both have become paid services, I opted for free DDNS and I'll use some DDNS update client to update the dynamic IP.
I don't know how to search specifically for this problem in google. Also, I came across port forwarding which was used under similar topics. I am new to this, so can anyone suggest me how to redirect my domain to the particular host or is there any reference page I can learn the procedure from? SOLVED
UPDATE ON THE QUESTION (NEW ISSUE)
Since I didn't have port forwarding option in my modem and also my modem didn't by default forward everything to the router, I had to set up my modem as a bridge to my router. I disabled the modem's DHCP server and enabled only the router's DHCP server. This allowed me to configure port forwarding in the router alone and is working good.
But the problem now is, I am not able to access the modem's configuration page (192.168.1.1). My router is at 192.168.1.2 . Subnet mask is 255.255.255.0 . I tried changing the router to a different subnet say 192.168.0.1, but then the internet connectivity didn't even establish. I tried connecting my computer directly to the modem to access it's configuration page, but that also failed.
If you want to redirect my domain to the particular host you need to setup NAT-Virtual Server Setup .
here you need to map remote port to internal map.
In above image IP address is my IP of my host and Default address is my router's IP address
Now you have configure NAT in you router as bellow.
in above image server IP is you host IP address.
I am using D-Link router so this Image is according to that if you are using some different router then you might have different view.
After configuring this when you type EXTERNAL_IP:80 your request will be forwarded to application that is running on you host with that port

Resources