LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-13-2009, 11:51 AM   #1
jackd1000
Member
 
Registered: Jul 2007
Posts: 67

Rep: Reputation: 15
cifs and firewalls


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

Jack
 
Old 05-14-2009, 02:08 AM   #2
JulianTosh
Member
 
Registered: Sep 2007
Location: Las Vegas, NV
Distribution: Fedora / CentOS
Posts: 674
Blog Entries: 3

Rep: Reputation: 90
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.

Dumb.
 
Old 05-14-2009, 03:43 AM   #3
jackd1000
Member
 
Registered: Jul 2007
Posts: 67

Original Poster
Rep: Reputation: 15
I'm not thinking about using cifs directly.

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.
 
Old 05-14-2009, 03:54 AM   #4
JulianTosh
Member
 
Registered: Sep 2007
Location: Las Vegas, NV
Distribution: Fedora / CentOS
Posts: 674
Blog Entries: 3

Rep: Reputation: 90
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.
 
Old 06-12-2009, 09:41 AM   #5
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
What did you do?

Is the problem solved?

What is the solution?

Do you need more help?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cifs "mount error 13 = Permission denied" CIFS SUCKS humbletech99 Linux - Networking 45 04-06-2020 05:31 AM
Software Firewalls VS Hardware Firewalls metallica1973 Linux - Security 7 03-17-2006 02:21 PM
Linux Firewalls [iso firewalls] yoogie Linux - Networking 3 01-28-2002 06:56 PM
Firewalls Alejandro Aguilera Vega Linux - Networking 1 03-02-2001 03:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration