martin-ger / esp32_nat_router

A simple NAT Router for the ESP32
1.27k stars 268 forks source link

Ability to change MAC addresses #157

Closed wxh06 closed 3 months ago

wxh06 commented 3 months ago

Resolves #64, resolves #113

set_sta_mac  <octet> <octet> <octet> <octet> <octet> <octet>
  Set MAC address of the STA interface
       <octet>  First octet
       <octet>  Second octet
       <octet>  Third octet
       <octet>  Fourth octet
       <octet>  Fifth octet
       <octet>  Sixth octet

set_ap_mac  <octet> <octet> <octet> <octet> <octet> <octet>
  Set MAC address of the AP interface
       <octet>  First octet
       <octet>  Second octet
       <octet>  Third octet
       <octet>  Fourth octet
       <octet>  Fifth octet
       <octet>  Sixth octet

e.g. use set_sta_mac 255 255 255 255 255 255 in order to set MAC address of STA interface to FF:FF:FF:FF:FF:FF