[LARTC] Web Server with ADSL (continued) or something similar

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/




[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux