NVRAM or IPTABLES ???

Discussion in 'Cisco/Linksys Wireless Routers' started by CyberStorm, Jun 12, 2005.

  1. CyberStorm

    CyberStorm Network Guru Member

    I played with some IPTABLE commands and added them to Rc_firewall...

    Now, my WRT54g Router has trouble routing internet from Pheenet RT011 (it worked before, and it works with another WRT54g)...

    I do not know how to reset NVRAM ? ...(is it done by pressing hard reset button ? , or restoring settings to factory defaults )

    I viewed NVRAM using: /usr/sbin/nvram show > /dev/null
    but i havent found my IPTABLE LINES...

    I used PORT FORWARDING and forwarded port 80 and 8080 to ip address of my comp...and Internet started opening pages...

    I did all types of resetting my WRT but no changes...it works only when I forward ports 80 and 8080 ... WHAT TO DO ??? :?:
     
  2. JmJ17

    JmJ17 Network Guru Member

    Try this:

    # nvram set rc_firewall='/usr/sbin/iptables -F; /usr/sbin/iptables -t nat -F'
    # nvram commit

    This will reset all rules
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice