CentOS 5 Networking :: Finding Out Port Usage On Local Server

Jan 7, 2010

A lot of activity is happening on our local server and I want to know which port is getting the most used and which daemon is using the port. I think it will be some modification of netstat command.

View 1 Replies


ADVERTISEMENT

Ubuntu Networking :: Forwarding A Port Behind A Local DNS Server?

Jul 9, 2010

Here's my (admittedly complex) situation:

I set up a dynamic DNS address for my home network. Let's call it [URL]. Then I set up one of my machines with a bind9 DNS server and pointed my router's DNS setting to it. I did this so that I could resolve awesome.server.com from machines inside my network and have them correctly find my server. Then I set up a second machine to serve web pages using [URL]. I did this by forwarding port 9200 on my router to port 80 on that machine. This works, but of course, it only works from outside my network.

What is the best way to get [URL] to work from inside my network?

I've tried setting up the iptables on my server to forward that port, but it just times out. I used these rules that I found by searching the internet:

Code:
iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 9200 -j DNAT --to 192.168.0.300:80
iptables -A INPUT -p tcp -m state --state NEW --dport 9200 -i eth1 -j ACCEPT

However, those rules might be failing because they are intended to forward ports requested from outside the network. I must admit, this iptables stuff is way, way over my head. Is there a different method that I must use to make it work inside my network? Or is there a better way besides iptables?

View 1 Replies View Related

CentOS 5 Networking :: Unable To Port 8080 On CentOS VPS Server

May 30, 2011

i am not able to port 8080 on my CentOS VPS server.I have followed all the instuctions as mentioned on iptables wiki page.Also I am able to telnet my ip address and port number, But can not access from browser.

View 6 Replies View Related

CentOS 5 Networking :: Can't Reach Server Within Local Network

Sep 24, 2010

I'm setting up my server under CentOS 5.5 (text mode) and I installed cherokee server but I couldn't reach it with the ip given by ifconfig. So I figured it might be an problem within cherokee. I also wanted to install webmin so I did that to see if I could reach that one. But also the webmin server is not reachable (I know the port number should be behind the ip ). So if I look up ifconfig I see the server has got an local ip (192.168.1.42) but I can't reach it from another computer in the same local network.

View 1 Replies View Related

CentOS 5 Networking :: Benefit Of Creating A Local DNS Server?

Feb 12, 2011

Wondering if the internal network will benefit of connecting to a local DNS server, rather than my ISP dns server. Can I create this local DNS server, without having an external domain, pointing to my server ?

All I want is faster lookup of known hostnames, both internally (hostnames) and externaly (cnn.com etc..)

View 10 Replies View Related

Server :: Redirect Local DNS Query To Remote DNS Server On Non Standard Port?

Feb 19, 2010

The issue is that my CentOS workstation is in a vlan from where the Intranet's DNS servers are unreachable. For browsing the web there is an ISA proxy server, which I presume resolves DNS for my firefox. However, wget, host, ping and aria2c fail to get any sort of DNS resolution since they're being run from command line.I have exported HTTP_PROXY value, which provides me internet access on console, but,only when I connect using IP address. It fails on name resolution.

My question is:May I redirect the DNS queries to my home PC which would be running a DNS server on a non standard port?I was thinking of putting nameserver 127.0.0.1 in /etc/resolv.conf and then put iptables rule to redirect 127.0.0.1:53 UDP to a.public.ip.address:3535 UDP..I don't know if I am shooting blanks or what, I am not very much aware of this kind of setup.My main need is to provide DNS resolution to console apps.I want to utilize my company's idle bandwidth for bulk downloads, so, using proxy, SSH tunneling through my Home PC is out of question.

View 8 Replies View Related

Networking :: Communicating On The Wireless Lan - Complex Usage Of Ssh Port Forwarding

Mar 5, 2011

I am having trouble with computers communicating on the wireless lan. However, if I ssh into the wireless access point and then ssh into another computer on the wlan, that works fine. The draw backs to that is I am restricted to only ssh and without X forwarding. So what I would like to do is set up ssh port forwarding so that computer2 with vnc server 5900 on the lan will be accessible through 40000 on mycomputer using the wireless router's ssh as the go-between with ssh port forwarding. How can I accomplish that? Every time I read about this, I think I understand it, and but then I must have done something wrong because it's not working the way I thought. I have successfully done ssh port forwarding in the past without using a third computer as a go between. Both the wlan access point/router and computer2 are running an ssh server.

View 1 Replies View Related

Networking :: Finding Mac Address Of A Machine On Local Network?

Dec 18, 2010

i want to know mac address of a particular ip but the problem is that i am unable to ping that ip but that ip is being used by someone in my local network that i know from my proxy logs. i want to know the mac address of that ip,

View 5 Replies View Related

CentOS 5 Networking :: XP Boxes - Tomcat Server Running On Port 8080

May 5, 2009

My first time installing centos server and adding it to xp home network. I am new to setting up my own network in general. I have a home windows wired ethernet xp network (simple linxs router) with 2 xp boxes and one centos5 box all connected to the same router. I just set up the centos box running tomcat on port 8080. I need to do two very basic things at this point, but am not sure what I need to do:

What do I need to do so I can:
1. Connect in firefox on one of my xp boxes and call the tomcat server running on my centos box?
2. Be able to ftp to centos box from either of my xp boxes?

View 2 Replies View Related

CentOS 5 Networking :: Unable To Connect Cent Os Server Via Port 8080?

Aug 1, 2009

I have 2 server behind the netgear router on my network . win2k3 and CentOS development server, I have port forarded 80 to win2k3 server which i can access over the internet and is accessable. However I can SSH CentOS machine and portforwarded 8080 and 82 for web access, I can't access via any of the port, browsers says UNABLE TO CONNECT.. there is no firewall in CentOS machine.

View 1 Replies View Related

CentOS 5 Networking :: Iptables Not Opening Port To Connect Via Vnc To A Server Running 5.5?

Apr 27, 2011

I'm trying to open up some ports to connect via vnc to a server running Centos 5.5. I've edited /etc/sysconfig/iptables everything *looks* fine, but I still can't seem to get access to the port I've opened (I added some newlines for clarity between commands):

[Code]....

View 4 Replies View Related

Networking :: Tools For Monitoring Network Bandwidth Usage Of Program/port?

Dec 8, 2010

I have a third party program (tightvnc) which I want to monitor and detect if it loses a connection with a client. I don't care if the client has the program open but isn't doing anything with it, I only want to know if the actual TCP connection is lost.

Since TCP takes forever to die on it's own I was thinking the best way to detect if a connection is lost is by bandwidth the bandwidth on the tcp port allocated to the VNC connection. Are there any tools built in to redhat (RHEL 5.2) which I could use to do this? Since I don't have full control of the operating system I would prefer to use built in tools rather then trying to get a new tool installed.

View 3 Replies View Related

Fedora Networking :: Finding A UPNP Port Mapping Utility?

Aug 7, 2009

Wondering if there is a uPNP Port Mapping Utility available for Fedora. Something like this :

[URL]

The program seems to be Mac only tho.

View 1 Replies View Related

Networking :: Can't Login To The Port On The Local Machine?

Feb 28, 2010

I have a reverse ssh connection established from a remote machine to my local machine - it is established with autossh from the remote machine - I know it is connecting because I can see the two ssh processes on the local machine - and, when I kill the two ssh processes, two new ssh processes are immediately established. But I cannot login to the port on the local machine. I have tried everything - it simply refuses to connect. This remote machine is miles away and not readily accessible.

Code:
ssh -p 7766 -vvv user[at_sign]192.168.1.108
OpenSSH_5.1p1 Debian-6ubuntu2, OpenSSL 0.9.8g 19 Oct 2007
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0

[Code]...

I'm wondering if there is some way I could utilize netcat or socat to "tap into" this connection from my local machine??? (My ultimate goal would be to get to a shell on the remote machine.)

View 5 Replies View Related

CentOS 5 Networking :: Change ISCSI Server Listening Port 3260 - Scsi-target-utils

May 14, 2010

iSCSI Server, can I change the default port 3260 to other port ?

View 1 Replies View Related

Networking :: Port Based Routing For Local Traffic?

May 24, 2009

I have problem with port based routing for local traffic. I can't use trick with iptables -t mangle, ip route table 1, ip rule fwmark table 1 because it works only with forwarded packets. I can't even use patch-o-matic because it's obsolete. And xtables-addons doesn't contain support for "-j ROUTE" yet.

View 2 Replies View Related

Networking :: Redirect Local Http Port To Remote Machine?

May 26, 2010

i have a problem........ How to redirect local http port to remote ip ddress(192.168.10.64) using iptables..my destro is Centos 5.3 my rule is this iptables -t nat -A PREROUTING -s 0/0 -d <my local ip> -p tcp --dport 80 -j DNAT --to-destination 192.168.10.64

View 1 Replies View Related

Ubuntu Networking :: Telnet To Port 25; Connection Refused For All But Local Host

Jan 12, 2010

I can telnet (while on the actual machine) using

Quote:

telnet localhost 25

When I try and use the local machine's ip

Quote:

telnet 192.168.100.9 25

I get

Quote:

Trying 192.168.100.9...
telnet: Unable to connect to remote host: Connection refused

[Code].....

This last one is strange as I the IP looks odd.

What I am doing wrong, and how do I fix it. After much surfing many mosts say that telnet is not used anymore but I want to use it to test my smtp server.

View 9 Replies View Related

CentOS 5 Server :: Local Users Cannot Upload Files To VSFTP SERVER

Nov 25, 2010

I've setup a Lamp Server for Testing, The Lamp Server is Up & Running on CentOs 5.5

I am now trying to setup a VSFTP server where local users can upload files to there home directory so that Apache can serve web pages straight from the directories of system user home/accounts giving users the ability to run their own web sites which are hosted off the main server [tutorial here: [url]

So far i have been able to serve/display index.html files from the users home directory [url] but so far i cant upload files to any user home directory, every time i try to upload a file with filezilla i get this error message: 553 Could not create file. Critical file transfer error

I have searched online for similar problems like mine and so far i've tried alot of the solution but none seem to work. I'm confused, dont know where i went wrong, i put the users in a group called ftpusers and here are the permissions on the users (test, ftpuser & testftp) home directory. have a look an tell me where i went wrong :(

Also the root directory where the web pages are served from is called public_html here are the permissions

Here is my vsftp.conf file can someone check it to see if i made any errors in there:

View 14 Replies View Related

CentOS 5 Server :: Mail Server Within Local Area Network?

Oct 1, 2010

i have successfully done the setup of postfix and dovecot on this link [URL]I run Cent OS on top of window 7 via VM Player,i want to access mailbox from windows 7 using email client like Thunderbird and Outlook. What setting i need to do in my mail server ?

View 1 Replies View Related

CentOS 5 Networking :: Use Webmin To Set Up Port Forwarding/NAT On A Dual-NIC Centos 5.3 Box?

Aug 31, 2009

Can anyone here point me to a walk-through or discussion of how to use Webmin to set up port forwarding/NAT on a dual-NIC Centos 5.3 box? The layout will be simple:

Internet --- NIC1 [CentOS Box] NIC2 --- Switch to other PCs

We have a BUNCH of exposed services that are on special ports -- for example, to connect to one machine, you go in with [IP_Address]:12000, and to connect to another, [IP_Address]:12002, etc., etc. We're currently using OpenSuse 10.3 on this box, and YaST makes this criminally easy (you give it the incoming port number and the destination IP/port numbers and it just works). But OpenSuse 10.3 is nearing EOL, we're buying a new machine, and I'd like to use CentOS on the new one.

I've read the sparse Webmin documentation in their Wiki, and it leads one to believe that you simply insert a "NAT" rule. But there's obviously something they're leaving out. I *am* opening the ports in the firewall. But when I log in to [IP_Address]:port, it just times out. The port forwarding never occurs. The test in this case is SSH, and I know that SSHD is working properly because I can log into that machine just fine from another PC on the same internal subnet.

View 8 Replies View Related

CentOS 5 Networking :: Connect Centos 5.5 Using Ethernet Port To ADSL Broadband Modem Which Is Configured In PPPoe Mode?

Feb 10, 2011

Pl can anyone guide me to connect centos 5.5 using ethernet port to ADSL Broadband modem which is configured in PPPoe mode?

View 19 Replies View Related

CentOS 5 Networking :: Gathering Network Usage Of Xen / Virtual Machines?

Jun 23, 2009

I've run into a problem gathering usage for my xen virtual systems. With my old model I used to gather all network usage via my cisco devices using the the counters for each port. Each system had it's own port on the switch, and I tracked network usage accordingly. Now that I'm using xen for virtual systems, and multiple vm's share the same switch port, i'm not exactly sure what my best option is for tracking usage.

I thought I may be able to setup vlans on the switch, and bind each vm to a different vlan using vconfig... but it seems like there has to be a better solution than that.

View 1 Replies View Related

Server :: CentOS BIND Local DNS Server

Nov 28, 2010

I've been looking for a good tutorial for setting up a BIND DNS server for my local network. What I want to do is..Have BIND running on my home server receiving all DNS requests.Have certain zones (my.zone.lan) pointing to custom IP addresses (I.E. server.lan points to 192.168.{server IP})Zones that don't exist should be passed on to OpenDNS for processing.

View 6 Replies View Related

CentOS 5 Networking :: How To Open Port 22 On Centos

Dec 26, 2009

we are going to install ASTERISK remotely, hence the port 22 in the server has to be open ,Can somebody reply me with exact commands?I tried these commands and got these results

Command : cat /etc/services | grep xxx
Result : No Such file or directory
Command :netstat -nan | grep 22

[code]....

View 4 Replies View Related

CentOS 5 Server :: Update Local Yum Repository With Mirrors?

Apr 21, 2009

Recently i was able to setup a server which can work as a local yum repocitory in my envornment.However when i tried to update the packages in my repocitory using rsync from mirrors.kernel.org its giving a timeout error. The error i am getting is "rsync error: error in socket IO (code 10) at clientserver.c(107) [receiver=2.6.8]" I am having repocitory for centos 4.4 and 5.2(both 32 and 64 bit versions)

View 2 Replies View Related

CentOS 5 Server :: Setting Up The Local Installation Mirror?

Jan 11, 2010

I've just set up the local mirror for my 96 CentOS 5 workstations. The mirroring script is taken from public-mirror howto and looks like this:

#!/bin/sh
rsync="/usr/bin/rsync -avHzL --delete --delay-updates" # replaced -q with -v for debuging purposes, removed --bwlimit, added -L to follow symlinks
mirror=centos.politechnika.lublin.pl::CentOS # tried several different same result

[Code]....

I tested mirror consistency by putting the mirror addres I'm syncing with, directly into repo file. Than yumex works fine. I tried several different mirrors with the same result.

View 3 Replies View Related

CentOS 5 Server :: Vsftpd - Can't Login With Local Users

Mar 18, 2010

I'm trying to configure vsftpd to just allow my local users to login and be confined to their home directory (and its sub-directories).

Here is my vsftpd.conf:
listen=YES
anonymous_enable=NO
local_enable=YES

[Code].....

I've tried multiple configurations to no avail. I always end up with this same end result.

View 3 Replies View Related

CentOS 5 Server :: Making A Local Repo With Groups?

Apr 9, 2010

i just installed centos 5.4 and trying to make my local repo have groups listing of packages like the mirrors do

so i can make an spin off of the OS to my needs for web servers only / so on but
i cant get my head around the groups making part of the creatrepo

does anyone have any tips or hints or know how to make group listing of the packages

i copyed the DVD to hard drive and the repo .XML files they came with it and tryed that way but no luck yet

im running out of things to try

View 5 Replies View Related

CentOS 5 :: Cannot Connect To Local MySQL Server Through Socket

Apr 26, 2010

During the boot of CentOs I see this message which never stops scrolling during all the boot :
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'

View 3 Replies View Related







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