Go Back   Linux Forums by TotalPenguin! Get linux Help! > Linux > Linux Networking

Linux Networking This forum is for Linux Networking Only. Routing, servers, etc.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-21-2008, 02:45 AM
Senior Member
 
Join Date: Jan 2007
Posts: 109
Hektor is on a distinguished road
Default Restrict SSH Tunnel

How can I restrict SSH Tunnels to certain users? Once that is in place, how do I restrict it to certain sites only? I'd also like only certain ports to be allowed. I don't want a bunch of users using my server as their SSH tunnel for file sharing.

I've considered a firewall, will this do the trick? What firewall should I use?
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 05-07-2008, 11:37 PM
Jordan's Avatar
Administrator
 
Join Date: Nov 2006
Posts: 533
Jordan is on a distinguished road
Default

I'm not sure how you can limit it to certain users but you can disable it by editing /etc/ssh/sshd_config and setting or adding AllowTcpForwarding to NO
.

sshd_config
Code:
AllowTcpForwarding No
Reply With Quote
Reply

Tags
firewall, ssh tunnel

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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



All times are GMT. The time now is 01:52 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.