Author Topic: Edit iptables  (Read 561 times)

Offline sfdtux

  • Full Member
  • ***
  • Posts: 85
Edit iptables
« on: May 12, 2011, 09:34:04 AM »
Hi folks  -  I really need some help with editing a rule on a router. Actually - it's a mistake in an entry I noticed while trying to troubleshoot an issue.

I need to know the exact line to type in to fix it - I've read and read and read all kinds of stuff on this but only get command line options etc - I never configured a router so I need to know the exact command to type to fix one number that is not correct. Here is the line that has the error.....


 Chain NV-IN-FORWARD
 RETURN     udp  --  anywhere             192.68.23.0/24      udp spt:ntp

The correct ip address should read 192.168.23.0/24  not .68

I need to get the exact line or lines to type to correct this.  Reading the manual is not on option right now - I tried and I just don't want to make a mistake - that router is 2500 miles away and there is no one in that office I can trust to do this. So can someone please let me exactly what to do??

Thank you all.