News: This forum is now permanently frozen.
Pages: [1]
Topic: MAC spoof on LAN or optional interface  (Read 1061 times)
« on: September 03, 2012, 12:22:38 »
feicipet *
Posts: 9

Hi,

Is there any way to spoof the MAC address of interfaces other than WAN? The thing is, I will use my WAN interface to connect to our ADSL uplink, but one of the LAN ports will connect to another network which is filtered using MAC address detection. As such, I need to spoof the MAC address for that interface as well.

TIA,
Wong
« Reply #1 on: September 03, 2012, 17:17:21 »
Јаневски ***
Posts: 153

I believe this should do the trick:
You should download and manually edit your current config file then upload it again and restart the m0n0.
----
               ...
               <wan>
                       <if>change-this-yourinterface0</if>
                       <blockpriv/>
                       <mtu/>
                       <spoofmac>xx:xx:xx:xx:xx:xx</spoofmac>
                       <ipaddr>dhcp</ipaddr>
                       <dhcphostname/>
               </wan>
               <lan>
                       <if>change-this-yourinterface1</if>
                       <ipaddr>192.168.1.1</ipaddr>
                       <spoofmac>xy:xy:xy:xy:xy:xy</spoofmac>
                       <subnet>24</subnet>
               </lan>
               ...
----
Change the values as needed.
« Last Edit: September 03, 2012, 17:20:23 by Јаневски »

« Reply #2 on: September 05, 2012, 05:15:02 »
feicipet *
Posts: 9

Thanks! It seems to work, but I think I need to post up another separate thread 'cos it's not working the way I wanted it to.
 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines