server IP with vps behind nat

Discussions about the installation of KeyHelp.
User avatar
MyIDKaTePe
Posts: 22
Joined: Sat 25. Jun 2022, 17:06

server IP with vps behind nat

Post by MyIDKaTePe »

the panel showing up 10.x.x.x ( local ip )
and the zone editor put that ip rather than public ip

any solution how to fix it ?
(automatically not manually change everytime i add user/domain)

https://i.imgur.com/OLuC3Jj.png
User avatar
24unix
Posts: 1560
Joined: Sun 21. Jun 2020, 17:16
Location: Kollmar
Contact:

Re: server IP with vps behind nat

Post by 24unix »

So, you are behind a router, and 10.x.y.z is the internal IP.

Do you plan to use KeyHelp as the Nameserver? Then you should enter the public IP of your router.

Else: Just don't take care of DNS on KH.
mfg Micha
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
User avatar
MyIDKaTePe
Posts: 22
Joined: Sat 25. Jun 2022, 17:06

Re: server IP with vps behind nat

Post by MyIDKaTePe »

User avatar
24unix
Posts: 1560
Joined: Sun 21. Jun 2020, 17:16
Location: Kollmar
Contact:

Re: server IP with vps behind nat

Post by 24unix »

MyIDKaTePe wrote: Sat 25. Jun 2022, 18:17 https://i.imgur.com/JW5xsi1.png

no option
The first was the DNS Zone Editor, the second one is the panel's local configuration.

Completely unrelated.

What are you trying to achieve?
mfg Micha
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
User avatar
MyIDKaTePe
Posts: 22
Joined: Sat 25. Jun 2022, 17:06

Re: server IP with vps behind nat

Post by MyIDKaTePe »

the ip public not showing....
only 10.x.x.x
User avatar
24unix
Posts: 1560
Joined: Sun 21. Jun 2020, 17:16
Location: Kollmar
Contact:

Re: server IP with vps behind nat

Post by 24unix »

MyIDKaTePe wrote: Sat 25. Jun 2022, 18:31 the ip public not showing....
only 10.x.x.x
KH hep has no clue which public IP is behind the router, and it doesn't need to know.
mfg Micha
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
User avatar
MyIDKaTePe
Posts: 22
Joined: Sat 25. Jun 2022, 17:06

Re: server IP with vps behind nat

Post by MyIDKaTePe »

so.. this panel "keyhelp" cannot using by VPS that behind NAT ?
User avatar
24unix
Posts: 1560
Joined: Sun 21. Jun 2020, 17:16
Location: Kollmar
Contact:

Re: server IP with vps behind nat

Post by 24unix »

MyIDKaTePe wrote: Sat 25. Jun 2022, 18:44 so.. this panel "keyhelp" cannot using by VPS that behind NAT ?
No, it just means, that it doesn't care where it's located.

Within the 10.x.y.z net use it as it would have a public IP, and then let your router take care of the rest.

Bust, again: What are you going to achieve?
mfg Micha
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
User avatar
MyIDKaTePe
Posts: 22
Joined: Sat 25. Jun 2022, 17:06

Re: server IP with vps behind nat

Post by MyIDKaTePe »

Bust, again: What are you going to achieve?

https://imgur.com/OLuC3Jj
refer to my first post

the server that should take care the rest... read and use 10.x.x.x
the domain zone using IN A to 10.x.x.x
not my public ip....
User avatar
24unix
Posts: 1560
Joined: Sun 21. Jun 2020, 17:16
Location: Kollmar
Contact:

Re: server IP with vps behind nat

Post by 24unix »

MyIDKaTePe wrote: Sat 25. Jun 2022, 18:54 Bust, again: What are you going to achieve?

https://imgur.com/OLuC3Jj
refer to my first post

the server that should take care the rest... read and use 10.x.x.x
the domain zone using IN A to 10.x.x.x
not my public ip....
Do you have a static IP on your router?
Do you plan to use KH as a DNS server?
mfg Micha
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
hzm120
Posts: 6
Joined: Thu 23. Jun 2022, 18:03

Re: server IP with vps behind nat

Post by hzm120 »

what cpu is it? arm64, 64 bit os ?

what company are you using that using NAT?

What is ur DNS showing as ?

what domain company are you using?

we need info on this so we can help better
User avatar
MyIDKaTePe
Posts: 22
Joined: Sat 25. Jun 2022, 17:06

Re: server IP with vps behind nat

Post by MyIDKaTePe »

i run on VPS
2 core 2GB ram
All Open port (indonesian datacenter)




what domain company are you using?
domain is not big deal

you can see here : https://imgur.com/OLuC3Jj
dns zone using private ip rather than public..
i can change it manually but i think that is not normal....
User avatar
latifolia
Posts: 42
Joined: Wed 18. Aug 2021, 09:08

Re: server IP with vps behind nat

Post by latifolia »

KH need to know your IPs before you install. KH retrieve those IPs from Operating System.

OS in VPS with NAT (1 to 1) can be set to recognize its Public IP by manually registering it in :

Code: Select all

/etc/netplan/xxx.yaml
This can be used to register any IPv4/Ipv6 that has been given to you.

Once it is recognized by OS upon reboot it will be recognized by KH upon installation.

NOTE :
You need to play with ifconfig to know MAC address before creating/modifying respected files.
User avatar
MyIDKaTePe
Posts: 22
Joined: Sat 25. Jun 2022, 17:06

Re: server IP with vps behind nat

Post by MyIDKaTePe »

i see
so i must do it manually.. i though keyhelp already do that and detect my public ip

well i will try now
User avatar
MyIDKaTePe
Posts: 22
Joined: Sat 25. Jun 2022, 17:06

Re: server IP with vps behind nat

Post by MyIDKaTePe »

never mind

i love this panel
but it look like not suitable for my vps.... thankyou all
Post Reply