Mailinglist Archive: opensuse-security (511 mails)

< Previous Next >
Re: [suse-security] X-Problem due to firewall
  • From: Yuri Robbers <yuri@xxxxxxxxxxxxxxxxxxxx>
  • Date: Sat, 18 Aug 2001 13:17:15 +0200 (MEST)
  • Message-id: <Pine.LNX.4.33.0108181310300.3336-100000@xxxxxxxxxxxxxxxxxxxx>

Hi Markus!

> Since I'm so paranoic and locked down my whole machine, I have a
> problem now... I installed SuSE Firewall 2 and configured it. Now,
> it's really great, noone getting in at all, BUT:šAt my office I use to
> rsh to a server quite often, and now I don't get the X-forwarding to
> work anymore, since my firewall blocks just about everything. Where do
> I have to change what, to get that up and running again?

If you really insist on using rsh, open port 6000 in your firewall-config:
that's the one X uses. Better, however is to leave your firewall untouched
and use ssh instead of rsh:

ssh -X server

will enable X-forwarding. Or edit /etc/ssh/ssh_config on your
workstation to contain the line

ForwardX11 yes

If the server is running SuSE 7.2, it's /etc/ssh/sshd_config is already
configured properly. If you're runnign another OS, you might have to add
these lines:

X11Forwarding yes
X11DisplayOffset 10

Cheers,
Yuri.



< Previous Next >
References