Date: Tue, 15 Mar 2011 11:39:36 +0000 From: Matt Smith <matt.xtaz@gmail.com> To: freebsd-net@freebsd.org Subject: IPv6 policy based source routing Message-ID: <AANLkTi=BOnUbfnmiqgaKj6jzyLjbKMedENbQBvYm_8Rj@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi, I have a question about source routing I hope you can help me with. I have two interfaces, gif0 which is an ipv6 over ipv4 tunnel to my tunnel broker and vr0 which is my ethernet interface. I have an IPv6 address configured on my end of the gif0 tunnel and another IPv6 address from a /64 prefix configured on the vr0 interface as my servers actual IP. My problem is that I want to source all traffic from the IP address that is configured on vr0 but because the default route is set to gif0 the traffic is sourced from this IP instead. To get around this I have configured various applications such as squid and postfix to source their traffic specifically from the vr0 IP but I would like to make this the default and was wondering if there was a way of going about that. I've searched google and found references to using ipfw fwd but I can't seem to get this to make any difference. Do you know of any simple way of doing this that works? I use ipfw as my firewall and I'm running FreeBSD 8.2-RELEASE at the moment. Regards, Matt.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=BOnUbfnmiqgaKj6jzyLjbKMedENbQBvYm_8Rj>