) do not seem to have anything useful (at least in the build of DD-WRT that I have installed). The usual Linux locations for startup scripts and the like, (e.g., /etc/init.d, /etc/rc. I've seen that there may be different builds of DD-WRT that give something like iptables-save, but I'm not at the point where I'm ready or willing to flash the router again. If there was something like /etc/sysconfig/iptables, I wouldn't care about having iptables-save. I don't necessarily want the command itself, just output that it generates. I understand that this build does not have an iptables-save command. so that I can incorporate the appropriate rules into my custom script. I am using a router that is running dd-wrt, so I figure that would be a good. Where would I find these on a DD-WRT filesystem? I can do iptables -L -vn -line-numbersĪnd see them output, but what I'm looking for is more of what the iptables-save command might output. TP-Link is not obligated to provide any maintenance or support for it. On a full-blown Linux system, the iptables rules would be stored somewhere like /etc/sysconfig/iptables. I am aware of the firewall script tab in the browser interface for entering custom firewall rules, but I can't find someplace to see the output. I'd like to be able to customize the iptables rules, but before I do that, I'd like to see the output of the built-in rules that get configured when manipulating the browser/GUI interface settings. ![]() According to my ssh login, I'm running: DD-WRT v24-sp2 mega (c) 2010 NewMedia-NET GmbH Where is the machine that you're trying to connect from.I have an ASUS RT-N16 router that I've flashed with the open-source DD-WRT firmware. This will allow connections from any IP to access the https port, if you want to restrict so only one address can connect, then use: iptables -I INPUT -s -p tcp -dport 443 -j ACCEPT Every router these days comes with a firewall, but the one included with DD-WRT is based on the iptables 5 firewall in Linux and, thus, is extremely powerful and configurable. determine whether the firewall config is denying the https connection) is: iptables -I INPUT -p tcp -dport 443 -j ACCEPT The command you want to use to allow the https port (i.e. Check iptables -L to see what firewall ports are blocked/enabled. ![]() with trying to move from DD WRT to OpenWrt on my TP-Link Archer C7 AC1750 v5. If the port is running then the next thing to check is the firewall. I have dynu ddns setup to automatically update with ddwrt and it shows. If you find an entry with https or 443, make a note of what ip address it's bound to. Log in via SSH and check whether the https port is listening for connections with: netstat -tl Now you are presented with the different templates. Check the box to use a preconfigured firewall. ![]() The firewall-software in your case is 'iptables' and the operating system is 'Linksys/Sveasoft'. The DD-WRTs firewall is for more advanced things (using stateful packet. Now you are prompted for the name (Give it some like DD-WRT for example). If you have a specific problem, often solutions can be found here and you. First things first, are you hitting "Apply" and not just "Save" at the bottom of the config page? Thats done by right click to firewalls -> create new firewall.
0 Comments
Leave a Reply. |