LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 01-12-2003, 10:45 PM   #1
fgeter
LQ Newbie
 
Registered: Jan 2003
Posts: 6

Rep: Reputation: 0
xinetd, remote X display, hosts.allow


Background:
I have two computers, one fast (the remote) and one slow (local) on a
nated network behind a router. I am using Mandrake 9.0. I have set
up the remote machine to allow remote X sessions. I am successful in
getting it to run on the local machine so that the X display is on the
local machine but I am actually working on the remote fast machine.

I would like to tunnel the local X session through a SSH tunnel (not just an X app butthe whole display) to the fast machine. In setting this up I discovered
that even though I set my hosts.allow on the remote machine to only say:

sshd: slowmachinehostname : ALLOW

and my hosts.deny to:

ALL: ALL

It would still allow my slow local machine to connect in the raw to the remote machine. Mandrake uses xinetd and it does utilize the hosts.allow and hosts.deny. The local machine cannot telnet to the remote machine with the above configeration.

Two questions:
1. How do I get my remote machine to not allow X traffice in the raw.
2. How do I can get the X display to tunnel through SSH.

Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
exim does not deliver on remote hosts otoomet Debian 2 01-02-2005 12:56 PM
remote ssh commands on multiple hosts evilchild Linux - Software 6 08-12-2004 10:48 PM
Camserv disconnects remote hosts automatically Adrohak Linux - Software 0 07-17-2004 02:04 PM
Maddening sendmail problem -- cant send mail to remote hosts! HELP! Bungo2000 Linux - Networking 11 06-09-2003 03:33 PM
xinetd, X traffic, hosts.allow fgeter Linux - Security 3 01-16-2003 08:58 AM


All times are GMT -5. The time now is 10:27 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration