Hi!

> Am 31.07.2019 um 14:07 schrieb Viktor Dukhovni <vik...@dukhovni.org>:
> Since a bunch of my traffic is SMTP, I need reverse resolution for
> outgoing IPv6, which means that I need the outgoing sources address
> to be <my-network>::1, not <tunnel-prefix>::2, even though the
> routing table lists "gif0" as the interface with the default route.
> 
> Is it possible to configure my system to use the internal /64 address
> as the default source address of outgoing IPv6 packets?

That is probably pretty easy depending on your preferred mail server.
Make your mail server listen to <internal>::1 only instead of ::

It will then automatically accept connections on that address and use
it for outbound, too, because it does not have a choice.

Add IP4c and loopback of course.

E.g. for Sendmail:
https://www.computing.net/answers/linux/sendmail-bind-to-ip-address/31045.html

HTH,
Patrick
-- 
punkt.de GmbH                   Internet - Dienstleistungen - Beratung
Kaiserallee 13a                 Tel.: 0721 9109-0 Fax: -100
76133 Karlsruhe                 i...@punkt.de   http://punkt.de
AG Mannheim 108285              Gf: Juergen Egeling

_______________________________________________
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to