LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 11-12-2003, 04:43 PM   #1
Goatdemon
Member
 
Registered: May 2002
Location: The good 'ol USofA
Distribution: ArchLinux - Slackware 8.1
Posts: 398

Rep: Reputation: 30
modifying hosts.deny and rdesktop


hi i want to use ssh to do this ...
ssh -fN -L 3389:windows.location:3389 username@location

which is to open a connection from my linux box to a windows terminal server.

when i enter the above command i'm prompted for a password
then i type rdesktop localhost and the program does nothing, it
doesn't even produce any error messages.

i also would like some help with hosts.deny, how do i allow traffic on some ports
but not all?

right now i changed my hosts.deny file from
ALL:ALLENY to
3389:3389:ALLOW

is this right?

what do i do?
 
Old 11-16-2003, 06:43 PM   #2
Goatdemon
Member
 
Registered: May 2002
Location: The good 'ol USofA
Distribution: ArchLinux - Slackware 8.1
Posts: 398

Original Poster
Rep: Reputation: 30
isn't one of the developers of arch supposed to be periodically offering advice on this forum?
-- heres my problem again
i go to ucr, im a cs major, im currently taking cs 14 and cs61. being a cs major i have certain access to some of the servers at ucr, and i get a very limited amount of space on their system.
i dont run windows at all so untill recently i've had to walk my ass to school to access the lab computers to do my cs 61 programming assignments. (the cs 61 assigmnemts require me to use software that is only available on windows, ive tried wine emulating it and it doesn't work.)

So, after making frinends with a sys admin at school he told me how to access a windows terminal server from home using port 3389, ssh, and rdesktop.

i did this in gentoo and it worked, i switched over to arch linux and i get problems, i can log in, enter my password but when i do rdesktop localhost i get nothing except a "connection timed out" error after a while. what is the problem? im not going back to gentoo but i am considering redhat 9 at this point.

Last edited by Goatdemon; 11-16-2003 at 06:45 PM.
 
Old 11-17-2003, 03:20 PM   #3
Mork
Member
 
Registered: Mar 2003
Location: Visby, Sweden
Distribution: Ubuntu 4.10
Posts: 64

Rep: Reputation: 15
Arch developers do look in here from time to time. Arch is not a commercial distro though so they have other stuff to do as well. You are more likely to catch them at
bbs.archlinux.org.

I have never dabbled with ssh so I really can't help you there.
Quote:
i also would like some help with hosts.deny, how do i allow traffic on some ports
but not all?

right now i changed my hosts.deny file from
ALL:ALLENY to
3389:3389:ALLOW
I think you use your host-files to allow specific hosts. To close or open ports you should use iptables (the kernel packet filter).

If you want to allow a specific host you should add the name/ip-address of the host in /etc/hosts.allow. If you have a firewall (iptables-script) running you must also edit it to allow traffic on the ports you wish to use. (BTW. If you do not have a firewall I higly recommend setting one up, if you don't know how just ask for help).
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
hosts.allow & hosts.deny question... jonc Linux - Security 9 03-05-2005 09:41 PM
Adding shell commands to hosts.deny and hosts.allow ridertech Linux - Security 3 12-29-2003 03:52 PM
hosts.deny and hosts.allow defaults? gui10 Linux - Security 5 12-20-2001 01:57 AM
How to use hosts -.allow and -.deny? dragonflyer Linux - Newbie 2 05-28-2001 08:05 PM
hosts.deny 98steve600 Linux - General 1 01-10-2001 07:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch

All times are GMT -5. The time now is 02:24 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration