RE: Still Need iptables Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > I tried to look here but neither gedit or vi provide line 
> > numbering 
> To get line numbering while in vi type:
> 	:set nu
> Then to turn if back off type:
> 	:set nonu
> Regards, bk

Thank you!  Very nice. 

>From the /etc/sysconfig/network-scripts/ifup script ...

The lines around 191 read:

189 fi
190 
191 #Is there a firewall running, and does it look like one we
configured?
192 FWACTIVE=
193 if iptables -L -n 2>/dev/null/ | grep -q RH-Lokkit-0-50; then
194      FWACTIVE=1
195 else
196      modprobe -r iptable_filter >/dev/null 2>&1
197 fi

Those around 235 read: 

233 fi
234 echo
235 echo -n $"Determining IP information for ${DEVICE}..."
236 if check_link_down ${DEVICE}; then
237      echo $" failed; no link present.  Check cable?"
238      ip link set ${DEVICE} down >/dev/null 2&1
239      exit 1
240 fi

Any hints as to how it helps me to identify the incorrect setting and to
make it right, please?

-- 
Thanks!  dmc :-D
~~~~~~~~~~~~~~~~~~~~~~~~~
        |
Jesus  ===  Freedom
        |
~~~~~~~~~~~~~~~~~~~~~~~~~


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux