View Single Post
  #1   (View Single Post)  
Old 14th November 2015
geek geek is offline
New User
 
Join Date: Oct 2015
Posts: 6
Default Identifying interfaces reliably for firewall

Hello.

I'm trying to set up a Raspberry Pi with FreeBSD as a NAT firewall. It has a built-in USB ethernet adapter and an external USB ethernet adapter. I'm not sure whether they will get the same interface numbers on every boot. Don't some computer buses search for devices in a random order at boot?

Looks like PF, IPF and IPFW only support using interface names in their configuration scripts. Is there a way to identify network adapters using some serial numbers, such as built-in MAC addresses of the devices?
Reply With Quote