[ILUG] DNAT with iptables problem

John P. Looney john at antefacto.com
Thu Aug 9 10:21:07 IST 2001


> matrix/home/john>telnet [trons external address] 80
> Trying [trons external address]...
> Connected to [tron external address].
> Escape character is '^]'.
> get index.html
> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> <HTML><HEAD>
> <TITLE>400 Bad Request</TITLE>
> </HEAD><BODY>
> <H1>Bad Request</H1>
> Your browser sent a request that this server could not understand.<P>
> Invalid URI in request get index.html<P>
> <HR>
> <ADDRESS>Apache/1.3.20 Server at 10.10.13.2 Port 80</ADDRESS>
> </BODY></HTML>
> Connection closed by foreign host.

 That should be;

matrix/home/john>telnet [trons external address] 80
GET / HTTP/1.0


 Note the two new lines, after the protocol version.

Kate
 
-- 
When I say 'free', I mean 'free': free from bond, of chain or command:
to go where you will, even to Mordor, Saruman, if you desire. "
    -- Gandalf, paraphrasing the choice between Free and Non-free software




More information about the ILUG mailing list