Telling FR to conect to postres vi IPv4

Matthew Newton mcn at freeradius.org
Wed Jan 29 13:56:39 CET 2020


On Wed, 2020-01-29 at 12:45 +0000, Alex Sharaz via Freeradius-Users
wrote:
> 1). Set postgres up to accept connections from the new ipv6 address

Seems like the best solution.

> 2). Tell the FR end to use ipv4
> 
> Fairly certain its not a FR thing but underlying postgres config.
> So how do I tell my FR server to connect via ipv4 ?

Put the IPv4 address in the SQL config?

If you've got a DNS name there, and that resolves to IPv4 and IPv6
addresses, you're saying "please connect on either". So it does.

Or use another DNS name which only resolves to an IPv4 address?

-- 
Matthew




More information about the Freeradius-Users mailing list