/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! 
/* ALSO: Don't quote this header. It makes you look lame :-) */


i have read Nathan Giuliani MSGs on the mailing-list  i have got the same
problem

i have just finished compiled kernel v2.4.13  and i have configured
iptables  to masq my localnet  using my
ADSL connection via   ppp0

every think work fine  my internal computer goes to the Internet   but   i
having a problem configure the iptables
so it will PORT forward   port 80  /   21    to local machine on my local
lan

i have tried

---------------
A)
 iptables -A PREROUTING -t nat -p tcp -d $EXTIP --dport 80 -j DNAT --to
10.0.0.2:80


B)
>iptables -t nat -A PREROUTING -p tcp -i eth1 --dport 80 -j DNAT --to
>10.0.0.2:80
>iptables -A PREROUTING -t nat -p tcp -d $EXTIP --dport 80 -j DNAT --to
>10.0.0.2:80
---------------

which i found thoose solution on this mailing list

i have thoose Modules bulit in my Kernel   and the other list as Modules:
   Bulit in kernel:  Connection Tracking + FTP    / IP Table support /
tcpmss / FULL NAT + Masquerade + REDIRECT / TCPMSS Target support

  All the rest of the functions build as modules


* i have telnet to a cisco router and from the prompt tried to telnet my IP
Address to PORT 80 / port 21
   and i am getting request timeout error
* And when i tried using from my local machine   telnet     212.179.xx.xx
21 / 80     i am getting connection refused

Seeking for your answers

Sincerly
Juda BarneS

_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ -- 
THIS INCLUDES UNSUBSCRIBING!
or email to [EMAIL PROTECTED]

PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.

Reply via email to