[wplug] ipchains

Robert Dale rdale at wplug.org
Tue Jul 3 09:45:07 EDT 2001


On Mon, 2 Jul 2001, Richard Rosenbaum wrote:

> Well, to answer the question simply, I don't know how. The only way I know
> how to do this is to reinstall RH from scratch.

Replace '-p tcp' with '-p udp' in your rule.  Or, if you're using numbers,
replace '-p 6' with '-p 17'.

TCP rule:
  -A input -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 123:123 -p tcp -y -j ACCEPT
    OR
  -A input -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 123:123 -p 6 -y -j ACCEPT

UDP rule:
  -A input -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 123:123 -p udp -y -j ACCEPT
    OR
  -A input -s 0.0.0.0/0.0.0.0 -d 0.0.0.0/0.0.0.0 123:123 -p 17 -y -j ACCEPT

-- 
Robert Dale

wplug member since 1998





More information about the wplug mailing list