also sprach Mattia Martinello <[EMAIL PROTECTED]> [2003.08.29.0112 +0200]:
> iptables -t nat -A PREROUTING -p tcp -i eth1 -d $PublicIP -j DNAT
> --to $ServerIP

This works?

> This DOESN'T work!
> iptables -t nat -A PREROUTING -p tcp -i ppp0 -d $PublicIP --dport
> 80 -j DNAT --to $ServerIP:80

Please use tcpdump on the firewall and record what happens when you
send a packet from the internet to $PublicIP port 80.

-- 
Please do not CC me when replying to lists; I read them!
 
 .''`.     martin f. krafft <[EMAIL PROTECTED]>
: :'  :    proud Debian developer, admin, and user
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!

Attachment: pgp00000.pgp
Description: PGP signature

  • DNAT Mattia Martinello
    • martin f krafft

Reply via email to