Jump to content

assign a service to an interface


2 posts in this topic

Recommended Posts

Hi,

 

is it possible?

 

I'd like to assign my internal ethernet-card for .i.E en0 to SMB-shares.

 

The external (WLAN)-card should do the connection to the internet only.

 

Tried it setting /etc/smb.conf with <adapters=192.168.0.10/24>, which is the ip of ethernet-card.

 

testparm told me "unknown parameter". ;)

 

The sub-nets ranges are different, I know. :P

 

Any suggestion?

Edited by tuxuser33
Link to comment
Share on other sites

Nobody knows the answer?

Nobody interisted?

 

 

Yes it works for me.

 

 

Change the /etc/smb.conf with the number of your internal (workgroup)-interface instead of th ip-adress!

 

 

That helps to prevent from :

 

-intruders

-trafic via message-block, netbios-browsing

 

All you need is.

 

-Put a second card in your hack-mac.

-Make the right configuration using different subnets i.E. 192.168.1xx and 192.168.2.xx

-The one that leads to your workgroup put in smb.conf

 

 

Intentionaly I left a small mistake. -_-

 

PM?

Edited by tuxuser33
Link to comment
Share on other sites

 Share

×
×
  • Create New...