LinuxQuestions.org
Help answer threads with 0 replies.
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 02-01-2004, 12:05 PM   #1
alimharji
Member
 
Registered: Jan 2004
Posts: 35

Rep: Reputation: 15
Internet via SSH and Samba Remote Mounting Problem


First for my SSH problem. I have set up SSH on my Red HAt 9 machine and have installed F Secure SSH Client on my XP machine. I enter my IP, user id, pass and port and I am able to connect to the SSH server. I have setup a tunnel with the listen port as 10000, the Dest Host as localhost, the Dest Port as port 80 and the type as TCP. Then in my explorer settings I have selected use Prozy Server for LAN under the Internet Properties. The adress I used was localhost and th eport was 10000. After the SSH is connected I try to connect to the internet but I am unable to do so. I have tryed this exact configuration in trying to connect to my uncles SSH server and I am able to get in and surf the net fine. I have no idea what the answer to this is.
BTW I am on my local network if this were to make a difference.

My problem relating to Samba is that I am unable to MAp a Network Drive. I put in an unused letter and put the path as 192.168.1.4 which is my Linux Machine. I get the error The Computer or Sharename could not be found. Make sure you typed it in correctly and try again.
BTW my Linux machine is conncected to the internet wirelessly through my router.

Thanks for the help.

Alim
 
Old 02-01-2004, 01:43 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
What does your server have running on port 80? Does it have a webserver or a proxy? I really can't see what you are trying to acheive, maybe you could elaborate.

You will most likely need backslashes and the share name "\\192.168.1.4\myshare"
 
Old 02-01-2004, 04:27 PM   #3
alimharji
Member
 
Registered: Jan 2004
Posts: 35

Original Poster
Rep: Reputation: 15
What I am trying to do is have a secure line in which whatever sites are accesed on the internet are encrypted. I am going to be using this at work because our network admins monitor sites that are accessed and if they are not buisness related they have to take action.

How can I check what is running on port 80?

Also I tried //192.168.1.4/var/www but it gives the same error and I have added this folder to what is being shared on Samba.
 
Old 02-01-2004, 04:45 PM   #4
alimharji
Member
 
Registered: Jan 2004
Posts: 35

Original Poster
Rep: Reputation: 15
i checked under apache configuration and under available adresses it says all available adresses on Port 80 but when I check the systme status through webmin it says that the apache server is not running. DOnt know if that will help but I thought I would tell you
 
Old 02-01-2004, 05:06 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,766

Rep: Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933
Since you say this tunnel process works on your Uncle's PC then you need to find out what is different between the two configurations.

You also say your using port 10000 for the tunnel but isn't that the same port that webmin runs on? And your other post indicates your using webmin. You might want to try changing your tunnel port.
 
Old 02-01-2004, 05:11 PM   #6
alimharji
Member
 
Registered: Jan 2004
Posts: 35

Original Poster
Rep: Reputation: 15
interesting you say that but my uncle also uses webmin and he toldme I should set my tunnel port to 10000 and his tunnel port is also 10000.

The port that the tunnel is leading to is port 80 and I am running apache on this port. Do I need to be running something else for ti to be able to connect to the net.
 
Old 02-01-2004, 05:45 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,766

Rep: Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933
This was just a guess. I wouldn't think it would work if the port was in use by another service.
 
Old 02-01-2004, 06:27 PM   #8
alimharji
Member
 
Registered: Jan 2004
Posts: 35

Original Poster
Rep: Reputation: 15
i have figured out what the problem is. It is that port 80 is in use by apache so it cannot be used as a proxy. I need to know how to open a new port that I can use for connecting to the net. If anyone knows how to do this the help will be greatly appreciated.

Thanks

Last edited by alimharji; 02-01-2004 at 07:47 PM.
 
Old 02-02-2004, 12:59 PM   #9
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
You will need to use a proxy like squid:
http://www.squid-cache.org

About your samba problem - you did not use the format I showed. The \'s were inverted and you used a file system path and not a share name as defined in smb.conf
 
Old 02-02-2004, 06:39 PM   #10
alimharji
Member
 
Registered: Jan 2004
Posts: 35

Original Poster
Rep: Reputation: 15
i tried squid and i tryed many diffferent versiosn but every time i try to install it gives the error

configure: error: no acceptable cc found in $PATH

do u know any other similar proxys or how i can resolve the problem

thanks
 
Old 02-02-2004, 08:24 PM   #11
alimharji
Member
 
Registered: Jan 2004
Posts: 35

Original Poster
Rep: Reputation: 15
i figured it out and got it working. thanks for the tip.

i still cant get the samba server mounted.

i tried \\192.168.1.4\var\www and it didnt work

is there anything i can modify in the smb.conf file to allow me to mount this drive
 
Old 02-03-2004, 01:39 PM   #12
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Quote:
Originally posted by alimharji
i tried \\192.168.1.4\var\www and it didnt work
You still haven't read my previous posts
 
Old 02-03-2004, 07:20 PM   #13
alimharji
Member
 
Registered: Jan 2004
Posts: 35

Original Poster
Rep: Reputation: 15
i tried "\\192.168.1.4\alim"
"\\192.168.1.4\var\www"
"\\192.168.1.4\root" and none of it worked
 
Old 02-04-2004, 01:58 PM   #14
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Can you post your smb.conf file.
 
Old 02-04-2004, 06:50 PM   #15
alimharji
Member
 
Registered: Jan 2004
Posts: 35

Original Poster
Rep: Reputation: 15
the link is as follows because I couldnt copy the text:
http://alim.gotdns.com/smb.conf

Last edited by alimharji; 02-04-2004 at 06:51 PM.
 
  


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
SSH and Samba over internet FNC Linux - Networking 5 10-25-2007 08:49 AM
mounting local hard drive in a remote shell (SSH) noir911 Linux - General 1 06-24-2005 05:55 AM
Samba > Trouble mounting remote NTFS share Harlin Linux - Software 6 06-20-2005 07:07 PM
Tunnel all internet traffic through a ssh connected remote computer Bateman Linux - Networking 12 12-10-2004 05:53 AM
Testing remote administration via ssh on Internet satimis Linux - Networking 9 11-05-2003 09:52 AM

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

All times are GMT -5. The time now is 03:18 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