Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've got a linux box outside our firewall that I have decided needs to mount a directory in an NT box inside our firewall using cifs.
Any bright ideas from anybody as to how I can do this ? Is it completely impossible to address a box with a private IP address from outside a firewall ? I should point out I am trying to avoid using a VPN, before anybody suggests it.
I'm stuck. Any help appreciated. Many thanks in advance
You're asking for serious trouble if you don't add some kind of layered protection around that service, especially on an NT box.
If you're really really dumb, you can NAT a public socket on your firewall directly to your NT box on the private cifs socket - Again, if you're really really dumb.
Please dont take that the wrong either. I'm not calling you dumb, but you would be if you did that.
I'm on about forwarding the cifs service over SSL (which might be slow, but that isn't a consideration). I just want to know if there is a straightforward way of connecting to my NT box(privately addressed inside the firewall) without using hardware but instead a hostname.
Are you talking about using something like stunnel between the outside linux box and the firewall? If you have control over the firewall, you can do anything. Just about any firewall device has the ability to forward/NAT packets from a public address to a private one.
If you do not have control over the firewall, then things get more complicated.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.