• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 571
  • Last Modified:

port forwarding for file sharing

hello all
i have router connected to the internet which have fixed ip address
i setup the router to port forward the rdp which is 3389 to a server in my internal lan
and i'm able to connect to this server via remote desktop successfully
what i want to do is to access this server by typing \\ip address (the router ip address)
as we do in the internal lan
so i port forward the port 445,137,138,139 which are responsible to file sharing but i'm unable to connect to the server
is there something i missed
can you help me please
N.B: i don't want to use FTP i just want the \\ip address in the run command

thank you in advance
0
rnzb
Asked:
rnzb
  • 5
  • 2
1 Solution
 
CompanionCubeCommented:
See article? Internet firewalls can prevent browsing and file sharing

http://support.microsoft.com/kb/298804
0
 
CompanionCubeCommented:
Note UDP & TCP ports?

Microsoft file sharing SMB: User Datagram Protocol (UDP) ports from 135 through 139 and Transmission Control Protocol (TCP) ports from 135 through 139.

Direct-hosted SMB traffic without a network basic input/output system (NetBIOS): port 445 (TCP and UPD).

0
 
rnzbAuthor Commented:
thanks for replying
but what is forwarded is exactly the ports you told me about which is 135 to 139 and 445
while the firewall is off on the server

thank you in advance
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
rnzbAuthor Commented:
update
i can access the server from win xp client but not vista or windows 7
so what i configured is correct just now the problem is with the client (windows 7 or vista )
0
 
rnzbAuthor Commented:
update 2
thanks for you all i just resolved my problem
and those to whom are interested
my isp block the ports 135 to 139 and also 445 for security and attack reasons
so i just ask them to unblock these ports
thank you in advance
0
 
TolomirAdministratorCommented:
Have you considered this option?

Transfer files via the Remote Desktop
Remote Desktop is a feature of Windows XP Professional that allows you to work on and see a remote machine as if you were physically in front of its screen. One of the benefits of Remote Desktop is that you can transfer files between a local and remote computer.

http://www.setup32.com/tech-tips/windows-xp/remote-use-and-management/transfer-files-remote-desktop.php

---
And I would also move the remote desktop port to something undefined like port 8888

How to change the listening port for Remote Desktop
http://support.microsoft.com/kb/306759

---

If you really insist on smb over internet, at least restrict access from a certain IP range or a single computer on your router.

Tolomir

0
 
rnzbAuthor Commented:
the solution instructed is what i've wrote in the question
but it's usefull
and the problem solved by unblocking the ports related to filesharing
0
 
rnzbAuthor Commented:
thnx Tolomir for the advice i usually restrict access from a certain ip
and also file transfer in remote desktop will not work for me
because i want to map a drive locally in order to let my application work
thank you in advance
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 5
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now