So, my setup is:
..........
lan IP 192.168.1.1
wan IP 71.246.215.8
config 'redirect'
option 'src' 'wan'
option '_name' 'webserver'
option 'proto' 'tcp'
option 'src_dport' '80'
option 'dest_ip' '192.168.1.8'
..........
- http to 71.246.215.8 from wan works fine, forwards to 192.168.1.8
- http to 192.168.1.1 from lan works fine, goes to Luci admin console
- http to 71.246.215.8 from lan is wrong, SHOULD go to 192.168.1.8
So, I want to forward packets from the lan, addressed to the wan IP, as if they were external.
The desired behaviour from inside the lan is that I use 192.168.1.1 to get the Luci console, but that going via the DNS name (gogobeat.com) that resolves to 71.246.215.8 should forward as if it came from the wan.
How can I do this??? I know it can be done, just not sure how...
(Last edited by toehser on 3 Mar 2009, 15:26)