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

Re: IP Forwarding



Ok. You need a NAT. Example:

Old IP: 200.20.20.20
New IP: 201.21.21.21

Use the rule on machine at your office:

# iptables -t NAT -A INPUT -d 200.20.20.20 -j DNAT 201.21.21.21

It works fine with one nic.

[]s

Eriberto - www.eriberto.pro.br

HOGWASH - IPS invisível em camada 2. http://www.eriberto.pro.br/hogwash

theal escreveu:
Also, is it possible to forward and incoming ip on eth1 to an internet ip on the same nic (eth1) or do I need another nic?



Reply to: