Help on firewall ruleset for routing X (Exceed) thru the Linux firewall

Help on firewall ruleset for routing X (Exceed) thru the Linux firewall

Post by Praveen Sheno » Sun, 31 Dec 1899 09:00:00



Does anybody use Exceed to emulate the Solaris desktop on a
WIN 98 pc
behind a Linux firewall? I tried couple routing aoptions to
route ports
6000-60010 with udp ports 177 and control port 23. No luck.

  pshenoy.vcf
< 1K Download
 
 
 

Help on firewall ruleset for routing X (Exceed) thru the Linux firewall

Post by Jonathan Voig » Thu, 23 Nov 2000 09:25:25



> Does anybody use Exceed to emulate the Solaris desktop on a
> WIN 98 pc
> behind a Linux firewall? I tried couple routing aoptions to
> route ports
> 6000-60010 with udp ports 177 and control port 23. No luck.

I think it depends what you are running....

You need to allow the connections at the firewall... or forward them to
your other machine if thats the only machine receiving X-windows
connections...

The firewall still has to allow them through...

Below is an example to allow them at the firewall... but you can get an
idea where to go from here...

#
IPADDR="your.ip.addre.ss
ANYWHERE="any/0"
 #
 XWINDOWS_PORTS="6000:6063"
 # Allow establishing a remote connection from your machine
 #
  ipchains -A output -i $EXTERNAL_INTERFACE -p tcp -y -s $IPADDR -d
$ANYWHERE $XWINDOWS_PORTS -j     ACCEPT
 #
 # Allow incoming X Windows connections to your  machine
 #
 ipchains -A input -i $EXTERNAL_INTERFACE -p tcp -y -d $IPADDR
$XWINDOWS_PORTS -j ACCEPT
 #
 #
 #

You also need this open...as Openwindows uses another port...

 #
OPENWINDOWS_PORT="2000"
 #
 # Allow Outgoing OpenWindows Connections -  .
 #
 ipchains -A input -i $EXTERNAL_INTERFACE -p tcp -y -s $ANYWHERE -d
$IPADDR \
 $OPENWINDOWS_PORT -j ACCEPT
 #
 ipchains -A output -i $EXTERNAL_INTERFACE -p tcp -y -s $IPADDR -d
ANYWHERE  \
 $OPENWINDOWS_PORT  -j ACCEPT
 #

Or a rule to just forward port 2000 connections to your solaris box.

Depends what you are running on Solaris.

--
Jonathan Voigt



www.voicomm.com - Linux/Unix Resources