I need to forward the packet from ppp0, then forward to another server, how to do this, thanks!
2 Answers
iptables -t nat -A PREROUTING -i ppp0 -j DNAT --to-destination x.x.x.x
-
-
1
iptables does not forward packets, the routing engine does (to be configured with ip route
).