can not access the internet
Nina Pham
nina at gibbons.com
Tue Jun 22 22:58:05 UTC 2004
I see what's my problem is , I forgot to allow forward package from the
dialup remote ip in the iptables. Sorry guys and thanks for your help.
Nina
Nina Pham wrote:
>
> I changed the sysctl .conf file, but it doesn't work yet.
> BTW, for NAT, I allow allow every package comes from the remote
> dialup ipaddress to everywhere, and if the destination if the ip
> address, the destination is ignored. Those apply for both INPUT and
> OUTPUT packages.
>
> Nina
> antonio montagnani wrote:
>
>> Nina Pham wrote/ha scritto, On/il 22/06/2004 23:21:
>>
>>> Hi I built a linux dialup server. From my pc, I successfully dial
>>> in, I can browse the file from my home directory, but I can't ping
>>> or access internet, even though I can do all that from the linux
>>> box. What are the possibilities cause of that beside the firewall
>>> since I already checks the firewall and it ought to work with my
>>> current rules. Thanks
>>>
>>> Nina
>>>
>>>
>> 1)You have to set your etc/sysctl.conf file as follows:
>>
>> kernel.sysrq=0
>> net.ipv4.ip_forward=1
>> net.ipv4.conf.default.rp_filter=1
>> kernel.core_uses_pid=1
>>
>> then you reboot and the machine will act as a router.
>> But how did you manage the NAT in your iptables rules??
>> You have the Gateway definition in any Windows machine under the
>> network adapter properties....
>
>
>
More information about the fedora-list
mailing list