this seemed to work many moons ago but doesnt now. setup as follows…
ether 1 = 192.168.1.100 connected to adsl modem on 192.168.1.1
ether 2 = 192.168.0.1 connected to wifi ap on 192.168.0.50
nat rules as follows…
Flags: X - disabled, I - invalid, D - dynamic
0 X ;;; place hotspot rules here
chain=unused-hs-chain action=passthrough
1 ;;; masquerade hotspot network
chain=srcnat action=masquerade src-address=192.168.0.0/24
2 X ;;; place hotspot rules here
chain=unused-hs-chain action=passthrough
3 ;;; masquerade hotspot network
chain=srcnat action=masquerade src-address=192.168.0.0/24
4 chain=dstnat action=dst-nat to-addresses=192.168.0.50 to-ports=80
protocol=tcp dst-address=192.168.1.100 dst-port=5050
In the adsl modem port 5050 is forwarded to 192.168.1.100. So basically when you plug the wan ip into your browser XXX.XXX.XXX.XXX:5050 it should log into the access point but it doesnt. If you look at the nat rule there is traffic being passed to through but like i say no love is shown. Help please!!!
Cheers in advance