What's new
  • 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!

Built card server - but can only access local ips?

mrdude

Regular Contributor
I have built a smart card server to work on the latest Merlin firmware. It can connect to all my local ip addresses fine, but for some reason I can't access any or connect to any servers outside my LAN.

The server is running on 192.168.1.1 - on port 8080, (from the jffs folder) I tested the binary on another arm device and it works fine on them (connects outside the LAN), is there a firewall script I could add to let this program, or pid access traffic outside my LAN if I'm running it from the router? I assume there is as things like transmission are working fine on this router.

I have downloaded and compiled the latest Merlin source, added all my libraries i need, built the server to work on arm - this is my last hurdle so any help would be appreciated.
 
Add to firewall-start script and run or reboot router

iptables -I INPUT -p tcp --destination-port 8080 -j ACCEPT
 
Thanks, I found the problem wasn't a firewall issue - my card server is working fine if I put IP addresses in rather than a url.

I guess the router is not running a dns service, do you happen to know if there are any of those packages available?
 
No that's not what I meant, I already have that set up.

The card server can get local ip's and connect to them fine. When I try and connect the card server to a url like - something.org.com - it doesn't work - I need to put the ip address in of something.org.com - for the card server to connect.

Using the ip instead of the url proves the firewall is working ok - but the dns server on the router is not finding the ip address of the url.

The exact same binary works fine in my synology ds 212+ nas (arm processor), so I know my binary is fine.
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

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