Re: File/Print sharing Through NAT

From: Lars M. Hansen (badnews_at_hansenonline.net)
Date: 11/25/03


Date: Tue, 25 Nov 2003 13:06:42 GMT

On 23 Nov 2003 15:12:03 -0800, Error 404 spoketh

>Here is my problem. I live on campus at university. (or college for
>you american types). And I am one of those guys who shares all his
>music and movies with everyone on the network.
>
>I am going to be getting a dell wireless router soon (a deal with a
>friend), so that I can finally have some 10/100 speeds out of my NIC,
>to provide a firewall, and to provide wireless internet to anyone to
>stops by the room.
>
>I have 2 computers, my main computer and a server. I want to set the
>router up such that everyone else on the network outside the router
>can have access to my shared folders. I use my server to host a UT2003
>server, and to share our room's printer. Would there be a way to make
>both my shared folders and the servers printer available to the
>network outside of the router?

You'll have to use a feature called "port forwarding" (or "virtual
server", depending on model). This will allow you to forward traffic
from the router to the server(s) in question. So, essentially, you can
forward ports 445/TCP and 445/UDP to your server (assuming Windows 2000
or Windows XP), and that should allow you to share your folders with
other people. The downside is, that they'll have to connect via the IP
address, as they won't be able to find your computer by normal browsing
as the Windows Networking broadcasts does not go out through the router.

Sharing folders this way is not the most secure way of doing it. I
dislike the P2P programs that's specifically for sharing files, but that
might be a better solution than simply sharing folders...

You'll also need to forward the ports for your Unreal Tournament server.
I don't recall what they are of the top of my head.

I hope that this is essentially a LAN on campus, and that there's a
firewall between the campus LAN and the internet ...

>
>BTW, I am reluctant to place our entire room behind the firewall,
>because we have an internet traffic cap, and I dont want all 3 of my
>roomates using up my bandwidth.
>
>I have heard that forwarding ports 137, 138, and 139 can allow outside
>computers to access a shared folder, can anyone confirm this? and does
>anyone have any idea on how to share the printer at the same time?

For any OS prior to W2K, those would be the ports (TCP and UDP). For W2K
and WXP, port 445 (TCP and UDP) would be the ports to forward. The
printer(s) will be shared as well, assuming you've enabled it for
sharing.

>
>PS: mabye it would be possible to forward the ports to my server, and
>then somehow have my main PC share it's files through the server.

I don't think so. There's no way (that I am aware of) to share a mapped
drive or a shortcut to a folder on another system.

Lars M. Hansen
http://www.hansenonline.net
(replace 'badnews' with 'news' in e-mail address)



Relevant Pages

  • Re: Connection from remote computer to network SQL Server
    ... There is no firewall on the W2K machine acting as the SQL server. ... I tried making the SQL machine a "trusted" on the router. ... connection works. ... To find the IP address of your computer inside the network, ...
    (microsoft.public.access.adp.sqlserver)
  • RE: Small network with lots of features, questions
    ... Your network sounds overly complicated to me. ... to get to the internet. ... To do that, without using your server as a router, you need ...
    (microsoft.public.windows.server.networking)
  • Re: SBS 2008 Server losing DNS and Router Settings since Windows U
    ... backup plan you would have to figure out when the server got hacked then ... only thing that does mess with the router is Windows. ... if the NIC is not connected to the network (which there is ... On reflection I think I may have triggered the changes to DNS DHCP. ...
    (microsoft.public.windows.server.sbs)
  • Re: Still cant connect to RWW or OWA remotely
    ... laptop plugged into port on DSL router. ... service, e-mail, and RWW is available to all users on the network. ... The server is a SBS2003 SP1 Standard box without ISA, ... of the two NICs by clicking the Advanced tabs, it won't open that box, ...
    (microsoft.public.windows.server.sbs)
  • Re: Firewall and ISA
    ... Linksys uses NAT to protect you, claiming it's a firewall, but NAT is ... Full access to the network for maintenance, remotely, over a VPN, so ... dedicated server (meaning that ISA is not certified on a non-dedicated ... Are you saying that in addition to the ISA i need to get a new router? ...
    (microsoft.public.windows.server.sbs)