RE: LAN to WAN on FC3 solved

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

 



Claude Jones wrote:
| I'm going backwards! I entered my ISP's DNS servers in the
| dhcpd.conf file since I don't run my own DNS server. At the same
| time, I tried to follow the suggestions from the help-file that
| Alexander posted to configure forwarding and NAT:
| 
| modprobe iptable_nat
| iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE #in this
| case I changed "ppp0" to my 	gateway IP address
| service iptables save
| echo "1" > /proc/sys/net/ipv4/ip_forward
| 
| Now, I get the following when I try to start DHCP:
| Can't open lease database /var/lib/dhcp/dhcpd.leases: Permission
| denied -- check for failed database rewrite attempt!
| I tried following some suggestions on this error message I found
| which involved manually flushing the dhcpd.leases and
| dhcpd.leases~ files, but, my DHCP is still hosed.
| 
| All suggestions welcome!
| 

I respond to myself. I was in a tearing-hair-out-try-anything mode
and made some concatenated mistakes. I'd tried installing
firestarter and I think this was interfering with my manual
entries. In any event, I removed it. I went into security settings
and on the Selinux tab, I removed Selinux protection for the dhcp
daemon under SELinux Service Protection. Presto, everything
started working. Can someone tell me if I've done anything wrong
with these SELinux changes? I can't remember if I'd changed them
during the past serveral days, and simply put them back where they
were.

Claude Jones
Levit & James, Inc./WTVS
Leesburg, VA, USA



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux