From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carles Pina i Estany Date: Tue, 26 Feb 2002 00:18:37 +0000 Subject: [LARTC] Web Server with ADSL (continued) or something similar Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Hi, I have tried it: iptables -t nat -A PREROUTING -p tcp -i eth2 --dport 1000 -j DNAT --to \192.168.1.2:80 And doesn't work: carles@pinux:~$ telnet SERVER 1000 Trying IP_SERVER... And if I do it with redir command works fine. What is the problem? And the solution? My network is something like: INTERNET IP_EXT <- |Server| -> IP_INT (192.168.1.x) NAT Thank you very much! ---- Carles Pina i Estany | Nick: Pinux / Pine / Teufeus E-Mail: carles.pina@salleURL.edu / is08139@salleURL.edu / cpina@cat-linux.com http://www.salleURL.edu/~is08139/ _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/