What's new

PlexConnect IPTables (TomatoUSB Migration)

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

kman

Regular Contributor
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:
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
 
Just wondering if anyone got a chance to look into this. It's an iptables config which I can't figure out.

Thanks.
 

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top