LAN to WAN on FC3

Alexander Dalloz ad+lists at uni-x.org
Sun Mar 6 23:03:06 UTC 2005


Am So, den 06.03.2005 schrieb Claude Jones um 23:52:

> I'm running an FC3 box on the web, with the firewall enabled,  and  
> SELinux  enabled.
> I've just gotten Apache to work
> I have a second NIC to which a wireless access point is connected. I've 
> finally gotten DHCPD to work, and machines on the LAN are getting 
> assigned IP's. Below is my DHCPD.conf file.
> ddns-update-style interim;
> ignore client-updates;
> 
> subnet 192.168.2.0 netmask 255.255.255.0 {
> 
> # --- default gateway
>     option routers            192.168.2.1;
>     option subnet-mask        255.255.255.0;
> 
> #    option nis-domain        "domain.org";
>     option domain-name        viewridgeproductions;
> #    option domain-name-servers    209.249.226.25;
> 
>     option time-offset        -18000;    # Eastern Standard Time
> #    option ntp-servers        192.168.1.1;
> #    option netbios-name-servers    192.168.1.1;
> # --- Selects point-to-point node (default is hybrid). Don't change this 
> unless
> # -- you understand Netbios very well
> #    option netbios-node-type 2;
> 
>     range dynamic-bootp 192.168.2.128 192.168.2.254;
>     default-lease-time 21600;
>     max-lease-time 43200;
> 
>     # we want the lan router to appear at a fixed address
>     host viewridgeproductions {
>         hardware ethernet 00:C0:F0:49:79:31;
>         fixed-address 192.168.2.1;
>     }
> }
> 
>  From the LAN I can ping the WAN nic. There things stop. I can't ping 
> anything beyond from inside. I can't get to any websites from inside. I 
> can't get to my own site from the LAN, even though it's serving up my 
> test page to all the world. Does some have an idea what I'm overlooking?

Enable the domain-name-servers option. Be sure you have forwarding on
and enabled masquerading through iptables. A short setup howto:

http://www.fedoranews.org/ghenry/gateway/

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.10-1.14_FC2smp 
Serendipity 23:59:47 up 13 days, 11:08, load average: 0.37, 0.32, 0.32 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050307/7fe59d98/attachment-0001.sig>


More information about the fedora-list mailing list