How would I share a folder over the Internet and also have the machine on a LAN? The internet connection has a fixed IP.
The purpose would be to host an Access backend. I know Access doesn't work well in that configuration - I just want to test it for now. I don't want to use a VPN - too inefficient.
If it takes multihoming or a new Internet connection, that's okay.
32 Answers
You will have to setup your router/firewall to forward some port from public_ip to private_ip (private ip of the host hosting the share).
Here are the port to open/forward for a standard Windows share :
- TCP/445
- TCP/139
- UDP/137
- UDP/138
Tested in my company, it works. Hope it will help you in your context.
Cheers
3The post above is right with the ports, however, if an ISP blocks those ports, you can use a random external port, that points to a different internal port. For example:
123.123.123.123:500 > 192.168.1.6:445
Just make sure that when you try to access your files from outside the network, you use the external address and port. (Obviously)
I'd recommend using FTP or WebDAV, to secure your connection tho. Windows Pro versions come with it built in, you just have to enable and configure it.