LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 06-22-2001, 03:31 PM   #1
bedwardj
LQ Newbie
 
Registered: Jun 2001
Location: Austin, TX
Distribution: None for now
Posts: 16

Rep: Reputation: 0
port forward over ssh


I've got a linux box setup up as a firewall with a LAN behind it. The LAN is a peer-to-peer Win98 network. My boss wants to have access to the LAN from home running a Win98 remote machine.

The way I'm approaching it now...

I've got sshd setup on the office linux box.
I've got TeraTermPro with ssh patch on a remote Win98 machine.
The ssh connection works fine.

I've also got smb running on the office linux box.
Is it possible to forward the netbios-ns (or netbios-dtm) port from the remote machine to the office (or vice-versa)? Would I be able to then "Map to Network Drive" a share of the office LAN to the remote machine?

I know you have to be root to access the priviledged ports (<1024). Is sudo an option here and how would I implement that?

I know PPTP is an option, but everyone seems to bash it with its security holes. I also know that freeswan is an option, but the install seems overwhelming to my newbie brain. I also don't want to hose the set-up of the office machine to experiment with freeswan.

Any ideas or thoughts are much appreciated?

Thanks
 
Old 06-26-2001, 05:07 PM   #2
jrmann1999
Member
 
Registered: Feb 2001
Location: Texas
Distribution: Slackware, Mandrake, LFS
Posts: 306

Rep: Reputation: 30
Maybe an easier way than forwarding the entire smb requests would be to simply smbmount a drive mapping that you want explicitly shared(also a great way to track who's doing what on which drive). I've done this a bit when I needed access to my MS box from school, the only problem I've found is that sometimes with idle taken into effect my drive mapping magically *disappeared* and I had to unmount/remount. I'm sure this could be solved with a simple cron script that touches some file on the drive. Just thought I'd suggest this option though.

J
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
SSH port forward problem idsdown Linux - Networking 2 11-25-2005 01:47 AM
mp3 stream through ssh port forward??? nixmeister Linux - Networking 3 01-06-2005 12:48 PM
ssh port forward failure harmster Linux - Networking 2 03-08-2004 07:46 AM
A way to forward an IP/Port to another system's IP/Port astroboy5714 Linux - Networking 6 01-26-2004 06:45 PM
Forward port port 80 to lan web server dulaus Linux - Networking 9 10-04-2002 04:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 04:32 PM.

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