Port Forwarding for Windows File Share

GWestphal

Golden Member
Jul 22, 2009
1,120
0
76
At my home I have a share I would like to access from work or anywhere for that matter.
I've tried having my home computer in the DMZ but that hasn't worked. I've tried forwarding 445, but that doesn't seem to have worked.


What is the proper way to do this?


anywhere ---> internet--->Home router/modem--->Box with Share.

I have comcast if it matters.
 

imagoon

Diamond Member
Feb 19, 2003
5,199
0
0
* 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).


Pray that you don't get script kiddied in 2 hours also. This not considered a wise way to share files by many networking people.
 

spidey07

No Lifer
Aug 4, 2000
65,469
5
76
DO NOT DO THIS! You don't want those ports open or going to your machine from the Internet.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
A lot of ISPs filter them anyway so you'd never be able to get it to work even if you got the proper ports forwarded.
 

GWestphal

Golden Member
Jul 22, 2009
1,120
0
76
Ok, so that leaves me with what? SSH or VPN? SSH is not for windows. So VPN?

http://www.aeonity.com/frost/h...ws-xp-vpn-server-setup

Would this work? Can someone tell me if I'm thinking correctly?

I would forward the VPN port on the router to the server. Then when I connect to the WAN IP it would sent me to the VPN server. From there the server would act as a DHCP server and assign me an IP like 192.168.0.100 or something. Then since it appears that I am on the same internal network I could use SMB.

Is that right?
 

RebateMonger

Elite Member
Dec 24, 2005
11,586
0
0
Yeah, you can use XP to host a single VPN connection. That'll give you access to file shares. If you are using a low-end router, note that some of them can't properly pass Protocol 47 (GRE) and a PPTP VPN won't connect. Some routers/firmware work, and some don't. It's hard to predict, since this behavior changes from one firmware release to the next, even for the same router.
 

JackMDS

Elite Member
Super Moderator
Oct 25, 1999
29,529
416
126
Or you can use UltraVNC. You can choose a port and once you are connected shares does not matter.

UltraVNC does Remote control, and it also has a File transfer Module that gives access to all the Drives on the remote computers as is.

Looks like this, http://www.ezlan.net/example/vnc_file.jpg

Use the native 128 AES encrption module and it is just as Safe as VPN, SSH, or any other protected Interent traffic.

If you have few computers you get into any one that you want to by just assigning each one VNC with its own unique port.

In my Network Computer's 1 VNC is configured to port 55555. So on any computer in the world that has Internet conncetion I can plug the Client VNC (a 1MB File and encryption key on flash drive) address jack.myip.com:55555 (jack.myip.com is the free DNS serivce the direct it to my Netwprk externa, IP 55555 tells it on my LASN to go to the VNC that is on port 55555) password box comes on, I type the password, and Bam, I am into my computer Number one.

There is No needs for any arrangement on the computer that is used to connect to your network, and when using flash drive No traces are left on the computer.

Or I can type jack.myip.com:55558 (computer 2 VNC is configured with port 55558), and bam I am in Computer 2.

Configuration details.

http://www.ezlan.net/vnc.html

http://www.ezlan.net/myip.html

A big mistake that many enthusiasts do, is using what is "Fashionable" rather than using what is easy and works well.

It is different when you are working in Corporate environment. There you have to comply with the organization's rules.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
does it HAVE to be via SMB? whats wrong with SFTP/FTPS?

Normally that's what I'd recommend, but I don't think Windows has good "mount SSH/SFTP server as a drive" software that's free.