I'm trying to configure Devil Linux 1.6.3 i686 to establish ADSL PPPoE
connection.
I ran pppoe-setup and confugred the following:
Ethernet Interface: eth0
User name: spiralad
Activate-on-demand: No
DNS addresses: Supplied by ISP's server
Firewalling: MASQUERADE
When I run pppoe-start, it timed out.
root@Devil:~ # pppoe-start
................TIMED OUT
In debug mode, it shows that firewall.masq file is missing.
root@Devil:~ # DEBUG=1 pppoe-start
*** Running in debug mode... please be patient...
cat: /etc/resolv.conf: No such file or directory
/usr/sbin/pppoe-connect: line 194: /etc/ppp/firewall-masq: No such file or
directory
I ran pppoe-setup again, but this time I chose firewall NONE instead of
MASQUERADE.
Ethernet Interface: eth0
User name: spiralad
Activate-on-demand: No
DNS addresses: Supplied by ISP's server
Firewalling: NONE
Now the DL box establishes PPPoE connection and can ping outside domain
names, but machines on my LAN can only ping outside IP addresses, not domain
names, and also on windows 7 machines Network Diagnostics report the DNS
server isn't responding, so the DL box can't pass DNS requests to my ISP's
DNS servers, eventhough it can communicate with them itself.
What should i do now to make DNS requests from my LAN work? How was it meant
to work in DL?
1. Set firewalling option to MASQUERADE and then create the missing
firewall-masq by hand? How to do that, what's the purpose of this file?
Should I write iptables rules in it, or maybe a script that starts iptables?
Or something else?
2. If I set firewalling to NONE, how can I make the DNS queries work
then?
3. Or something else?
|