Hello,
I recently migrated from TomatoUSB Shibby and I'm trying to setup the iptables to forward a request to another machine hosting PlexConnect.
In Tomato, the following was working
And in Advanced -> DHCP/DNS -> Dnsmasq Custom configuration:
and in Administration -> Scripts-> Firewall :
Now I did the same thing in Merlin, where I added the following:
In dnsmasq.conf.add:
In firewall-start script:
But it is not working. One difference I noticed using
#iptables -t nat -L PREROUTING
was that table had router.asus.com as opposed to 192.168.1.1
Any help would be appreciated.
Thank you
I recently migrated from TomatoUSB Shibby and I'm trying to setup the iptables to forward a request to another machine hosting PlexConnect.
In Tomato, the following was working
And in Advanced -> DHCP/DNS -> Dnsmasq Custom configuration:
Code:
address=/trailers.apple.com/10.0.0.1
address=/atv.plexconnect/10.0.0.1
and in Administration -> Scripts-> Firewall :
Code:
iptables -t nat -A PREROUTING -p tcp -s 10.0.0.102 -d 10.0.0.1 --dport 80 -j DNAT --to-destination 10.0.0.6:8080
iptables -t nat -A PREROUTING -p tcp -s 10.0.0.102 -d 10.0.0.1 --dport 443 -j DNAT --to-destination 10.0.0.6:8081
Now I did the same thing in Merlin, where I added the following:
In dnsmasq.conf.add:
Code:
address=/trailers.apple.com/10.0.0.1
address=/atv.plexconnect/10.0.0.1
In firewall-start script:
Code:
iptables -t nat -A PREROUTING -p tcp -s 10.0.0.102 -d 10.0.0.1 --dport 80 -j DNAT --to-destination 10.0.0.6:8080
iptables -t nat -A PREROUTING -p tcp -s 10.0.0.102 -d 10.0.0.1 --dport 443 -j DNAT --to-destination 10.0.0.6:8081
But it is not working. One difference I noticed using
#iptables -t nat -L PREROUTING
was that table had router.asus.com as opposed to 192.168.1.1
Any help would be appreciated.
Thank you