Linux IP Masquerade HOWTO
Prev | Chapter 5. Testing IP Masquerade | Next

# 5.9. Testing MASQ functionality without DNS

- Step Nine: Testing MASQ functionality without DNS

  Now try TELNETing to a remote IP address (i.e. telnet 152.2.210.81 ( this is technically the DNS name "metalab.unc.edu"). It might take a few seconds to get a login prompt since this is a VERY busy server. Did you get a login prompt like shown below? If so, it means that TCP Masquerading is running OK. If not, try TELNETing to some other hosts you think will support TELNET like 198.182.196.55 (www.linux.org). If this still doesn't work, make sure you are using the simple rc.firewall-* ruleset for this test. An example of this output might look like (hit Control-D to exit out of the TELNET):

      --------------------------------
      masq-client# telnet 152.2.210.80
      Trying 152.2.210.80...
      Connected to 152.2.210.80.
      Escape character is '^]'.

      SunOS 5.7

      ******************** Welcome to MetaLab.unc.edu *******************

       To login to MetaLab as a user, connect to login.metalab.unc.edu.
                 This machine does not allow public telnet logins.

      login: Connection closed by foreign host.
      --------------------------------

Prev | Home | Next
Testing external MASQ ICMP forwarding | Up | Testing MASQ functionality with DNS resolution