At work we are planning on migrating XP machines to ubuntu, and from there connect via remote desktop to a Windows Server 2008. That part is working perfectly, but our problem now is how to set up ubuntu to "share" the local webcam, so it can be used from the remote session in the server. Going through rdesktop man page there is a redirection option, but doesn't say anything about USB devices.
I have just set up shorewall on my router running Arch Linux. The external network is on eth0 and the internal network on eth1.I have set it up for masquerading and that works fine and I can open ports to the firewall. But I'm having trouble with port forwarding to my internal machines.The problem I have is that when port 22350 is forwarded to 192.168.1.3 on my local network, checking the port with nmap from a remote computer gives me:
Whenerver I try to log on to our Windows 2008 R2 server via rdesktop, the window stays at the same small size. I can neither enlarge the window at the borders nor maximize it. Alt+Ctrl+Enter simply gives me the same window-content on the full screen with the rest simply grey.
Is that normal behaviour for rdesktop? Is there an alternative?
I've happily been using rdesktop to access my MS Vista desktop from Ubuntu (Hardy) for a few months until a couple of days ago when it stopped working. Now if I try connecting I get the following:
[Code]....
I don't believe anything's changed on the client (Ubuntu) side. The Vista box is occasionally connected to a corporate intranet via VPN and it was after such a session that rdesktop stopped working, so perhaps a Windows group policy was modified during the session. I've checked the basics - can ping 10.1.1.2 from Ubuntu, can access port 3389. Have deleted ~/.rdesktop and ~/.tsclient.
Digging around the Vista client I noticed in Control Panel > System Properties > Remote that in the Remote Desktop sub-panel the Allow connections only from computers running Remote Desktop with Network Level Authentication setting is enabled and that the other two are greyed out. Now, I don't know whether this setting has been changed but I suspect that it might be the problem.
Unfortunately, I don't know enough about Windows to know how or even whether I can change this setting to Allow connections from computers running any version of Remote Desktop (less secure) I've poked around the group policy editor (gpedit.msc) but no joy.
I have problem with login into Windows 2008 server usning rdesktop 1.6. While I'm connect Windows 2008 host, prompts username and password i get an error: "Wrong username or password" but i'm sure that username and pass are correct (I can connect this server using windows Remote Desktop). My OS is Ubuntu 10.04 64-bit.
I have successfully setup a connection from Ubuntu 10.10 to Windows XP Pro via rDesktop, which of course was quite easy, but I intend to do permanently setup via my computers on the same connection. Like KVM switch, but what kind of risks or problems could come up? What kind of tweaks could I apply to add extra security? I would like to do a ssh connection between them, but I have had major issues with it in the past. What kind of options do I have?
Using the following command, I can access a windows 2008 server: rdesktop -u myusername -d mydomain -p - -fP -r sound:local -r disk:myhome=/home/myhome serveraddress
connection works fine, and to start with I can see my local disk "\tsclientmyhome" and navigate around + open files. If I try to delete a file or rename a folder, I get an Error 0x8007048F:The device is not connected.
After this, I can no longer access the local disk. It says: "\tsclientmyhome is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions. Attempt to access invalid address." As I understand it, I should be contacting myself about permissions... Can anyone tell me what I need to do on my local ubuntu machine to fix this?
The issue i found is that when i connect from ubuntu to windows 2003 server, through rdesktop, using the numeric keypad disables automatically the caps lock setting.To reproduce the problem :
- connect to a windows remote pc through rdesktop - open notepad - press caps lock to set the capital letters
[code]....
The result is :
ADKLEFL2390309ajkejkjf
The caps lock has been silently deactivated. Only ubuntu clients are affected by this. I think it's a bug of rdesktop.
I have installed Fedora 11 and Fedora 8 on two differnt machines and I am doing an rdesktop to connect to a Windows 2003 server. The connectiviy is pretty fast when I try and connect the same from fedora 8 machine but it very slow when I try and connect it from fedora 11 system. I have tried using TS client but even then it is pretty slow. I have also tried using an Nvidia 8400 graphic card and Nvidia 9600 on Fedora11 OS.
I have also tried using Fedora12 OS as well. Is there any thing specific I can check on Fedora11? Or do I need to do some thing on my windows 2003 machine?
how to configure rdesktop to connect to a Windows (XP/2003) computer, but going through a Terminal Services Gateway or connecting to a Terminal Services Server through TLS/SSL? The command line options or any on-line documentation I was able to find, omits this entirely. Using the Windows Remote Desktop Client (RDP6) you can configure Terminal Services Gateway connections from the Advanced Tab. I suspect that rdesktop, gnome-rdp, tsclient et el can't do this yet as they support up to RDP5. Currently I am using a WinXP VM to accomplish this, but would like to do this natively on my Linux box.
Windows computer continually generates images (AutoGrabnnn). All downstream analysis on linux computer. I need analog of rsync bringing files over as they arise. rdesktop seems to be the approach. Is this already described somewhere to bypass much trial-and-error?
So I was trying to remotely access my XP laptop from my Ubuntu laptop. I read up on tsclient and rdesktop and tried both methods. For example, in the terminal, I typed:
rdesktop <host ip> However, this came back with the following error: autoselected keyboard map en-us. ERROR: <host ip>: unable to connect.
After a bit of internet searching, I found the solution to the keyboard problem. I typed:
rdesktop -k en-us <host ip> This yielded the following error: ERROR: <host ip>: unable to connect.
No clarification, no explanation. nothing. Does anyone have any ideas?
I have a ubuntu 9.10 on my desktop in my office and I have another ubuntu on my home desktop. Both machines are behind a router. I guess many people have already asked the same question: how to remote control the office desktop from my home desktop?Many posts discussed about solving this by setting up ssh and port forwarding. But my situation is that I cannot control the router in my office so I cannot set up any port forwarding for my office desktop. So I guess my question becomes how to remote control my office desktop without setting up any port forwarding on the office router.
I currently use a commercial VPN when working overseas for secure internet access.
I now also need to VNC to a home ubuntu desktop (which runs software 24/7 that I need to periodically check).
When overseas, I use a Ubuntu laptop and an Android tablet.
For the VNC I intend to use an SSH tunnel. So my question is: should I ALSO set up openVPN on the home computer (so I can stop paying for a commercial provider which routes all my traffic twice across the Atlantic...) or is it easier/better to use the SSH tunnel for the secure webbrowsing too? Something like a SOCKS proxy?
I'm having problems with vpnc on F12 that work fine on F10 and F11. On F12, I can connect and can do some activities, but so far I noticed the following (show-stopping) issues:Attempting to connect to an Oracle database using either sqlplus or TORa hangs and eventually times out. I tried both the 11G and 10G instant clients.Copying a file to the host via a smb:// mount in nautilus freezes. An empty file is created though. A rdesktop client opens a "black" window and goes no further. I attempted to downgrade vpnc on my F12 workstation from vpnc-0.5.3-4.fc12.x86_64 to vpnc-0.5.3-3.fc11.x86_64 to no avail. I also downgraded libgcrypt too and this didn't help either. Moreover, I upgraded these to the F13 rawhide version - still no luck.
I also confirmed on a F11 virtual machine that these work and that it doesn't work on 2 x64 and 1 x386 F12 machines. (The configuration and the host are the same in all cases.)
I have Ubuntu 9.10 PC on my home network acting as a VPN gateway. It is using vpnc & iptables to provide access to the remote network - other computers on my local network have routing rules in place to go via the Ubuntu gateway if trying to reach an IP on the remote network. This works just fine, except DNS lookups for names on the remote network don't work.
I'm trying to solve this by using Bind9 on the gateway, so it can act as DNS for the local network. I don't want to create excess VPN traffic or load on the remote DNS, so I want the gateway to forward the lookup to my ISPs DNS first and if the name is not found then try the remote network DNS. Is this possible, or is there another (better) way around this? The Bind9 configs seem to admit multiple DNSs, but use them in a failover sense - only using secondary DNSs when the first one in the list is not reachable at all.
I have a script to establish a reverse tunnel with other machine,My problem is to stop the tunnel. If I just kill the PID at sshtunnel.pids, ssh does not release the ports at the server side, so any new connection will fail for several minutes.Is there any way to signal SSH to exit gracefully?
This should be easy but for some reason its not working. I don't have admin rights on one of my local networks to open the firewall for port 80 to make my server accessible remotely (from the internet). I have a remote server (OpenVZ VPS) and I want to port forward so that [url]:8080 will point to my localhost:80 from the internet itself (i can get it to work on the remote VPS server's local network)...
How could I accomplish this? Basically, I am trying to serve webpages from behind a firewall using a VPS as a hub.
would it be possible for anyone to give me step-by-step instructions on how to set up port forwarding on my laptop? I've been using Karmic Koala and just upgraded to Lucid Lynx and not really bothered to port-forward before, so not too sure where to start - googling gives me a lot of terms I don't understand.
I have two nic cards installed in a Lucid LTS server.
eth0 is static using address 192.168.0.235 gateway 192.168.0.1 netmask 255.255.255.0
[Code]...
I have my Qwest DSL modem port forwarding port 80 to 192.168.3.235 however this doesn't seem to work if I have both cards running. If I remove the second card (eth1) and reconfigure eth0 to use 192.168.3.235 I can port forward into my webserver.
I have logged into my router and set up port-forwarding on port 22. I can log into the machine fine from a machine on the local network using the machines internal IP but when I try to log on from a remote machine using my router's external IP or my DyDNS host-name I get a message saying "connection refused" or "connection timed out." I have configured port-forwarding on the router and the firewall rules says that port 22 is open but when I nmap my routers external ip it says that only port 23 and 80 are open. I am very new to linux and networking.
I've used wake on lan and SSH on the local network for some time now. I also used SSH to mount a filesystem (SSHFS / sftp, same thing, right?) and I could forward X11, loved it. I used both these options for my convenience. So I decided it was time to open up some ports on my router (Linksys WRT320n running dd-wrt) and try to set up a remote connection. This actually worked after some time, so I'm now able to turn on my home computer from the Internet (school in my case) and then log in to it through SSH. I set this up using other ports then the default ports. Something like this (these are not the actual ports I use, just examples):
port 2112 -> port 9 (for wol, wake on lan) port 2113 -> port 22 (for SSH)
This information might be useful: I set this up using public and private keys. This is necessary for SSHFS to work properly I think and it also makes it more secure. And then I found (and had some presumptions that this was going to happen) that both SSHFS and X11 were not working. I'd rather not open up more ports on the router for security's sake though, so I'm asking for other solutions. And if there really aren't any other solutions then which ports to forward. And if forwarding is really necessarily then how to make the client use port 2114 for SSHFS and 2115 for X11 so I can forward those ports to the default ports.
I'm trying to set up very simple UDP port forwarding, but can't seem to have good results. I read trough netcat and iptables manuals, but can't seem to figure things out. my setup is the following:
I have machine1, listening on UDP port 49000. I have machine_fw, which accepts connections on 59000, and forwards all this to machine1:49000 (and returning traffic too) I have machine2, which will connect to machine_fw:59000, and this way communicate at the end with machine1:49000, as machine_fw is taking care of forwarding is there an easy way to achieve this?
At home, I am running Ubuntu 10.04.1 LTS with openssh server OpenSSH_5.3p1 Debian-3ubuntu5 In my office, we are using CentOS 5.5 with openssh OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 Both my /etc/ssh/sshd_config at home and my ~/.ssh/config has X forwarding enabled.When I log in to my home machine from my office with ssh -X -vv host, I got the following:
Code:
debug2: x11_get_proto: /usr/bin/xauth list :0.0 2>/dev/null debug1: Requesting X11 forwarding with authentication spoofing. debug2: channel 0: request x11-req confirm 0
But once I log in, I get:
Code:
home:~>echo $DISPLAY DISPLAY: Undefined variable.
I tried setting DISPLAY to localhostx.0 (xx from 0 to 10) but none of that works. I have also tried ssh -Y but the result is the same.
I don't understand the concept of ssh port forwarding and tunneling.I was going to set up a remote desktop (vnc) connection to my grandmother's laptop that we'll give her soon so if something goes wrong i can fix it from here (she lives on the other side of the world). However, i've read using vnc plain over the internet isn't secure, and that i can secure it by running it through an ssh tunnel.That's what i've understood so far. However, from there on i get confused.
I'd have to run both an ssh server AND a vnc server on her laptop? So what i'd have to do is ssh into her computer, and then while logged on on her computer, somehow open a vnc connection back from the remote server to the local computer? Then i'd go back to my local computer and open a port where the vnc connection is waiting? From the concept, it would seem like i should be able to tunnel all the regular network traffic from the local computer to the remote one through ssh?
We have on Ubuntu 10.04 LTS installed on one m/c which is connected to office network using pptp vpn.Now i want to enable ip-forwarding on this m/c so that i can connect my RH9 m/c through this. For enabling ip forwarding i did the basic thing "echo "1">/proc/sys/net/ipv4/ip_forward" And added route on the RH m/c as route add -net 10.254.254.0 netmask 255.255.255.0 gw 192.168.1.10 dev eth0" (IP of Ubuntu m/c is "192.168.1.10 and RH m/c is 192.168.1.15) But some how ip-forwarding is not working properly.
I'm facing a challenge in setting up a simple routing between 2 networks. The situation is as follows.We're using 2 networks, 1 that handles all the office traffic and 1 that is used for storage traffic to the NAS. I'm trying to setup a simple router that will forward requests from the office LAN to the storage one, so people can access the NAS interface on the storage LAN.
So, I have a CentOS 5.5 box, connected to both networks that should handle this job. The office LAN is 172.29.38.0/24 and the storage LAN 10.1.2.0/24. IP adrresses of the linux box are 172.29.38.98 (eth0) and 10.1.2.98 (eth1).First I started by enabling IP-forwarding in the kernel:
Code:
# cat /proc/sys/net/ipv4/ip_forward
Below is a copy of the iptables in use:
Code:
# Firewall configuration written by system-config-securitylevel # Manual customization of this file is not recommended. *filter :INPUT ACCEPT [0:0]
[code]....
It just never seems to get to the machine on the other side. I've verified that I can access both networks from the router and I can ping the router from my client.
I have 2 Linux boxes one acting as a router with a direct connection to the internet, second as a server using the first box as a gateway to the internet. I need to forward requests that I get from the outside to port 8400 to my internal server box at 192.168.0.7:8400
Router IP 192.168.0.5 Server IP 192.168.0.7 iptables -t nat -A PREROUTING -p tcp -d [internet ip] --dport 8400 -j DNAT
[code]...
These rules are on the router (192.168.0.5) I've been trying to find a solution for hours with no success. Basically the problem is I can forward ports on the same box but not to a different ip.
A command like (single quotes used in the command):
Code: ssh -L '[::1]:3128:127.0.0.1:3128' ...
is getting an error message like:
channel_setup_fwd_listener: getaddrinfo(::1): Address family for hostname not supported
This is supposed to be an IP address, not a hostname, for the localhost in IPv6. Anyone know what is wrong with this? Addresses like this work OK in rsync. I know I can use ip6-localhost as a hostname. But right now I'm testing actual IP addresses in IPv6 to see what programs can or cannot handle it.
iam using arno iptables can give me command to ip forwarding cause my web server behind my router. my ip web server 192.168.0.11 and my ip router on eth 1 192.168.0.1 and eth0 i use to dial up my modem and i use pppoe for that.