What he said... The safest thing is to restrict what the host device can access though.
Main Topics
Browse All TopicsI have a machine I would like to use to provide remote access to workstations. I plan to use puTTY to create a SSH tunnel and port forward traffic. I would like to control which remote machines users can reach. How do I accomplish this?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
CousinDupree you can restrict user access only to specific IP _and_ port (with the example above) and only with OPenSSH version 5 (not 4 that is shipped by default with some distributions)
If you need to restrict to IP only, you may use iptables feature:
iptables -A OUTPUT -m owner --uid-owner XXXX -d Y.Y.Y.Y -j ACCEPT
iptables -A OUTPUT -m owner --uid-owner XXXX -j REJECT
where XXXX is uid and Y.Y.Y.Y is a destination host.
Business Accounts
Answer for Membership
by: NopiusPosted on 2009-09-14 at 15:52:48ID: 25330032
You should use openssh version 5.
man sshd_config
Select allOpen in new window