Fedora Networking :: Connecting To Server With Netcat

Jul 10, 2009

I connected two machines, I have their given of the addresses ip in a static way and not with DHCP. I gave to the machine server the address: 192.168.0.1, and in the machine client the address 192.168.0.2.

View 5 Replies


ADVERTISEMENT

Networking :: UDP - Stop Netcat Connecting?

Dec 9, 2010

I'm wondering if I can use netcat to listen to a UDP port and display ALL incoming packets, no matter where they're from. If I just do 'nc -u -l 1234' then netcat will listen for incoming packets and connect() to the source address of the first one it sees (I can see this with strace). Is there any (standard) way to stop the connect() call? I can make a hack to block connect() with a function of my own, but that'd be ugly

View 6 Replies View Related

Networking :: Use Netcat As A Bridge To Connect Two Server?

Apr 11, 2011

i have 3 servers in 2 dcs as follows; server 1 (dc1 - dmz) --- server 2 (dc1 - internal) --- server 3 (dc2 - internal) Now I have an application in server1 that have to connect to port 44000 in server 3 but dc refuse to open connection saying they do not open connections between dmz and dc2 (i have no say over this).

However I can connect to virtually any port from server1 <-> server2 and also server2 <-> server3. Is it possible to do something like;

server1 <-> server2 <-> server3:44000 using nc to get the app work.

View 3 Replies View Related

Networking :: Connecting Mac Book To Fedora Server?

May 9, 2011

We have a mac book connected to our network. It can surf the web and even get into our network files. However, these network files are on linux, and finding the open files (not password protected) is fine. But we need the mac book to get into the protected files to edit our media. When we connect to the linux server, there is a pop-up asking for a login. We enter the correct credentials that work for everyone else to get into our protected files, but these credentials don't work... There is a message that pops up: "This operation cannot be completed because the original file '<file_name_here>' cannot be found." But it found the other open files...? what do we do to get this to work? The macbook is 'os x' and the linux server is 'fedora 10'

View 1 Replies View Related

Fedora Networking :: Connecting To Server - Cannot Display Location SMB

Feb 15, 2009

In fedora 10 I want to browse the share files in our windows network. When I want to use 'connect to server' with user name and password. It says:
"Cannot display location smb://servername/"
"No application is registered as handling this file".

View 2 Replies View Related

Fedora Networking :: Vpnc Not Connecting To Cisco Server?

Mar 7, 2011

Problem with fedora 13, I am no longer able set up a virtual private network using vpn. The following error message appers:

"/usr/sbin/vpnc: no response from target"

No problem when connecting with ubuntu or windows.

View 1 Replies View Related

Fedora Networking :: 10 - Nfs-utils Update - Waits For A While At Leopard's - Connecting To Server - Dialog Box

Jan 15, 2009

I ran a yum update this morning on my Fedora 10 box (i386), which updated the 'nfs-utils' package from 1.1.4-4.fc10 to 1.1.4-6.fc10. Before the update I was able to connect to the fedora NFS exports just fine from my Macbook Pro running latest version of Leopard on a simple home network. After the update, when I try to connect to the NFS export it waits for a while at leopard's "Connecting to Server" dialog box, and after about a minute I get a message saying "Could not connect to the server because the name or password is not correct" (though my UID's are the same on both systems). My /etc/exports and /etc/sysconfig/nfs files were unchanged by the update. I tried restarting the nfs services as well as shutting down iptables and setting SELinux to permissive, etc. with no success.

I get the following in /var/log/messages (192.168.1.102 is the address of my macbook):

I was able to download the RPM for the older version of nfs-utils and then do a 'yum localinstall' to revert to the older version. This fixed my issues completely and my setup works as it did before. However I am curious to know why the latest version of nfs-utils breaks my setup, and whether it is a problem with my setup or if I should just wait for the next version to come out and see if the same thing happens.

Here is my /etc/exports file. If I understand this correctly it should allow connections from anyone with an IP address on my local network.

View 14 Replies View Related

Fedora Networking :: Connecting To NAS - Message - Unable To Mount Location - Failed To Retrieve Share List From Server

Jul 3, 2009

I'm having trouble connecting to my freenas server.

It's part of my windows network and when I try to connect to it,I get this message: Unable to mount location,Failed to retrieve share list from server.

Is there something I need to enable on the server or my OS(CIFS or something)?

View 1 Replies View Related

Server :: Pipe 'echo' To 'netcat' - Sometime It Seems To Broken

Sep 2, 2010

I am running somes instances of Redis. I want to get Redis stats with following command:

Code:

$ echo "info" | nc <server_IP> <port>

but sometime it returns nothing. The first thing come to my mind is broken pipe or something like this. I always get the result if telnet to Redis and typing 'info' command. I also try pipe viewer to monitor the progress of data but it didn't help:

Code:

$ echo "info" | pv | nc <server_IP> <port>

View 2 Replies View Related

Networking :: OpenSuSe 11.4 - How To Ping DNS Using Netcat

Jun 15, 2010

I am new in linux. I am using opensuse 11.4. How can I ping a DNS using netcat?

View 6 Replies View Related

Networking :: How To Send Udp Packet To The DNS Using Netcat

Jun 16, 2010

How can i send udp packet to the DNS using netcat in opensuse.

View 7 Replies View Related

Ubuntu Networking :: Netcat Doesn't Seem To Work

Jul 27, 2010

I've tried to use netcat in the past and assumed it was my stupidity that was preventing it from working... but this is getting ridiculous. I'll execute nc -l 3333 on a server at 192.168.0.105 (after opening it on the firewall of course) then I run nc 192.168.0.105 3333 on my laptop (from 192.168.0.101). and nothing happens... i start typing and nothing comes up on the terminal.

I run nc -z 192.168.0.105 80 which should ideally do a port scan of port 80 on that server (of which I'm running a web server that clearly works) but it doesnt even give me any feedback. Nothing happens. Now when I use the verbose flag i see that I am indeed connecting to the specified port on the server successfully (so the port scan one is a success but only with the verbose flag... which shouldnt be the case I believe). But still once I have the server listening and the laptop connected... I type in both windows and nothing happens...

View 1 Replies View Related

Networking :: Relay UDP Broadcast Using Netcat/Socat?

May 7, 2010

Here is my problems :I have two networks :1. LAN (10.1.x.x subnet 255.255.0.0), and2. my internet public (IP 202.xx.xxx.xxxx subnet 255.255.255.240)I have an application in my LAN PC (10.1.2.240) which broadcast udp packet to its client. The client in my LAN can receive the udp packet, no problem.My question is how netcat/socat can RELAY the udp broadcast packet to one of my IP public address so the message can be received by other client from internet ?

View 5 Replies View Related

Networking :: Using Netcat To Make A Simple Proxy?

Nov 21, 2010

I made a simple proxy using netcat and it works great, the idea is to make the server and client communicate through two named pipes, file1, file2.

$ mknod file1 p
$ mknod file2 p
$ nc -l -p 12345 0<file1 1>file2 &
$ nc 192.168.2.118 80 1>file1 0<file2 &

The problem Im facing is that I cant seem to intercept the data going between the client and the server. I want to be able to have the data coming to the server in a variable, manipulate it and send it to the client, and the other way, have the data coming to the client in a variable, manipulate it and send it to the server.

Im running on an embedded device where tee, awk and many other commands are absent. how can I redirect the data to a variable, manipulate it and pass it to the other side, that is the question.

View 6 Replies View Related

Networking :: Connecting To My VNC Server ?

Jul 3, 2011

I am having problems connecting to my VNC server. The host machine is running fedora core 15.

In the past I have been able to connect to the machine, but for some I no longer can't.

I have done the following but still am unsure what problem is
1. Verfied the VNC server is running
2. Verified my user "trb" is in the vnc users list
3. I have checked that my port is open (at least i think). i launched a terminal and did "telnet 127.0.0.1 5902" and successfully connected.

My vncservers config file which is located in /etc/sysconfig/vncservers

Code:

Here is the log file from my latest connection attempt.

Code:

View 5 Replies View Related

Networking :: Connecting Two Subnets Via A Server?

Mar 3, 2011

i have two subnets with different gateways.i am thinking of connecting them via a linux server which would enable them to communicate.but i dont know how to proceed for getting this done.how should the connection be made and what should be the configuration settings on the linux server.

View 2 Replies View Related

Ubuntu Networking :: Home Server Connecting To VPN?

Jun 3, 2011

I have a home server that I have setup to connect to via SSH. All is working well with that. I would like to have the home server access the internet through a VPN. However, if I do this, I am no longer able to connect to the server via SSH, even though I know what its IP address is.

View 1 Replies View Related

Networking :: Server (eth1-connecting To The Windows XP PC) = 192.168.4.3?

Apr 1, 2011

I have the following setup: An ADSL Router (192.168.4.1) which plugs into my server (that has 2 network cards) Server(eth0-connecting to the ADSL Router) = 192.168.4.2 Server(eth1-connecting to the windows XP PC) = 192.168.4.3 And the windows XP PC = 192.168.4.4 if I delete the entire routing table and add a default route route add default gw 192.168.4.1 dev eth0 I get an error (I can't remember the error, the PC's at work) however if I unplug the cable going from the PC to eth1, I can then successfully add the default route, and I can ping the router, however when I reconnect the cable to the PC and Server... I can still ping the router (from the server) but I cannot ping the PC

if I try and add another route such as: route add -net 192.168.4.0 netmask 255.255.255.0 gw 192.168.4.4 it wont let me add the rule I have a feeling i am doing something really stupid here with the addressing scheme,

View 2 Replies View Related

Networking :: Connecting Vnc To A Local Computer Behind A Server?

May 7, 2010

i would like to connect from my home pc to my local machine at the university (fedora 12) behind a main university server(linux) through vnc. specifically,to connect normally through ssh/X to my local pc i have to ssh first to the main university server and then ssh to my local pc. Namelly:

ssh -Y -l loginname main.server.name
and then
ssh -Y my.local.machine.

On my local machine there is a vnc server running that I would like to access it from home (linux machine). Actually linux is running everywhere.

View 8 Replies View Related

CentOS 5 Networking :: Connecting Server 5.3 To DSL Router?

Sep 3, 2009

I want to use centos as a developer server on my desktop before deploying my stuff to the internet.

I have a netgear DG834G router. It's IP address on my local network is 192.168.0.1 and connected to the adsl line. The router is set up to act as an dhcp server too. On the router I have reserved ip address for the nics per their mac addresses.

My server is on a dual boot desktop. The other boot is XP and works fine, picks up dhcp.

I don't know how to connect Centos to the router.

I have tried to play with the network manager but to no avail.

I can ping localhost, interface eth0 is there, but i can't ping to the router.

I have set the manager system/administration/network to get dhcp automatically.

I can't activate the eth0 although the hardware device says it is OK.

I've looked at firewall and iptalbes.

View 2 Replies View Related

Ubuntu Networking :: Connecting XP Machine Using Terminal Server?

Feb 2, 2010

I'm trying to connect to an XPpro machine using terminal server, I've been to the microsoft web sight and configured xp as they explain. Which consists of "allow remote desktop connections" and "re configure the fire wall", Done. I've obtained the ip address of the router and the user name and password of the xp machine and still I cannot access it!

View 6 Replies View Related

Ubuntu Networking :: Connecting Xp Machine To PPTP Server

Jul 8, 2011

I have been wanting to switch from my routers VPN to my headless linux box VPN. I have everything setup in the PPTP and then forwarded the ports to it. Heres the kicker. My APPLE Iphone connects to the VPN without a problem at all. Views Intranet pages etc.

My Windoz XP is kicking and screaming and one error after another. This is my setup on XP: I entered Ip Entered exact same credentials as used for connecting with my iphone turned off "use gateway on remote network" Changed type to PPTP VPN connecting my xp machine to this PPTP server on linux?

View 3 Replies View Related

Ubuntu Networking :: Netstat Shows Web Server Connecting To Itself?

Jul 14, 2011

I've been experiencing some home web-server slowdown issues lately, and I wanted to see if it's a problem with the server itself. I'm not sure if this might be the problem, but upon checking netstat -tn, I see over 15 instances of the following:

[Code]...

where 192.168.2.9 is the server's local address, the local address port varies, and the foreign address is the server's web address. If anyone knows what might be causing this and/or how to fix i

View 1 Replies View Related

Networking :: Connecting Box To Small Business Server Shares?

Jan 6, 2009

I want to connect my linux laptop (Mandriva 2008.1 x86_64) to my windows small business server. My issue is that I am not sure what I can and can't do in terms of any windows config changes. Can linux (I assume using Samba) connect normally?

View 2 Replies View Related

Networking :: Connecting To Local Network Data Server?

Jul 1, 2010

I'm trying to connect to a data server (basically a big hard drive) in my lab with my computer. On the Mac that's at the workbench next to me, you enter Go -> Connect to Server. From there, enter the IP address that I have (I can't find a server name--just the IP.). It asks you which subsystem you want, queries you for a user name & password, and then opens a window with all the files. Meanwhile, on my Ubuntu machine, I have a "Connect to Server" option under "Places" on my main menu. But when I choose that, I need to select what kind of server it is, from several options that don't seem right. (It's not FTP, it's not SSH, it's not a form of HTTP, and that leaves "Windows share?") I've tried several things, but usually get back 'Cannot display location "smb://<IP-ADDRESS>/" The specified location is not mounted'. I've tried many ways of mounting this drive, but it usually gives me permission denied errors (even though I *know* I have the right login and password--I've logged in using the aforementioned Mac).

View 13 Replies View Related

Networking :: Ubuntu Gateway Server For Connecting Different Networks?

Mar 26, 2009

I have setup an ubuntu gateway server by using four NIC cards.

eth0 :210.212.235.107 is connected to the internet
eth1 :192.168.1.222 is connected to the local network
eth2 :192.168.2.222 is connected to another network

Here 192.168.1.222 is the gateway for 192.168.1.0 network and 192.168.2.222 is the gateway for 192.168.2.0 network.These network configurations are working fine, but i want to block inter network communication ie from 192.168.1.0 network to 192.168.2.0 network,i want to block the communication for securing the local networks more.I know iptable rule is enough for this purpose .But i cant find the apt rule for this purpose.

View 1 Replies View Related

Ubuntu Networking :: 9.10 Not Connecting To Internet At Home But Connecting From Work

Feb 9, 2010

I just installed Ubuntu 9.10 and its great. However when I connect to the internet at home it shows that the connection has been established but I still cant connect to the internet. My flatmates are all able to connect. However, I am able to connect from work both wirelessly and through an ethernet cable.

View 2 Replies View Related

Ubuntu Networking :: 10.04 Server Not Connecting To Internet (Wired Network)

Jun 10, 2010

I just installed Ubuntu server edition on to an old Dell desktop. The only problem is that I can't get the Internet to work. I have tried the following and I guess it doesn't work:

Code:
sudo ifconfig eth0 192.168.1.52/24 up
sudo route add default gw 192.168.1.1

Each of those commands don't give me any error and it would seem like everything works fine, until I try to ping google or any website and I get an error that tells me that no host was found. I am using version 10.04 of Ubuntu server.

View 7 Replies View Related

Ubuntu Networking :: Lucid PPTP VPN Failure Connecting To MS Server

Sep 10, 2010

I'm attempting to get 10.04 to connect to an SBS 2003 pptp vpn server, but for the life of me have been unable to find or implement a working solution. System previously had 8.x and 9.x and had no difficulty connecting to same server, but on a fresh install of 10.04 cannot connect.

tail -f /var/log/syslog shows the following:

Code:
Sep 10 15:19:32 ubuntu NetworkManager: <info> Starting VPN service 'org.freedesktop.NetworkManager.pptp'...
Sep 10 15:19:32 ubuntu NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.pptp' started

[Code]....

View 1 Replies View Related

Ubuntu Networking :: Connecting To UWF's EDesktop Via Terminal Server Client?

Apr 27, 2011

I'd document here the way to get to eDesktop through linux (debian, ubuntu) at the University of West Florida (UWF), since they appear to only support Windows through their documentation on the University web site, and the link through Argus (the secure web site) doesn't work in Linux. This is sometimes needed to use the University resources (libraries and computer programs) from remote locations, and otherwise a google search is fruitless. I had to have a guy in the computer science department show me how to do it. This may apply for other Universities with similar setups. It was impossible for me to figure it out on my own, I had to go back to my old 9.04 partition to get the info...

1) Open Terminal Server Client (Applications>Internet>...)

2) Insert as follows:

Code:

Computer: eDesktop.uwf.edu
Protocol: RDP
User Name: YOUR USERNAME

[code]...

3) OPTIONAL BUT RECOMMENDED click Save As and save it as a quick connect so you don't have to refer to this again.

4) Flip through the other tabs and configure as desired, and click Connect!

View 7 Replies View Related







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