FreeBSD NAT and Windows Shares.

Marcin Jessa lists at yazzy.org
Fri Jul 29 10:00:54 GMT 2005


On Fri, 29 Jul 2005 10:55:17 +0200
Emile Jackson <emilejackson at gmail.com> wrote:

> Hello,
> 
> For some time now I have a problem with a FreeBSD NAT and I can't
> find a solution. I consulted others and some came with hardware based
> solutions, but I wonder if there is a software solution.
> 
> This is the situation:
> 
> We have a wired network in our building. Every apartment has a network
> connection on the wall, so you just plug in your network cable. On this
> network is a dhcp service to provide every machine with an ip-number.
> With a dial in connection, provided by the university you can dial in
> to a PPPoE service to connect to the internet.
> Inside our apartment we have 2 machines: A Win2k and a winXP. Both get
> an Ip adress from the dhcp, but only one can acces the internet, because
> I have one dial-in account.
> 
> So I placed a FreeBSD machine, which could also provide other services like
> ftp.
> 
> I installed it as a NAT. Also I added the PPPoE account which makes a
> TUN device. So far it works. All machines can access the internet and
> retreive websites.
> 
> On the network in the building are windows shares. Provided by other users.
> 
> My question is:
> 
> Is it possible that my windows machines can acces these shares, through
> the FreeBSD NAT, without installing extra hardware?

Yes, set up your FreeBSD box as wins server for the WinXP boxes behind NAT.


> I read about SMB clients, but this only seems to work if I wanted to acces 
> these shares from my FreeBSD machine.
> 
> 
> Thanks,
> 
> Emile
> 
>     _________      _________
>    |                |    |                |
>    |  WIN2k    |    |  WINXP    |
>    |  (mine)     |    |  (mine)     |
>    |_________|    |_________|        
>         |______________|
>       ____|____
>      |                |                                               
>                       internet
>      | FreeBSD  |                                                     
>               _________
>      | (mine)      |                                                  
>                   ____|___
>      |_________|                                                      
>              |              |
>     ______|___________________________________________|PPPoE   |
>                |                        |                     |       
>                     |Gateway |
>           ___|_____      _____| __             __|_                   
>       |________|
>          |                |    |               |          |DHCP|
>          |  WIN2k    |    |  WINXP   |
>          |                |    |               |
>          |_________|    |_________|
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"


More information about the freebsd-net mailing list