On Sun, Jun 18, 2006 at 06:07:44PM +0800, paul john wrote: Dear friend, > as the subject, > > host has onely one ethernet interface . eth0 only > one external ip 218.116.112.115, so i want use 192.168.1.0/24 by umls .
you need to set up the host as a gateway for your "internal" traffic, so that all the packet arriving from eth0 can be redirect in the proper way to the internal network. Please see: http://sourceforge.net/mailarchive/forum.php?thread_id=12191958&forum_id=3647 > and if above is solved, we only have on problem . how to > ssh umls from the external network exmaple internet , i think we only can > access 218.116.112.115 ,so we must setup a ssh gate, if you choose to redirct ssh traffic on a specific port for ssh you can manage, via iptables, the traffic from outside to the specific uml instance. > > is there a soft like that , users can login 218.116.112.115 with a username > password ,the ssh gate forward to the internal uml he can loged in . if you prefere you can launch an uml system at the login of a specific user, just by adding the following command to the .bash_profile of this user: exec linux ubd0=... umid=mytest eth0=... (obviously to customize the ... field). Rmember that the user must belong to the uml-net group! Cheers SteX -- Stefano Melchior, GPG key = D52DF829 - <[EMAIL PROTECTED]> http://etinarcadiaego.dyndns.org -- http://www.stex.name Skype ID "stefanomelchior"
signature.asc
Description: Digital signature
_______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user