From owner-freebsd-questions@freebsd.org Tue Oct 29 01:05:35 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7B4B5162325 for ; Tue, 29 Oct 2019 01:05:35 +0000 (UTC) (envelope-from mafsys1234@gmail.com) Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 472D0Z5VTJz3Fk8 for ; Tue, 29 Oct 2019 01:05:34 +0000 (UTC) (envelope-from mafsys1234@gmail.com) Received: by mail-pg1-x542.google.com with SMTP id w3so8263448pgt.5 for ; Mon, 28 Oct 2019 18:05:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=dx4RANN7fmkC9iF6qHLD04xtjljP/Oc/5tow1yJADgo=; b=SO/h+4EVNbydyllByMfsR6LMl9joipia1vSrt+iU0XotT+SXk7aN2v1pJXWSwIUoq7 i/HaD0VzrUf67K8OsBr2ErutOlSKJcdzbMm7NNhjwC1SAh9qiCn/QxPd/mJ0MMZQ6Q6g Poy3LszQOwZoMDh6VRXcjaQEaPtpGuOi3knkMR8a+nef6UwXV46Eus4DW3Qd0Y/9eQEJ nbo79NZ7P2o4asuGI+BVuhqIcARIedA3irYTDLC7JrmuD+bTVQyiOqETwEKL38if0OYr wd3JkpL5H6Rh5R3ECnEUC1EIXBOTNjA1R7zb+7OFk9SN1Dav1NbJaLHpmcxHDBsiWxZC SlYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=dx4RANN7fmkC9iF6qHLD04xtjljP/Oc/5tow1yJADgo=; b=CEBvuyZjSwo9KYCZohbyZRc3hzXC6XLNnjFt2sOGPr3YHco4ZPGpCHtNBpEmwEnmZJ K6CWZtjejvS3Co0im9cEcXhDbMNxdco6935OLfdFmQphZDYTAeVIq0adKAyEvux/H0rj ClnEjfvEs/fLhGLEscVEJgVEkURSDJ9ZooBfbKd2E2VMQhdc4GJlYpinITt5rAAxPtii 2SbW9O5DIUviKX22hdCbmdQo3RcIrCD8ZXgZ70M5rvsY8/ehjd3N3T9ORGzg44dyYN2F WAJCmbj06WKnhDMl0gwYZIvRWnk9uSYtkDIq6ehqdZN0x+6EIlEU+U6aHsAzgMXaMjpZ zO6A== X-Gm-Message-State: APjAAAXBEEEn4bXwMHrN/L/29QBNo4Vglkh6qOUayQCz56+WSPU1BK9s MreLCRtKPtW464W8KMsyL5nedjFz X-Google-Smtp-Source: APXvYqyEL8DS73wk4NMLb9WG//pVo4dIzFlgGIi0B32Lm/P43bO1uOxl2QddLb5w/hCGtnSZsX5YXw== X-Received: by 2002:a65:55c3:: with SMTP id k3mr23345177pgs.155.1572311133193; Mon, 28 Oct 2019 18:05:33 -0700 (PDT) Received: from [192.168.1.10] (C-59-101-231-119.bur.connect.net.au. [59.101.231.119]) by smtp.gmail.com with ESMTPSA id e184sm11544270pfa.87.2019.10.28.18.05.31 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Oct 2019 18:05:32 -0700 (PDT) Subject: Re: Masquerading MAC addresses To: freebsd-questions@freebsd.org References: From: MJ Message-ID: <699b96b0-2259-10a0-52fd-9a6a75588515@gmail.com> Date: Tue, 29 Oct 2019 12:04:36 +1100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-AU X-Rspamd-Queue-Id: 472D0Z5VTJz3Fk8 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=SO/h+4EV; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of mafsys1234@gmail.com designates 2607:f8b0:4864:20::542 as permitted sender) smtp.mailfrom=mafsys1234@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RECEIVED_SPAMHAUS_PBL(0.00)[119.231.101.59.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(0.00)[ip: (-0.70), ipnet: 2607:f8b0::/32(-2.40), asn: 15169(-2.05), country: US(-0.05)]; RCVD_IN_DNSWL_NONE(0.00)[2.4.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Oct 2019 01:05:35 -0000 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" >