Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-05-2006, 01:23 PM
|
#1
|
Member
Registered: Mar 2004
Location: Chicago, USA
Distribution: Slackware 10.2
Posts: 368
Rep:
|
Remote access via static NAT
I have a redhat box behind a Cisco PIX 506E. The redhat box has an application on it that local PC's telnet into to do certain things at work. The managers want to be able to complete some work at home. The easiest way in my opinion would be to statically NAT a public IP address to the local IP of the server and allow TELNET in thru the firewall. The telnet daemon asks for a username/password which would keep any unwanted vistors out.
Also, in this network, there is a slackware 10.2 box running as a proxy server. I would like remote access to this box via SSH and am contemplating doing so thru STATIC NAT and allowing SSH thru the firewall.
I am worring about DoS attacks on the servers. Is Static NAT a safe way to achieve remote access?
|
|
|
01-06-2006, 11:42 PM
|
#2
|
Senior Member
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658
Rep:
|
Is Static NAT a safe way to achieve remote access?
To some degree yes, but you are opening your LAN to remote access which significantly increases risk. If you take reasonable precautions then it can be done relatively safely. Putting the server in a DMZ is probably an even better solution. Ideally though, you should really think about setting up some kind of VPN access. That way users need to authenticate to the VPN before they even get a chance to send traffic to the LAN server.
I'd also highly recommend against using telnet, expecially on an un-encrypted connection. Sending things like logins in plain-text over the internet is a bad idea. Use SSH as a replacement instead.
|
|
|
01-07-2006, 01:35 PM
|
#3
|
Member
Registered: Mar 2004
Location: Chicago, USA
Distribution: Slackware 10.2
Posts: 368
Original Poster
Rep:
|
I understand your point on the TELNET. If I have a server that runs of the TELNET daemon, how can I get that to use SSH. I have heard of things called a "SHUNNEL" but I am not to familiar with the concept.
|
|
|
01-07-2006, 04:10 PM
|
#4
|
Senior Member
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658
Rep:
|
You could do it that way by tunnelling telnet through some form of encryption tunnel (like SSH or SSL) but why not just run a SSH daemon *instead* of the telnet daemon?
|
|
|
01-12-2006, 08:27 PM
|
#5
|
Member
Registered: Mar 2004
Location: Chicago, USA
Distribution: Slackware 10.2
Posts: 368
Original Poster
Rep:
|
The telnet daemon is provided by a different company and I have no control over it. What else do I need to do to have the telnet thru a tunnel?
|
|
|
01-13-2006, 07:36 AM
|
#6
|
LQ Newbie
Registered: Jan 2006
Location: Norway
Distribution: Debian
Posts: 18
Rep:
|
As allready suggested: Run a vpn, that way the telnet-server is not accessible directly from the internet without logging on the vpn first and the telnet-session runs in an encrypted tunnel....
PopTop is relativeliy easy to set up, not the most secure vpn in the world but a hell of a lot better than running clear-text telnet-sessions in the open....
Last edited by Sir_Limpalot; 01-13-2006 at 07:53 AM.
|
|
|
All times are GMT -5. The time now is 03:22 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|