Bekijk de volledige versie : port forwarding for xserver; any experience?
Not a newbie with computers and networking, but new to the WL500g, I am trying to get port forwarding to work to use an xserver to access my Linux box at work. It used to work when I had a wired setup with a FreeSco router, but I can't get it to work through my wireless setup.. :confused:
Anyone who can help me out?
Also, the menu in the management interface is not like the menu in the manual: it seems pages are missing, for instance Port Forwarding seems to be replaces by something called Port Trigger.
Through links in some of the postings I reached the System Command page (not accessible through any menu item!!!) and, giving ls, discovered a whole bunch of pages which are NOT to be reached through any menu option! What's the secret???
Some of the pages are hidden (like Main_AdmStatus_Content), some are used in different modes (AP, router, home gateway). Instead of strugling with portforwarding (which is generally very bad idea, because X connections are cleartext) use ssh X forwarding.
Regards,
Oleg.
..... Instead of strugling with portforwarding (which is generally very bad idea, because X connections are cleartext) use ssh X forwarding.
Regards,
Oleg.
Thanks for your quick reply, Oleg! The problem is not so simple to solve, alas! We have to tunnel through a whole bunch of firewalls and reverse-proxy situations to get in, so the procedure was:
- on the homesite, add job-side firewall address to xhost
- log into the server which is allowed SSH access through the reverse-proxy with SSH
- from there, log into an inside workstation with SSH through a pinhole in our own firewall
- being there, export DISPLAY to homeside firewall address and start x-app
On the homesite firewall, forwarded port 6000 to my workstation.
If you can tell me how I can do SSH x-forwarding in such a cascade, I would be VERY greatfull!! ;)
Otherwise, if it is possible to do port forwarding the way it worked on the FreeSco, I would also like to hear!
How I access your final destination? Using too ssh sessions from home (I mean home -> ssh -> firewall -> ssh -> workstation)? If so, you just need X forwarding in all invocations of ssh, so every time you invoke ssh use -X switch. It should work then.
Otherwise you need to configure virtual server on the wl500g, which is in fact port forwarding. But it's REALLY insecure. Anyone on the wire could use you X session to access you office. By making this you make a security hole...
How I access your final destination? Using too ssh sessions from home (I mean home -> ssh -> firewall -> ssh -> workstation)? If so, you just need X forwarding in all invocations of ssh, so every time you invoke ssh use -X switch. It should work then.
I'll try that.. I'll let you know if it works.
Otherwise you need to configure virtual server on the wl500g, which is in fact port forwarding. But it's REALLY insecure. Anyone on the wire could use you X session to access you office. By making this you make a security hole...
Yeah, I like to live dangerously... :D
Thanks for your advice, Oleg! Cascading X-forwarding through SSH is working like a dream! :)