Find the answer to your Linux question:
Results 1 to 2 of 2
I am setting up Ubuntu to be a firewall type device for a windows computer. (I later want to use Internet sharing or something like that.) The Ubuntu machine has ...
  1. #1
    Just Joined!
    Join Date
    Jun 2011
    Posts
    3

    Windows can ping but not telnet to new Ubuntu machine

    I am setting up Ubuntu to be a firewall type device for a windows computer. (I later want to use Internet sharing or something like that.) The Ubuntu machine has two NICs. The internet NIC works but one light is always orange (even when there is no patch cable connected to it). I can access the Internet fine from the Ubuntu machine. I have a cross over cable connected to the second NIC. This cable connects to the Windows laptop. The windows laptop can ping the Ubuntu machine. But I cannot ping the windows machine from the Ubuntu machine. When I try to telnet to the Ubuntu machine from the Windows machine (over port 23 or 80) it says "cannot connect."

    From the Ubuntu machine I issued this command:

    # iptables -A INPUT -p tcp --dport 80 -j ACCEPT

    I used ufw status and found that the firewall was not enabled on the Ubuntu machine. The default gateway of the second NIC is the IP address of the Windows machine. The default gateway of the Windows machine is the IP address of the Ubuntu machine.

    Please help.

  2. #2
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,114
    Ubuntu does not run a telnet server by default. You would need to enable it yourself. Even better, use ssh This, too must be enabled,since it does not run unless you start it.

    Setting Up a Telnet Server in Ubuntu*|*Ubuntu Geek

    Ubuntu Linux OpenSSH Server installation and configuration

    SSH & Telnet On Ubuntu 8.04 | Blognya Tedy Tirtawidjaja

    PuTTY: a free telnet/ssh client

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...