LinuxQuestions.org
Review your favorite Linux distribution.
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
 
LinkBack Search this Thread
Old 02-20-2007, 08:00 AM   #1
maggus
LQ Newbie
 
Registered: Apr 2006
Distribution: Puppy, Fedora, PCLinux
Posts: 19

Rep: Reputation: 0
Ftp + Ssl ?


Hi,

I have ftp server running at my home (vsftpd on Fedora5), and I want to access it from my work. But at my work proxy blocks all the ports except http and SSL.
Question: Can I tunnel ftp through ssl somehow, or are there any other things I can try?

Thanks,
Mike
 
Old 02-20-2007, 09:06 AM   #2
wgbjr
LQ Newbie
 
Registered: Jul 2002
Posts: 29

Rep: Reputation: 15
Should be able to use putty to pipe the connection through SSH.

Info here.
 
Old 02-20-2007, 09:27 AM   #3
maggus
LQ Newbie
 
Registered: Apr 2006
Distribution: Puppy, Fedora, PCLinux
Posts: 19

Original Poster
Rep: Reputation: 0
SSH port is also blocked.

Any other ideas?
 
Old 02-20-2007, 09:33 AM   #4
wgbjr
LQ Newbie
 
Registered: Jul 2002
Posts: 29

Rep: Reputation: 15
Sorry, I read too fast.
 
Old 02-20-2007, 09:37 AM   #5
pdw_hu
Member
 
Registered: Nov 2005
Location: Budapest, Hungary
Distribution: Slackware, Gentoo
Posts: 346

Rep: Reputation: Disabled
This might not work: but why don't you try putting your home FTP server to the SSL port?
 
Old 02-20-2007, 09:40 AM   #6
wgbjr
LQ Newbie
 
Registered: Jul 2002
Posts: 29

Rep: Reputation: 15
Do you have a web server running on the server at home?
 
Old 02-20-2007, 09:52 AM   #7
maggus
LQ Newbie
 
Registered: Apr 2006
Distribution: Puppy, Fedora, PCLinux
Posts: 19

Original Poster
Rep: Reputation: 0
Yes, I do have web server working at home. And I am able to connect to it using both http and ssl. Can I emulate ftp with web server?

to pdw_hu: I have some services running through ssl, so I do not want to loose them if I change ssl port to ssh service.
 
Old 02-20-2007, 09:56 AM   #8
wgbjr
LQ Newbie
 
Registered: Jul 2002
Posts: 29

Rep: Reputation: 15
I was just thinking if you didn't have a web server running, your ftp server could run on port 80.

I don't see another way to get around it right now, but I am sure someone more experienced than me may have an answer.
 
Old 02-20-2007, 10:53 AM   #9
maggus
LQ Newbie
 
Registered: Apr 2006
Distribution: Puppy, Fedora, PCLinux
Posts: 19

Original Poster
Rep: Reputation: 0
I am thinking about setting up ssh as port 80, and web server on some other ports. And do all connections through ssh tunneling. Including http, ftp, and ssl.
That's the only possible solution I can think of. The problem is that regular web server users would not know about 80 being ssh, not http port. and for them http would not work.

Thanks anyway wgbjr

Mike
 
Old 02-20-2007, 11:09 AM   #10
wgbjr
LQ Newbie
 
Registered: Jul 2002
Posts: 29

Rep: Reputation: 15
I would assume then that you use SSL as well on your server?
 
Old 02-20-2007, 11:35 AM   #11
maggus
LQ Newbie
 
Registered: Apr 2006
Distribution: Puppy, Fedora, PCLinux
Posts: 19

Original Poster
Rep: Reputation: 0
Yes, I do.
 
Old 02-20-2007, 11:46 AM   #12
wgbjr
LQ Newbie
 
Registered: Jul 2002
Posts: 29

Rep: Reputation: 15
Well, my experience says you are limited on what you can do. You have two ports to work with, and those ports are used.

Maybe someone else has some ideas? I would be interested in seeing how it could happen myself.

Last edited by wgbjr; 02-20-2007 at 11:52 AM.
 
Old 02-20-2007, 01:13 PM   #13
1jnike
Member
 
Registered: Jan 2006
Location: UK
Distribution: Fedora,Mandriva,Debian,Suse,Solaris
Posts: 133

Rep: Reputation: 17
Post

Hi wgbjr,

I am fairly new to all this, but you could try the following link:

http://www.iana.org/assignments/port-numbers

I hope you find it usful.


1jnike
 
Old 02-20-2007, 03:18 PM   #14
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Debian, FreeBSD
Posts: 3,746
Blog Entries: 5

Rep: Reputation: Disabled
Well, you have a limited number of ports to work with, so how about this:

Run sshd on port 80 at home. Allow X11 forwarding. This means you can -
  • Copy files back and forth using scp or sftp. (ftp no longer needed.)
  • Run your web browser directly from your home box (over ssh) and point it to localhost. Your web server can listen on some arbitrary port.

Will that do it? Or are there some other pieces to this puzzle?
 
Old 02-20-2007, 04:05 PM   #15
Jaqui
Member
 
Registered: Jan 2006
Location: Vancouver BC
Distribution: LFS, SLak, Gentoo, Debian
Posts: 291

Rep: Reputation: 36
http and https are NOT limited to port 80 and 443, you can have the webserver on your system use any port you want, you just have to modify the dns entry to include the port:
http://mydomain.com:90
https://mydomain.com:768

a common alternate port for http is 8080

for the webserver conf, change the port part of the conf to be * then it will listen on ALL ports on the ipaddress of the server, not just 80.

you only have to specify a port if you have muliple sites using ssl, since the cert served for ssl is ip address specific.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FTP over TLS/SSL --- works, but doesn't ? poweredbydodge Linux - Security 2 11-01-2006 11:45 AM
ftp client with ssl support? Emanon Linux - Software 3 10-26-2006 02:28 PM
ftp over ssl or ftps://.. dsids Linux - Security 4 07-20-2006 11:49 PM
Ftp client+ssl+implicit? CyberTron Linux - Software 3 04-21-2005 05:11 PM
FTP via SSL (TLS) embsupafly Linux - Security 2 03-02-2005 08:47 PM


All times are GMT -5. The time now is 02:52 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration