Red Hat / Fedora :: Log Remote Or External Ip Address Of Remote Clients?
Sep 15, 2010
We're using both SuSe and RHEL servers. Our servers are running behind firewall device and remote root login is disabled in SSH.
We're using NAT.
Remote client connections including failed logins are logged into the /var/log/messages but what is logged are gateway ip of our LAN - the LAN IP of Firewall device.
How can I logged the external or public IP of the remote client?
I'm trying to connect to my home pc with ssh. I have road runner connected to a wireless router and then my pc connects to the router via a wireless card. I can use the Internet from my pc. I also know sshd is running. I do a ifconfig to get the ip address. Then, nothing happens when I try to connect to this ip address via ssh from a remote pc. So, what's going on with this? How can I get ssh to connect to the home pc?
I installed syslog-ng so I can receive remote logs. this is working however since I disabled syslog on my syslog-ng server I am not logging in /var/log/messages cron and some others.locally)I know this is because my syslog-ng.conf only references remote and not local.How can I edit the syslog-ng.conf file so that I can receive remote and local? I tried this however when adding in portions of the default config, I only receive local and not remote logs anymore. I am forwarding my config.
# syslog-ng configuration file. # # This should behave pretty much like the original syslog on RedHat. But
I was just wondering if there is a remote address book program or if there is a way to sync abook and gmail (without any manual intervention like Contacts->Export->csv in Gmail).
If I have a dnsmasq server and it dished out a IP address that I don't want it to and it still gives it to my machine no matter how many times I restart windows and issue ipconfig /renew|release or enable/disable the adapter, how do I force it to give my windows machine an IP I want it to have?
The only way I've accomplished this in the past is by rebooting my slackware system.
Canon cameras used to come with a piece of software called remote capture for Windows and MacOS.
You plug in the camera via USB, and then the camera display is on your monitor. From there you can do everything your camera does, like taking pictures of video. Does anyone know if there is linux equivalent software that can do this?
I have found this software, but new cameras aren't supported. [url]
I have a media server with all my music and movies on it. Right now I have mediatomb on it serving up files to my ps3. They are on the same LAN. Is there a way to accomplish the same thing, but have them on different networks? Can I tell the ps3 to search an external IP addres on port 2222 to look for a media server?If that won't work (I doubt it will), is there another way to do this? I am moving to Germany in 5 months for work and I Won't be able to bring my media server with me. I'm taking a bunch of stuff to my parent's to avoid rent and all....So I could just hook the server up to the router, set it to forward a port and have access to it.
I want to transfer files from my laptop to my desktop remotely over the net. Both these computers access net via different service providers and have dynamically assigned IP addresses. If I know the IP address, I can use ssh to accomplish my task. However if I don't have physical access to the desktop, I cannot know the IP address. Is there a way by which a the desktop sends its public IP address to me so that I can establish ssh connection ?
I want to get the connected client MAC Address after accept() call. I can get the IP address of the client but i don't know how to get the client MAC Address in my this programme. Here I am Posting my Code.
I maintain plain vanilla Ubuntu 10.04 systems for several friends. Each machine has only one user, the owner. I use Remote Desktop to instruct and to perform maintenance. Here's my problem:After updating the system, if the kernel has changed, a restart is needed. If I do a restart, I then have to phone the owner to insert his login credentials in the gdm login screen, before I can do anything else via Remote Desktop on that machine.There ought to be a simple way I can avoid the phone call and login myself.
I'd strongly prefer not to use any software that is not included in a plain vanilla Ubuntu 10.04 installation. And I don't want to weaken system security beyond what it is now.Is there a solution? Or, what is the simplest solution?
Some FreeNX start-up troubles here, need a hand. 1) I am trying to establish a connection from my workplace PC on my workplaces's LAN to my home PC on my private LAN (LAN-to-LAN). Just typing in the public IP of the target LAN in the "Host" field gets me nowhere, as it fails to connect due to a denial at port 22 SSH - even though I've done the forwarding in my home router and punched the required hole in the local firewall of the target machine.
This resembles what I'm looking at: [URL]..2) My home PC is 64-bit Mepis and my workmachine is a 32-bit Ubuntu. Is this a problem?
I am accessing a remote DB using JDBC from inside a java program. is there any terminal command with which I can see the remote machine's ip/mac address?
I have a Slicehost VPS and I'm trying to set up PPTPD on it. I only have one IP address (the public IP of the box). All the PPTPD howto's I've seen rely on assigning remote clients IPs from the local subnet (e.g. the PPTD server's local IP is 192.168.0.20, and remote IPs are taken from a pool of 192.168.0.30-40).
However I don't think I can do that as I only have the one IP address on Slicehost's network - that public IP (and all other IPs in the segment are public). So what I really want to do is to be able to create a private LAN segment or virtual network adapter and have VPN clients assigned addresses in that segment, then routed out onto the Internet effectively using the PPTPD box as a router. I am using Ubuntu Hardy (LTS).
Is there any one know how to deploy a remote OS installation for a host with public network address? In a LAN with private network, we can use PXE, kickstart... but what we could do with the hosts have only public ip address?
I have a problem with my Terminal Server Client, I cannot seem to connect to any windows server via IP address. Can anyone please recommend any tool I could use to connect? I need to work on the server for admin interfaces example Admin Kits for workspace protection
I've been using Linux on a more regular basis for the last two months now and have been able to find replacements for most of the software i use in Windows, or by using Wine. But i have one big problem that is keeping me from switching permanently to Linux. I frequently use remote control software to access and control my computers, both at home and to access my computers from remote places over the internet. I've been using NetOp, and more recently RealVNC. The client, or "viewer" part of RealVNC is working fine in both Windows and Linux. It's the host or server part that i can't get to work properly when it comes to VNC. The vnc.so module doesn't work on my system, x0vncserver program seems rather useless since it refuses to load before i have a network connection and this prevents me from start the program automatically as the wireless connection isn't ready and the vncserver command isn't an option since it doesn't display what i see on the actual screen. So, does anyone have a nice solution to this problem? Either to make VNC work or suggest some software that does. Anyway, it has to work on both Windows and Linux, in Linux it has to display the native x display, there must be built-in encryption and preferably be free or open-source software. I'm using Ubuntu 9.10.
I am trying to use ssh to run a remote command in the form ssh remote_computer 'command'
I keep running into the problem that ssh can't find the command(s) I want to execute.
For example, if I ssh to the remote machine and do ls /usr/bin/sa-learn it tells me it is there. On the other hand if I do ssh remote_computer 'ls /usr/bin/sa-learn'
[Code].....
I also don't understand why ~/bin is not in the path on the remote computer, but that is another matter.
I have a computer that i set up for a friend, and tried to ssh into it for her to update it and add do maintenance for her, so that she doesn't get aggravated with trying to do it herself, but ssh hangs and times out. The firewall is set to allow ssh, and eth* is set as trusted by the firewall, and i have the correct ip, and the ssh service is running.
I can connect to my home computer from hers, which is setup the same way (in this regard), but not vice versa. She has no router; she is directly connected to the DSL modem.
My company blocked port 22/23 for telnet and SSH which would have been quite nice to access my box at home.I found a page on the net (URL...) which works perfectly fine, but due a demo version stops after 20 seconds.Does anybody know a similar page or any other way I could remote access my PC?
on Debian/Ubuntu in the login form (i suppose it's "gdm") from the bottom right corner I can pick the option to login to a remote XDMPC desktop (that of course I enabled on the other side..) the network is checked for those open XDMCP service and finally, the login box appears and i can remotely login to a "graphic terminal".
How can I do the same in Fedora? I found some guide about Xnest, Xzephyr, but I was totally unable to find a way for doing this simple task.
I'm quite lost and not even 100% on which forums i should aim at..I have a relatively simple task yet for some reason its proving difficult to do!! Our server is running Fedora (running a live commerce site) recently we had some security updates applied so i can no longer connect remotely via SSH root. Using PUTTY i now connect under a different username and then SU under the root user/pass. All is fine, now all i want to do is download a file in the tmp2 directory. /tmp2/apache2-gdb-dump Can anyone tell me1) How would i download this file using Putty/SSH command 2) I'd much rather user a GUI tool for this kind of work but the substitute user step doesnt seem to be supported by common apps,as FileZilla.With this in mind, is there some software or steps i can take so i can connect, run a su command and use a nice gui to transfer these files
I have a marmitek x10 remote controller that I had been using in opensuse. However I decided to upgrade my distro to fedora 12. I setup everything that I need to for mythtv however Im unable to get the remote to work. IRW doesnt return anything yet I know the driver is working as irrecord picks up the input. here are the steps Ive followed...
1) I can see the usb device ok....
> lsusb Bus 001 Device 004: ID 059b:027a Iomega Corp. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
[Code].....
2) I know it uses the atilibusb drivers, which Im able to prove by doing the following:
> irrecord -H atilibusb ~/lircd.conf
When I press keys on the remote I see the input is received on the screen.
3) I manually start lircd....
> lircd -H atilibusb
4) when I try irw, I dont get any output what so ever.......
I did modify my /etc/sysconfig/lirc however I had been trying gnome-lirc-properties to see if that could get it working, so Im not sure if its applied a wrong setting in the config file.
I am running a Fedora 12 installation in my bedroom as a slave mythtv frontend. I have set it up to be able to put the PC to sleep and wake up with a MCE remote. This has been working for near on a year now with no issues. Yesterday I did a yum update and ended up with kernel 2.6.32.16-141.fc12.i686.PAE (up from 2.6.32.12-115.fc12.i686.PAE)
Now everything seems to work fine however I can put the PC to sleep with the remote but I cannot wake it up with the remote. a cat of /proc/acpi/wakeup shows
At the grub prompt if I select the old kernel 2.6.32.12-115.fc12.i686.PAE then the computer will start up with no graphical prompt (need to figure out how to work kmod-nvidia i guess), but I can use the remote to put the pc to sleep and wake it up again. Also using the old kernel and telneting into the PC I see that /proc/acpi/wakeup is no different. Does anyone have any clues on hoiw to get wakeup to work with this new kernel? Or how do I roll back everything to the older kernel and get my graphics driver back (i tried to reboot with old kernel and then yum erase kmod-nvidia-PAE and then yum install kmod-nvidia-PAE but no luck.
Another thing worth noting is that I can wake the computer with the power button, just not the USB remote. THere is also nothing in the motherboard bios for setting wake on USB.
That used to come with the remote desktop app. You could choose vnc or rdp.Now only choice is vnc.Is there a way to get rdp on there? Remote Desktop Viewer 2.30-2 F13-64.I can rdesktop from command line, but thats a royal pain if you're like me and have dozens of computers to check on from time to time.
I installed teamviewer recently. I can remotely access a windows system from my fedora machine. But i cannot access my fedora machine from the windows machine.
The windows machine is unable to connect to the fedora machine. Do I need to open some ports on fedora machine ?
I'm currently running a dual-monitor setup using gnome-display-properties. I have a dual-head video card.
What I would like to do is to use a remote X server as a third monitor. I installed Xdmx and Xinerama, but I can't figure out how to get Xinerama up and running. Is there any documentation that tells you how to configure Xinerama on Fedora 13? Is Xinerema compl
$ uname -a Linux efes 2.6.34.7-66.fc13.x86_64 #1 SMP Wed Dec 15 07:04:30 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux
I am still a linux novice of sorts, trying to get a remote directory mounted on a CentOS 5 (essentially Red Hat) server here from another CentOS 5 server.
# mount 192.168.0.112:/mnt/tmp /tmp/tim mount: wrong fs type, bad option, bad superblock on 192.168.0.112:/mnt/tmp, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so
And when I do dmesg | tail on this machine: # dmesg | tail device eth1 entered promiscuous mode device eth1 left promiscuous mode device eth1 entered promiscuous mode device eth1 left promiscuous mode device eth1 entered promiscuous mode device eth1 left promiscuous mode device eth1 entered promiscuous mode device eth1 left promiscuous mode FS-Cache: Loaded FS-Cache: netfs 'nfs' registered for caching
From the 192.168.0.112 remote server: # cat /etc/exports /mnt/tmp 192.168.*.*
I had just edited the /etc/exports file on the remote location earlier today, I assume I don't need to restart NFS or anything like that do I? Is it something obvious like you can't mount a remote /mnt directory?