FreeBSD NAT and Windows Shares.

From: Emile Jackson (emilejackson_at_gmail.com)
Date: 07/29/05

  • Next message: Jeremie Le Hen: "Re: AltQ + ng_iface"
    Date: Fri, 29 Jul 2005 10:55:17 +0200
    To: freebsd-net@freebsd.org
    
    

    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?

    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@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"


  • Next message: Jeremie Le Hen: "Re: AltQ + ng_iface"

    Relevant Pages

    • RE: Freebsd Theme Song
      ... from the network into the ethernet receiver. ... It takes a certain amount of time to get the packet out of ... At low data rates polling is less ... >Subject: Re: Freebsd Theme Song ...
      (freebsd-questions)
    • Re: Network oriented services with FreeBSD
      ... >> brand router will do. ... > Lots of things IOS can do FreeBSd can still not, as CEF, class maps, ... > dedicated router but if you talk about network services I don't ... I just prefer hardware for the reasons you do. ...
      (freebsd-isp)
    • Re: FreeBSD NAT and Windows Shares.
      ... Emile Jackson wrote: ... > We have a wired network in our building. ... > So I placed a FreeBSD machine, which could also provide other services like ... > the FreeBSD NAT, without installing extra hardware? ...
      (freebsd-net)
    • RE: BSD Questions.
      ... >>> is correct IMO that FreeBSD ... >>> server and little as a desktop. ... >>Windows XP is the best that you can do for the ... innovation of consultants and network staff than ...
      (freebsd-questions)
    • RE: Detect hardware changes
      ... I realized I had the problem when ifconfig did not pickup the network card ... Cc: FreeBSD Questions ... Subject: Re: Detect hardware changes ... You can use the ifconfig utility to list all recognized NICs installed. ...
      (freebsd-questions)