To assign multiple external IP addresses to a WRT54G/S, you have to push a multiline variable into the rc_firewal nvram variable (non-volatile ram):
nvram set rc_firewal="
iptables -t nat -I PREROUTING -d x.y.z.1 -j DNAT --to-destination 192.168.1.x
iptables -t nat -I PREROUTING -d x.y.z.2 -j DNAT --to-destination 192.168.1.x
"
nvram commit
This will protect the changes against being lost when the router is reset.
Hi Jeff,
I have subscribed 5 fixed ip through pppoe from my ISP.
Does the above setting work under pppoe mode?
Tony
I have used this with good results with a PPPOE connection (DSL in my case).