Softaculous


Topic : Hetzner IP Issue


Posted By: menyo on April 4, 2020, 6:07 am
Hello,
I have issue with hetzner IPs.
I use subnet /29
Main Server IP: 1.1.1.1
Usable IP: 1.2.3.25 - 1.2.3.30

I used tutorial on https://www.virtualizor.com/docs/admin/nat/
then, i use configuration below,
gateway. 1.2.3.25
Netmask 255.255.255.0
Usable: 1.2.3.26-1.2.3.30

I can create vps and ping it properly.
the problem is, when i sent email, Google think my vps IP was 1.1.1.1(main server).
i tried run "dig command" to check which IP is read by another network.
dig +short
myip.opendns.com @resolver1.opendns.com

Result showed that vps IP was 1.1.1.1

anyone has experience about hetzner subnet?
Warm regards

Posted By: wolke on April 5, 2020, 5:04 pm | Post: 1
That´s not related to Hetzner IP´s but to your Ip Pool config.

The Gateway address from virtualizors point of view is the first usable IP address of your subnet, not the servers main IP.

Posted By: wolke on April 5, 2020, 5:18 pm | Post: 2
Uuh, my bad... that was exactly your config.... this should work  :neu:
Did you tick the "enable NAT" checkbox when setting up IP pool?




Edited by wolke : April 5, 2020, 5:23 pm

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.