![]() Sure you also can use it without jffs2, but then you are somewhat limited with the size of the firewall you can build.įlash the Linksys device with dd-wrt v23 final (Go to Administration -> Firmware Upgrade). If you not have done until now, go to Administration -> Management and enable JFFS2 and Clean JFFS2 JFFS2. Then go to Administration -> Services and enable SSHD. Now start Putty.exe or any other SSH-program and login (username: root + your password). Right click on "Firewalls" and choose "New Firewall". Enter the name of the new opject below: something like "my firewall". Choose firewall software is running "iptables". Choose OS the new firewall runs on: "Linksys/Sveasoft". Check "Use preconfigured tamplate firewall objects". Choose template "linksys firewall" and press Finish.ĭouble Click on my firewall and cange Version to "1.2.9 or later". (Do not use Linksys/Sveasoft here, because you don't want to store the data in the NVRAM now, but in the jffs file system)Ĭhoose "Firewall Settings" and choose tab compiler. Fill in the field Output file name: "firewall.fw". Choose tab installer and put in the field "Directory on the firewall where script should be installed" "/jffs/firewall/". ![]() Now select from the menu Edit -> Preferences tab SSH. Enter the path for pscp.exe and plink.exe. Expand the tree under my firewall and double click on "outside (dyn ext)" and change the Name to "ppp0" if you use PPPoE to connect to the internet. Now build your firewall rules.Īfter building your rules, choose Rules -> Install. On request choose "compile" and than "install". Nvram set rc_firewall=/jffs/firewall/firewall.fw In the following dialog enter username "root" and your password. If you want to know about the free space on your jffs partition enter "df" in the SSH console.Ĭomment: If you have started the PPTP Server, you must not check Load Modules (Double Click on Firewall, choose Firewall settings, choose tab script options and remove the tick on Load Modules). Otherwise the script exits with an error (+ /sbin/modeprobe ip_conntrack_pptp modeprobe: could not parse p) and doesn't load the firewall policies. If someone knows how to correct this behaviour, please post.Īdded by - Ptruman 14:49, 2 June 2008 (CEST)įwbuilder works with files created using iptables-save - which is NOT part of DD-WRT.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |