Re: Configuring GW to DSL Internet

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

 



On Wed, Jan 6, 2010 at 2:15 PM, Didar Hossain <didar.hossain@xxxxxxxxx> wrote:
> On Wed, Jan 6, 2010 at 1:15 PM, j.halifax . <j.halifax@xxxxxxxxx> wrote:
>> Hi All,
>>
>> Pleaase help me in configuring FC12_64 as DHCP & FW & GW to ADSL Internet.
>>
>> I have:
>> - eth0 (xxx.39.189.92) connected to one port of the DSL router, eth0 configured with DSN' of ISP
>> - eth2 (10.255.250.37) connected to the local LAN, eth2 configured with DNS' of ISP
>> - DNS' of ISP are defined also in resolv.conf
>> - named is running
>> - dnsmasq running for eth0 (connected to DSL router port)
>> - iptables running
>> - FW has dns ports (53) open
>> - FW has eth2 (to internal LAN) as trusted interface
>> - Internet is accessible in that box (via eth0), websites in internal LAN as well (via eth2).
>>
>> >From another box in the LAN:
>>> ping 10.255.250.37
>>    responds normal way
>>> host isp.com 10.255.250.37
>>   doesn't respond
>>   (in the 10.255.250.37 box the tcpdump shows requests coming in port 53, but they are not forwarded to superior ISP DNS and SUGHUP1 to dnsmasq reports 0 requests received/answered/failed/retried/sent)
>>
>> My question is: What is it incorect in my configuratins?
>
> Maybe you need to -
> echo 1 > /proc/sys/net/ipv4/ip_forward
>
> and
>
> iptable -t nat -A POSTROUTING -s 10.255.250.0/24 -j SNAT --to xxx.39.189.92

Assuming, you set up 10.255.250.0 as class C - not right, but, people
do it sometimes.

Didar

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux