Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SSH port forwarding
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Ricky
Guru
Guru


Joined: 30 May 2003
Posts: 341

PostPosted: Wed Jun 18, 2003 2:50 am    Post subject: SSH port forwarding Reply with quote

So, I'm trying to help someone secure their FileMaker pro usage with ssh and port forwarding. I've told him how to set it up, and he seems to have got it all working. (This is all via e-mail, mind you.)

Now, the question he's hit me with: Is there a way to force the remote user to use the ssh forwarding? I.e. is there a way to guarantee that the user can't just choose to connect to the server without ssh?

My current theory is that you can set up a firewall to block outside requests to the port, and the ssh server's forwarding would still work. Is this true? It seems to me that the forwarding of the port from ssh to the FileMaker server should be local to the server, and therefore be able to be allowed through the firewall w/o letting everything else in. I don't have a similiar set-up here to test it out with, so I was wondering if anyone with a more concrete knowledge of ssh could let me know whether or not I'm barking up the wrong tree. Or, better yet, if there's a better solution to this that I haven't thought of.

Thanks! :-)

P.S. The ssh server and the filemaker server are running on the same box.
Back to top
View user's profile Send private message
dberkholz
Retired Dev
Retired Dev


Joined: 18 Mar 2003
Posts: 1008
Location: Minneapolis, MN, USA

PostPosted: Wed Jun 18, 2003 4:10 am    Post subject: Reply with quote

The port forwarding should be entirely internal. So you should have no problem blocking that port on your outside interface (e.g., eth0) and allowing it from your internal interface (e.g., lo), afaik. However, I'm not an iptables expert. Try it and see.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum