Fedora Networking :: Can't Establish A Ssh Tunnel

Jun 20, 2010

I have a headless server, running Fedora 13. I want to make a ssh tunnel to that server from laptop that is also running Fedora 13. Logging into that server over ssh works well, X11 forwarding also works, but I can't establish a ssh tunnel.

At the moment I was trying to connect two small python tcp sample programs, that communicate through port 8000. Running them both on my laptop works well.

What I am trying to do is that I am making two seperate ssh connections to my server, let's say it's address is myserver.com.

1) I make a 'standard' ssh connection to it

Code:

And run the server program

2) I open another terminal window and make the tunnel

Code:

3) I open 3rd terminal window and try to run the client program, that is trying to connect to localhost:8000.

If I understand it correctly, the client should now connect to localhost:8000, ssh would discover that and send that data to myserver.com port 8000. Then the server program on myserver.com is listening on that port and should get that data and send "hello world" string back to the client. Then the client should get that, print it to stdout and exit.

Unfortunatly all what it does is that it just hangs for about ten seconds and then says "connection lost" (timeout?)

I have tried other programs, they also timout.

By passing the -v argument to ssh it outputs:

Code:

When I try to connect the client it prints four more lines:

Code:

So as you see, it says that the connection times out..Also can anybody tell what the "Unspecified GSS failure." means? The possible break in attempt is caused by connecting to the server using the myserver.com address while being in the same local network with the server. If I connect using server's local ip address (ie. 192.168.1.xxx), the message dissappears.

View 5 Replies


ADVERTISEMENT

Networking :: Can't Establish Tunnel For VPN Over SSH?

Jul 20, 2010

I'm trying to create a VPN through SSH but encounter the following:

Code:
[18:42:11]root@bronzhip:/home/casey# sudo ssh -w 0:0 97.**.***.221 -i VPN
channel 0: open failed: administratively prohibited: open failed

[code]....

View 6 Replies View Related

Networking :: OpenVPN Can't Establish A Tunnel Via Fw2

Feb 10, 2011

I have two firewalls, one primary (fw1) and one fall-back/backup (fw2). On the LAN side the fw's reside in the same LAN segment. I have a client who wants VPN redundancy. So I configured two VPN tunnels for this client. One via fw1 and a backup via fw2. Since the default gateway on the VPN server points to fw1 only the tunnel via fw1 is established. OpenVPN can't establish a tunnel via fw2 because of the gateway and just sits there waiting...

View 1 Replies View Related

Fedora Networking :: Unable To Establish Wired Connection - Dell Inspiron

Aug 22, 2010

I have an issue relating my broadband connection, which I am not able to solve. I hope and wish, that I would find some way out here.

Some introduction: I am using Dell Inspiron (i3 processor) laptop, which I recently bought. I have win 7 preinstalled in it. In win 7, the wired broadban connection (Airtel connection) is working fine and have no issues.

I have been using mobile GPRS(BSNL, Ltd) through bluetooth, and that have been working fine. But today when I tried to connect through landline connection, it didn't workout. But the bluetooth connection is still fine. When I tried to do the connection manually through Network Manager, it is not taking the MAC Address. Till now, after installation, I have not updated my OS.

I surfed the net and tried some commands, whose results I am posting below.

From a post I found out, that I should change my duplex settings (from 100 full to 10 full), but I could not get much. The corresponding commands and output,

I have posted below:

View 2 Replies View Related

Networking :: Establish A Internet Connection At Fedora Latest Via Mobile Modem ?

Feb 18, 2011

I recently installed linux Fedora 14.... how do i have internet connection via my mobile modem...? i conect via usb

View 2 Replies View Related

Fedora Networking :: Odd SSH Tunnel Error - Administratively Prohibited

Jan 10, 2011

I'm trying to set up an ssh tunnel so that I can use an internal dev apache server inside a network. The machine is at 192.168.0.10. If I'm ON the machine and type "http://localhost:80" the Apache test page serves up fine. If I'm inside the network and type: "http://192.168.0.10:80" the Apache test page serves up fine.

However, if I use the IP address and the following:
ssh -L 8888:192.168.0.10:80 me(at)xxx.yyy.zzz.ip
and then type "http://localhost:8888" I get a blank white page, no errors, and a note
"channel 3: open failed: administratively prohibited" appearing in the Xterm where I've opened the tunnel.

A similar command:
ssh -L 8888:my.ip.at.home:5900 me(at)my.ip.at.home opens up a tunnel just fine, through which I run VNC. I've checked the firewall on the apache server, and it's offering up port 80. I've checked that "PermitTunnel yes" is in the config. The router allows ssh on port 22, both tcp and udp.

View 2 Replies View Related

Fedora Networking :: Ipv6 With Tunnel Broker - Better Client For Non Native Ipv6 Connectivity?

Jul 22, 2009

I used to play with gw6c ( a client for tunnel broker ) It works well with fedora9 , fedora 10, but not with leonidas. my rpm is gw6c-6.0-0.4.beta4.fc9.i386.rpm ( a little old!) when I tried to install i have got this: libcrypto.so.7 est ncessaire pou w6c-6.0-0.4.beta4.fc9.i386 I try to make a soft link to libcrypto.so.0.9.8k, but nothing; The question :-Is there a solution for that pb - did you know a better client for non native ipv6 connectivity?

View 2 Replies View Related

Ubuntu Networking :: 10.10 Won't Establish DSL Connection

Nov 24, 2010

What I have:

Computer: Dell XPS M1210
Modem: SpeedStream 51000 - It's SBCGlobal

I followed the pppoeconf setup instructions.

cracker@Jack:~$ sudo pppoeconf Plugin rp-pppoe.so loaded.
RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5

I then asked it to start the connection.

cracker@Jack:~$ sudo pon dsl-provider
Plugin rp-pppoe.so loaded.
RP-PPPoE plugin version 3.8p compiled against pppd 2.4.5

Checked connection information and got this.

cracker@Jack:~$ ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:18:8b:dd:6e:cb
inet6 addr: fe80::218:8bff:fedd:6ecb/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

View 3 Replies View Related

Ubuntu Networking :: Establish A Ssh Connection To Server?

Feb 15, 2010

I am trying to establish an ssh connection to my server. I have a regular ssh connection working through the command line, so I know my key works and I have the port forwarding on the router correct.

When I go to Places -> Connect to Server the window comes up properly. The only problem is that the drop down menu only has one option in it for Service Type. It is Custom Location. I have had this set up in the past and there were other options there. I chose the ssh connection and everything was fine. Now it doesn't work.

I have tried to completely uninstall nautilus and reinstall it, but that didn't work. When I did uninstall it, I uninstalled gnome-session as well, and I reinstalled that one too.

View 9 Replies View Related

Ubuntu Networking :: Wireless NW - Establish A Connection

Apr 3, 2011

I am trying to set up, I am having problems understanding what steps I need to take but have done the following on recommendation of help from linux forums but am not getting anywhere with what I have done. PC:

Laptop Dell latitude D610
Ubuntu Gnome 2.26.1

I currently have a wired connection to my laptop but am trying to set up wireless, I have put the antenna on the router and have a wireless network showing called NETGEAR, amongst others, which is my primary router name so i'm trying to connect to that but the actual wireless antenna is on the switching hub. For all intents and purposed assume I am a complete newbie with ubuntu and linux command line stuff, I know basics like pwd, ls and so on but need a good bit of help trying to do this. When I click on this wlan network NETGEAR I get asked for the password, on the bottom of the switching hub is a code for WLAN and I put this in, it then asks for a password for a default keyring, which I do not know. How do I find this out?

But I am still not sure what I am supposed to be doing or looking for to resolve this connection problem, not only am I not a network expert I have no knowledge of linux either and steps to follow to establish a connection.

[Code]....

View 1 Replies View Related

Ubuntu Networking :: Can't Establish Internet Connection

Jul 18, 2011

I'm using Ubuntu for almost two years and everything has worked well till now. One day I have reinstall ubuntu in my computer, but then something went wrong. I couldn't anymore establish my internet connection. I have tried everything but nothing helped. I even reinstall my ubuntu multiple times but there was no efekt. Even when I installed Kubuntu or an older Ubuntu 10.10, there was no internet. I'm also using Windows 7 but there is always a internet connection. I didn't change any hardware on my computer, only a new AMD graphic card. I'm using wired optical Internet 10/10 MB.

[Code].....

View 9 Replies View Related

Networking :: Apache Server To Establish A Domain?

Mar 24, 2010

I have Fedora 12. I just wanted to know that for demonstrating a DNS mechanism between clients and a host, how to establish a domain ? Do I have to configure an Apache server ?

View 1 Replies View Related

Networking :: OpenVPN - Establish VPN Between A Client And Server On The Same LAN

Feb 4, 2010

Running Linux Fedora 10 on an Intel Core 2 Duo PC. Runs great. We are trying establish VPN between a client and server on the same LAN. The network is a standard fast ethernet, run great. We are trying to install OpenVPN server, but having a little difficulty. Key and certificate builds seem to execute without a problem. But when we try to start the service we get [FAILED]. I've attached a copy of our procedure.

View 1 Replies View Related

Ubuntu Networking :: Router Too Far Away - Failed To Establish Connection

May 3, 2010

Dual boot Vista Basic and Ubuntu 10.04 on low spec PC. I can connect to the wireless when I am next to it. I move to the room where the computer is normally used and I lose connection. I can still see it but it fails to establish a connection. Okay, sounds like it's just too far way but when I re-boot and use Vista, it works fine (1 or 2 bars, but it works). Is this a driver issue? Anything I can do apart from move my wireless router?

View 9 Replies View Related

Ubuntu Networking :: Atheros AR9285 Not Able To Establish Connection

Feb 5, 2011

I am kind of new to linux and have installed the lucid lynx ubuntu distro (10.04) and then "upgraded" it to ubuntu studio but it still says is the lucid lynx. I got a Samsung Q430 laptop with the Atheros AR9285 wireless adapter.I have everything up and running EXCEPT my wireless card. The wireless card DOES work, it does see all the connections available, but when I choose to connect it does not, and keeps asking for the password.

Weird thing is that when I use my samsung galaxy tab as the wireless adapter for its 3G signal, it does seem to work fine (although really slow). I have tried looking for a solution, some say to just install the drivers, but ubuntu does not recognize anything to need a driver except the video card. I have installed linux-backports-modules-wireless-lucid-generic I have also tried the bleeding edge drivers.

After a while of experimenting by myself I came with the following, somewhat rudimentary. I managed to fix the problem by installing the windows wireless driver utility. Here is a tutorial on how to do it. So I just installed it, went to system/administration/windows wireless drivers and just installed it. Downloaded the file from here [URL]. It may not be the best way to fix it, but it does work. Still if you can use ethernet, don't hesitate to do it.

View 9 Replies View Related

Ubuntu Networking :: Lost Connection To Network Printer - Re-establish It?

Feb 12, 2011

I have had long term access to a networked HP Photosmart printer but now I get the following message:

Unable to open device hp:/net/Photosmart_C5100_series?ip=192.168.0.161.

when trying to access it.The ubuntu desktop is wired to the router as is the printer and another iMac wirelessly can still print to the HP. HPLIP status shows the icon for the printer but with a red x indicating no connection to it.The only recent network change was the removal of another router from our network. (service is DSL via a combo modem/router from service provider which previously was connected to a Dlink router which has now been removed from the chain b/c was redundant to the modem/router)

View 1 Replies View Related

Networking :: Cannot Establish A Wireless Network Connection From The Terminal In Ubuntu 10.10

Jan 27, 2011

I'm trying to connect to a hidden wireless network in ubuntu through the terminal but i am unable to do so.

I first tried using ifconfig,iwconfig and dhclient initially but i am only able to get an ip address without the default gateway and dns server addresses which i normally get through the network manager applet.

Then i tried using cnetworkmanager but failed miserably again i keep getting this error

Code:

Another applet is running: Bus name already exists: org.freedesktop.NetworkManagerUserSettings (pid 1851)

Then i used nmcli available with the network manager package. i was able to establish a connection only with the connections showed in the list. i use a hidden wireless network. i am unable to connect to the hidden wireless network using nmcli without actually creating a connection from the network manager applet.

View 2 Replies View Related

Networking :: PPPOE Connection Noesn`t Establish - Modem Hangup

Apr 22, 2010

I`m trying to establish pppoe connection from Linux clinet to Win server.

I get in ppp.log message:

As I see in this log server gets IP address to client but after connection terminates.

View 4 Replies View Related

Ubuntu Networking :: At Times Desktop Computer Can't Establish Wired Connection?

Aug 3, 2011

My desktop computer, running 11.04 (fresh install) sometimes can't establish a wired Ethernet connection. Sometimes when I boot, it keeps trying to establish, but with no luck. I keep trying to choose "Auto eth0" from the networking menu, but still, it doesn't succeed. If I reboot, it sometimes works. I can't establish a connection about half the times that I boot.

The computer is connected with a cable to a router ("Belkin Wireless Pre-N router"), and the router is connected with a cable to a cable modem.I've been using Ubuntu for a while, and I've had a problem for the past few versions (since around 10.04)? I thought that it might be some old issue that got resolved, so I did a fresh install of 11.04 today, and still have the same behaviorI'm willing to try things next time I can't get a connection, but don't know what.

View 1 Replies View Related

Fedora Servers :: Vsftpd - Can't Establish Connection ?

Feb 25, 2009

I just set up vsftpd, from the localhost it works just fine, but when i try to acess it from the network, via firefox or the osx "connect to server" i get a message can't establish connection.

I 'm a new to setting up servers, so maybe i just havent set any neccessary paramters for anonymous login.

My vsftpd.conf looks like this:

Code:

View 5 Replies View Related

Networking :: How To Set Up Secure Web Tunnel?

Mar 24, 2011

I'm trying to set up a secure web tunnel at home I have an Ubuntu box (desktop), a Mac, and a Windows 7 box. I use all of them for different reasons. I want to be able to route traffic from my browser through my Ubuntu box. I have done this before with proxy servers abroad, but I want to do it using ssh and my box at home so I don't have to pay for a service i.e (Secure Tunnel)etc.

I followed the instructions at http://bit.ly/hAnp6u. However, using my Win7 box, after I set the browser part per the instructions, I get no connection from the browser.

View 1 Replies View Related

Networking :: Multi-hop VNC Tunnel Over SSH

Oct 21, 2010

Is it possible to chain together multiple SSH tunnel hops in a single `ssh -L` command on the client side? I have two gateways I need to get through in order to access a remote host. For a normal SSH client connection, it's simple enough chain this all together by simply appending the additional SSH connection commands to the first one:Code: ssh gateway.1 ssh gateway.2 ssh remote.host.

View 6 Replies View Related

Red Hat / Fedora :: Firefox Can't Establish A Connection To The Server At Localhost

Nov 3, 2010

I've installed apache application server v7.I get a problem when I type the command localhost:8080

Unable to connect Firefox can't establish a connection to the server at localhost.

# ps ax |grep tomcat
9463 pts/2 S+ 0:00 grep tomcat

View 3 Replies View Related

Ubuntu Networking :: Create SSL Tunnel Over Ssh?

Oct 3, 2010

I Need to make an SSL tunnel over SSH, I need to create exactly an SSL tunnel,I have a situation like that, I heared it is possible,but don't know how to create an SSL tunnel over SSH i am having putty installed on my pc,So i think i can use putty for this purpose, But i don't know how to do this.

View 1 Replies View Related

Ubuntu Networking :: How To Create SSH Tunnel

Aug 3, 2011

I wanted to create an ssh tunnel but I do not know what commands to run .. my environment is as follows:
LAN Internet Office LAN
Home PC <-> Linux firewall <-> http server..

According to the above what I figure is that I have an internal web server at my job and I need to create a tunnel to access the web server from my PC in my home. I know I can do a port forwarding with the firewall but I don't want to publish this web server to Internet. My home PC and both servers (firewall and web) are ubuntu. My idea is create a ssh tunnel that forward port 8080 on localhost in my home pc, to the firewall (obviously with public ip), and the the firewall forward to port 80 on office web server at my job. Note that the firewall accepts ssh connections to port 22, same for web server...

View 2 Replies View Related

Networking :: Create Tunnel Between 2 Different Networks

Jun 8, 2010

i need possible direction on setting up a tunnel between 2 different network. The tunnel will be used by devices from the 2 different network to communicate with each other (for eg DevA and DevB).

DevA <-> Linux A <=====================> Linux B <-> DevB

View 3 Replies View Related

Networking :: How To Set Up Ssh Tunnel Through Http Proxy?

Mar 10, 2010

My school network uses a http proxy to access the internet, but I am dubious about the security, and so I would like to use http inside ssh to keep my data secure. I don't really know where to start on this, so a step-by-step guide, or links to resources, would be helpful.

View 2 Replies View Related

Networking :: How To Forward Ip Tunnel's Output

Aug 13, 2010

I'm trying to implement a routing short-cut solution, whose requirement is as following: server1(Linux) sends ip packets(destined to server3) to server2(Linux) via an ip tunnel between them, server2 forwards the ip tunnel's output (the inner ip packets) to server3. Each server has only one NIC and a public ip associated with it. All servers can communicate with each other. I'm sure the ip tunnel between server1 and server2 was configured correctly and worked well. server2's ip_forward was enabled too. On server2, I can capture the traffic on the ip tunnel interface, and they are originated from server1 and destined to server3. The problem is server2 does not forward the ip tunnel's output at all. On server2, I just run "echo 1 > /proc/sys/net/ipv4/ip_forward". Is there anything I missed for enabling ip_forward? Or originally, ip forward can't work on servers with only one NIC, can it?

View 3 Replies View Related

Networking :: Setup Ip Tunnel In Different Locations

Apr 18, 2011

I have 2 linux servers in different locations. I need to setup a ip tunnel. I follow this steps on both servers:

Server1: ip tunnel add tun0 mode ipip local IP_Server1 remote IP_Server2 dev ethX ip l s tun0 up ip a a 10.10.10.1 peer 10.10.10.2 dev tun0

Server2: ip tunnel add tun0 mode ipip local IP_Server2 remote IP_Server1 dev ethX ip l s tun0 up ip a a 10.10.10.2 peer 10.10.10.1 dev tun0

After creating the tunnel everything is ok, but after a time(maybe some hours), I can't ping the other end of the tunnel (ping to IP_Server1 and IP_Server2 is ok all the time; the connection to internet is very reliable). I have tried "ipip" and "gre" mode, but same result. If I ping from two servers the other end of the tunnel, the connection is again established for some hours and ping is working in both directions.(if I ping only from one side the ping is not working) How can I resolve this issue for no longer having to log on both servers to ping the other end of the tunnel? If I use an crondjob to ping the other end of the tunnel at 2 hours everything is working fine for weeks, but I need other solution.

View 5 Replies View Related

Networking :: IPTables / SSH Tunnel With 2Nics

Oct 6, 2010

I've been running a DebLenny system on the network which acts as the local gateway. It has 2 network cards and traffic is directed as follows:

Code:
iptables --table nat --append POSTROUTING --out-interface eth0 -j MASQUERADE
iptables --append FORWARD --in-interface eth1 -j ACCEPT

However, I'd now like to put all the outgoing traffic through a remote system which will further handle the outgoing data (Squid, etc) via the PPPTP device. What would be the most efficient way by which I could achieve this?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved