Date: Tue, 29 Oct 2019 12:04:36 +1100 From: MJ <mafsys1234@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: Masquerading MAC addresses Message-ID: <699b96b0-2259-10a0-52fd-9a6a75588515@gmail.com> In-Reply-To: <edf518bf-e895-a3f2-3481-4b9addacfdc5@gmail.com> References: <CAHMnXuRstRXw7eWiB0yZPJ%2BKuhsLax6rFcD_nU2LvfrMk7fkqA@mail.gmail.com> <edf518bf-e895-a3f2-3481-4b9addacfdc5@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 29/10/2019 11:31 am, MJ wrote: > > On 29/10/2019 10:57 am, Nathan Robertson wrote: >> Hi, >> >> I have an interesting issue that I'm hoping that somebody might be able to >> point me in the right direction on. Even just a pointer or two, or where to >> go ask. I've got a situation where my VPS provider is packet filtering my >> traffic based on MAC address, and as a result are dropping my jail traffic >> (as FreeBSD bridges traffic from the jail to the network using the jail's >> MAC address). I need a way to essentially masquerade the MAC address for >> outbound traffic on the host interface to get past the VPS vendors firewall. >> >> Basically, I need vnet jails with IP addresses to use the host adapters MAC >> address for outbound connections (think of it as masquerading / NAT of MAC >> addresses). On Linux, it looks like ebtables can do it (MAC NAT - >> https://ebtables.netfilter.org/documentation/features.html). I can see ipfw >> supports packet filtering based on MAC address, but I can't find anything >> on packet mangling. >> >> Any idea of where I should look or who I could ask about MAC NAT on FreeBSD? >> >> Thanks for any help provided. This one's really starting to do my head in. >> >> Nathan. > > > Sounds like you need some sort of ARP proxy? Something went wrong. Anyway, if that's what you need, look at https://www.freshports.org/net-mgmt/choparp Regards MarkJ > >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?699b96b0-2259-10a0-52fd-9a6a75588515>