Bind public IP with local IP.

JohnyByk

Verified User
Joined
Mar 7, 2012
Messages
251
We have server with 4 public IPs. Our internet provider can give us more IP's but only option for new IP's is redirect from public IP to local IP (new ips are from another source). Is any way to bind local IP with public IP in DA? When i add local IP to my configuration all configuration for services the configuration will be wrong. For example DNS will report local IP for A record etc.

What should i do in this case? Maybe should i just add public ip to DA and dont't worrie about anything if my ISP do the rest (routing, forwarding, etc)?

Regards
 
Last edited:
Thanks. It was so simple :].

Bind IP works almost perfectly with one exception.

When DNS hat two IP addresses Exim dosen't work properly. When outside SMTP servers connect to the new IP [public] (is set as second IP MX and A record) exim says to sender:
Code:
550 Administrative prohibition


Logs:
Code:
2020-03-09 14:37:44 H=(smtpfarm18.allegro.pl) [178.21.155.7] X=TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256 CV=no F=<[email protected]> rejected RCPT <[email protected]>

[email protected] is correct user.
Should i add new ip address to exim or maybe something other makes the problem?
 
DNS checkbox does not need to be checked when linking.
 
Back
Top