I'm running Telnet Server, VFTP, and VNC on a Fedora 14 box. The box's internal IP is 192.168.1.222 This machine is configured to live in the DMZ, The firewall is up on both the router and this box. I can remote in from home using our external IP. I can FTP. I can Telnet. All using our external IP. When i'm in the office, i can remote in using our external IP. I can FTP. I can Telnet. Again, all with the external IP. If i attempt to telnet 192.168.1.222 i get a connection refused. i can ping the 192.168 address
nmap tells me that all 1000 ports on 192.168.1.222 are closed nmap tells me that my expected ports are open on the external IP.
.... This is a relatively new conundrum as it "used to work", and only appears not to since our last reboot (power outage). I know i have to be missing something simple here, but i differ to the experts.
I've been a loyal Ubuntu owner for 3 years now, and I've been wondering if there is a place where I can get the entire break down of how the OS works. I don't know programing but I would like to learn about what ever language Ubuntu uses to work.
The code listed below is an excerpt from a script that I am writing. The goal is to verify that a directory on a remote server is available to the local system. If that is not the case, a log file is written, and all filesystems that were previous unmounted, are remounted on the local system.
Code: # # Unmount all NFS mounts prior to the archive process. umount -a -t nfs # Mount the remote directory (NFS) prior to running the make_net_recovery script. # Make sure there is a <remote server> folder located in the /mnt directory. If it is # not already there, create one. mount <remote server>:/<local system> /mnt/<remote server>
# Verify the remote directory (NFS) is available. This directory is needed # as it is the destination for the iso images. If it is not available, stop # here, and write the results to a log file. df |grep <remote server> > /dev/null RC=$? echo $RC
if [ ${RC} -eq 0 ] then echo successful else echo not successful >> /tmp/make_net_backup.log && mount -a exit fi Is the syntax shown above correct?
I have a sendmail daemon running on Linux, I can telnet @ port 25 from local shell, however if I telnet from a remote system @ port 25, it doesn't work. There is no firewall in between.
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.
I'm working on setting up access for our developer via Telnet, we are on a local network behind a physical firewall. I set up the standard Telnet service for Fedora15 and from localhost I can login via any user and root.... However I cannot login from another terminal on the LAN, even though I can ping and FTP to the fedora15 box. I added the firewall rules for telnet, that did not work, so I disabled the firewall, still cannot get a connection via port 25. I feel either port 25 is closed in another manor or the telnet is restricted to the localhost.
Also I cannot login to root to configure the Firewall Desktop GUI, only standard users, is this an issue? I also cannot login to the console as root even though I use the correct password.I can only su to root and sometimes it is a PITA. There must be some settings to clear these issues up...
I am running CentOS 5.1 on VMware on Win 7 On CentOS I added Bridged network adapter and the server is connected to internet without any problems, but when I telnet any server on port 25 I get connection timeout.
Code:
telnet f.mx.mail.yahoo.com 25 Trying 98.137.54.237... telnet: connect to address 98.137.54.237: Connection timed out telnet: Unable to connect to remote host: Connection timed out
I stopped all servers, iptables and sendmail on the linux server and the firewalls on the win 7 but still getting the same error! I added new network adapter ( host-only ) and tried to telnet the win machine from vmware Linux but I got connection refused
Code:
telnet 192.168.71.1 25 Trying 192.168.71.1... telnet: connect to address 192.168.71.1: Connection refused telnet: Unable to connect to remote host: Connection refused
I just booted into Linux and the Update Manager prompted me to restart. After the restart the GRUB interface I expect to see is no longer there and now it is just a command line that says press tab for more options. I have not got a clue with shell language as I have had no time to learn it as of yet. Do I need to uninstall and reinstall Linux or is there a command that can be typed that boots up the operating system. Even better if there is something I can do is there also another command that can bring back that interface I was used to.
Does anyone know of a decent Operating System CLI cross reference website where I can compare diffent CLI commands against others? For example I have a MAC OS 10.6X running Darwin and I needed to know what the equivalent command using CentOS of rusers would be? It would be users running that same command at the MAC cli.
The situation is say all I have is a windows machine and I remotely connected via ssh to a Linux machine. Is there a way I can mount my local CD-rom on the remote Linux machine?
Is there any software that will do full mirroring between a local and a remote file system. I have a server (9.04) and a laptop (9.10). Each user has shared a shared directory on the server, and on the laptop. Updates to files may be done on either system. I want to keep both copies syncronised. Currently I use a script based on rsync (scheduled by cron) to keep the local and remote copies in sync.
The problem with this approach is that rsync only seems to be able to handle deletion of files if one file system is the master, which is not the case in my set-up. If I move a file to a different directory, rsync will reinstate the old file as well as copying the new one. I was hoping there was some software that could do proper mirroring between the 2 systems, but6 so far I cannot find anything.
I have a script which runs a few other scripts (in subfolders of the first script) in order to mount some unix/linux shares) Anyway, when I run the file from rc.local and try to pipe the output into a file the file is empty and the shares are not mounted. however when I run the file it mounts everything.... Also, the script doesn't work on my wireless clients...
I have Ubuntu 10.04 (fresh install) and it is my work computer/Server and i'd like access to this PC from my home. But with Remote Desktop it only says i can do local.
I've look around and opened up port 5900 in my router. Set this IP to to static and forwarded the port to this computer.
I've read that unchecking the "configure network automatically to accept connections" as it seems to cause an issue in ports i've read. Still nothing.
Here is a screen cap of my settings
Uploaded with ImageShack.us
How can i allow access from my Windows Based PC to this computer over the internet?
I am trying to find the difference between the above two services. Both are under xinetd and can someone please explain the difference between them (is one more secure than the other one?)
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
i have a debian 5 vps system.. it reports the time as beeing one hour behind, i have tried to change this by setting the time to GMT+1 and setting the time to my local region (Europe-Brittian) using the tzselect command but none get the time to the correct time, one hour ahead of the current time.