Re: binding xdm to a single ethernet interface



An Wed, 08 Mar 2006 11:44:25 -0800, barros.jos hat geschreibt:

Hi
I have a m/c with dual ethernet interfaces running suse 9.2 pro and
want to ensure that xdm communicates with other remote clients only via
a single (first) ethernet interface as i'm running other services bound
to the second nic . Initially I thought it was just a problem of
configuring the correct iptables rules for blocking all except the
required ports (exept xdmcp) on the second nic while for the first nic
i just kept it open on all ports.

However it appears that after the the remote x-server queries the
correct (first) interface, xdm communicates back to the clients on
either of the nics. Thus sometimes my remote session would hang midway
thought the kde initailisation while sometime it would'nt even start.

From what info i've found so far it seems that this sort of behaviour
should be configured in the Xaccess file in /usr/X11R6/lib/xdm (for
suse) . However just how I cannot determine as all examples i've come
across so far give examples for specifying which clients can get a
login session.

Some x-servers allow you to do a direct xcmp request to the nic you
want, or you can set up the XDM to LISTEN only on the desired nic.



any suggestion?

Yes use LISTEN in the Xaccess file:

LISTEN 10.11.12.13 # assuming this is the nic you want to use.

thanks
Jose

If you still have problems with the return packets coming back through the
wrong interface, you will have to do some fancy routing using iproute2 or
plain static routing with route.
.



Relevant Pages

  • binding xdm to a single ethernet interface
    ... I have a m/c with dual ethernet interfaces running suse 9.2 pro and ... want to ensure that xdm communicates with other remote clients only via ... However it appears that after the the remote x-server queries the ...
    (comp.os.linux.x)
  • RE: SBS2k3 VPN Issue
    ... Your SBS server has only one Nic. ... VPN clients to the same IP as the LAN, the clients can RDP either Server or ... When the server assigns the VPN clients the different IP ... <between the internal and external nics, hence routing the request, or have ...
    (microsoft.public.windows.server.sbs)
  • Re: Win2K RRAS/VPN Help
    ... > if you try to configure different gateway settings on the NICs). ... > on the server itself. ... *.201 thru *.225 IPs for VPN clients. ... RRAS using *.200 and clients getting *.200+ IPs. ...
    (microsoft.public.win2000.ras_routing)
  • Re: Lan setup 2 nic
    ... As you did a fresh install, you will need to rejoin the clients. ... The external nic should NOT have the Client for MS Networks checked. ... What 2 available TCP/IP ... >> Attached a screenshots of my 2 nics. ...
    (microsoft.public.windows.server.sbs)
  • Re: Allowing access to remote web workspace through external NIC via router
    ... Assuming your nics are correctly configured, you should only need run the ... Connect to the Internet Wizard to configure RWW and OWA. ... Les Connor [SBS Community Member - SBS MVP] ... however I would like to be able to access the remote web workspace ...
    (microsoft.public.windows.server.sbs)