Thorgear
Regular Contributor
I'm trying to redirect all traffic from a specific computer to a specific external web site. I'm using Merlin 380.57 on a gateway. When I use this rule:
iptables -t nat -A PREROUTING -m mac --mac-source xx:xx:xx:xx:xx:xx -j DNAT --to-destination 280.67.222.222
I get the error message:
Bad IP address `280.67.222.222'
It works just fine with an internal IP destination. Any idea what I'm doing wrong?
iptables -t nat -A PREROUTING -m mac --mac-source xx:xx:xx:xx:xx:xx -j DNAT --to-destination 280.67.222.222
I get the error message:
Bad IP address `280.67.222.222'
It works just fine with an internal IP destination. Any idea what I'm doing wrong?
Last edited: