Routing with Fedora Core 10

Discussion in 'Server Operation' started by ak47, Feb 5, 2009.

  1. ak47

    ak47 New Member

    So my server running FC4 died last night and I decided to go ahead with the long-awaited upgrade to FC10 while I was rebuilding my server. I use my server for a number of things including, but not limited to: router, firewall, web server, mail server... I have a typical configuration process that I have followed since before fedora, and it has worked well for me up through FC4, but my usual config process doesn't work on FC10.

    I was unable to even configure the server to route traffic from my internal network to the web, here's the process I usually go through for this:
    (in rc.local)
    ------------------------
    echo 1 > /proc/sys/net/ipv4/ip_forward
    iptables -P FORWARD ACCEPT
    iptables -t nat -A POSTROUTING -s 192.168.7.0/24 -j MASQUERADE
    route del default
    route add default gw xxx.xxx.xxx.xxx eth1
    ------------------------

    What else do I need to do to route traffic? I noticed that I wasn't even able to ping my server from the internal network even though they are on the same subnet, my server's internal NIC has an address of 192.168.7.1 and my computer on the network has an address of 192.168.7.2.

    If I can get this going to I have internet access again at the very least, I can move forward with the web server, email, etc.
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Did you disable SELinux?
     
  3. ak47

    ak47 New Member

    Yes, I did disable SELinux, I actually tried putting it Permissive mode as well. I posted this question on just about every linux forum I'm a member of, and I got some useful info now from fedoraforum.org, I'm going to give some of those suggestions a try and I'll post here what I did if things work out. Of course, if anyone has any suggestions they'd like to share, I'm open to more ideas :)
     
  4. ak47

    ak47 New Member

    Ok, I got a few replies to my issue over at FedoraForum.org, leading to a solution to my routing problem, here's the thread:

    http://forums.fedoraforum.org/showthread.php?p=1162339&posted=1#post1162339

    After this experience I wonder about the direction the Fedora project is taking, it seems like it is becoming more and more just another desktop distro, and falling away from its origin as the best cutting-edge server distro. The out-of-the-box configuration does not lend itself well to a server role, I remember way back before Fedora I was using Redhat linux as a business server, and when Fedora started up, I used that, it was the best server system I've ever used, and I really hope it stays that way, there are already more than enough desktop distros out there...

    Thanks for the help
     
  5. falko

    falko Super Moderator ISPConfig Developer

    That's the impression I'm having as well. Maybe it's better to use CentOS for servers instead of Fedora (if you want to go with RedHat based distros).
     

Share This Page