Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i want to telnet somewhere, let say xxx.co.il and be able to see x applictaions. The problem is that i have a proxy inside my lan. all addresses are static ip. so, let say the proxy's internet ip is:163.43.42.15 from outside and 10.0.0.0 inside tha LAN, and the client computer that is inside the lan is 10.0.0.5.
i tried "xhost +" on my computer (10.0.0.5) and "setenv DISPLAY 163.43.42.14::10.0.0.5" on xxx.co.il, after telneting it, but it doesn't seem to work.
is there a way to forward the display to the ip address inside the LAN?
tnx, Or.
You cannot do this with telnet without modifying the settings in your firewall/router. Don't bother - what you attempt to do is *really* dangerous. Telnet is prone to password sniffing, it's only a matter when, not if, your passwords get compromised. Ditto for unencrypted X11 - it's possible for an intruder to actually watch what you are doing on your screen.
ssh with X11 forwarding is the right solution. X11 tunnels through your ssh connection. No netop in his right mind would let unencrypted X11 through, hence everyone is tunneling, which has lots of advantages, for example, that it's actually faster in most cases (ssh compresses the traffic, so on large volumes/slow networks you gain).
If you ssh into that remote machine, you'll find your DISPLAY set to some localhost:12:0 or some such number. Do NOT change that. (If that variable isn't there, it's because X11 forwarding is not the default on your end, you can make it in the config file or temporary use ssh -X.
i new about the ssh option... it just seems a litlle bit complicated, and i'm not sure i could ssh to the host. i guess i have no other choice then....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.