iptables to cisco nat convertion

By wannano ·
I want to convert the following command of iptables with cisco NAT.

Lan Ip Interface= Eth0 (
Public Ip interface= Eth1 (

iptables -t nat -A POSTROUTING -o eth1 -p tcp -s -d -j SNAT --to-source --dport 34

/sbin/iptables -t nat -A PREROUTING -i eth0 -p tcp -d --dport 34 -j DNAT --to

I am now using a linux box as a gateway. but now i have to replace it with a cisco router. Can someone tell me how will be the command in the cisco router?


This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Share your knowledge

Related Discussions

Related Forums