Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 03-22-2008, 02:19 PM   #1
LQ Newbie
Registered: Feb 2008
Distribution: Slackware 12
Posts: 22

Rep: Reputation: 15
Need help setting up a dial on demand dnsmasq dhcp server with a decent firewall i

Ok, I know most of this information is on here, but I'm sure it's scatered around all over the place, so I'm hoping that some really smart guru can pop along and give me a hand.

here is my setup:
(-- = connection to)
Slack 12 box acting as a Samba Domain Master and samba file shares server(
--Lan port on linksys WRT54G( running as DHCP server in router mode
Lan port on Linksys WRT54G( port on WRT54G(
--Lan port on to Desktop computer running Win XP and occasionally Slack 12(DHCPC)

yes I know that it is a screwy connction scheme but its what I got to work when I first got everything wired up.
Now, my networking skills aren't that great, although the past couple months they have been getting better. now what I'm wanting to do is set it up so that slack 12 will dial out, but not on a spurious request from windows, mainly I want it so that I have to enable the "Internet Connection" in Network Connections in windows (or some other command scheme) and have dnsmasq re-poll the resolv.conf when it gets connected to pass the nameservers to the dhcp clients.
also is there a way to get pppd to aquire the nameservers at connect instead of having to enter them into the resolv.conf manually?
I also need to set up a iptables firewall when the dialup connection initiates and remove the firewall when the dialup drops.
I am planning to have it connect every night between 2AM and 5AM to do system updates automatically (prolly with slackpkg)

and if anyone can think of any slack ways to secure it even more from the internet when it is connected. I'd greatly appreciate it.
things I don't really know are iptables and dnsmasq, I can get the pppd system setup myself (I hope)

TIA, nekkutta


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dial-In PPP dial-in server/ Cable-modem & LAN / Setting up "dannyboyOnline" dannyboy259 Linux - Networking 2 01-12-2007 01:40 AM
Dial on demand inaki Linux - Networking 1 07-14-2005 06:21 AM
PPPD: Problems with setting up "Dial on demand" ThePreacherMan Linux - Networking 2 06-24-2005 03:05 AM
dial on demand isdn / analog routing server DerBrain Linux - Networking 1 02-13-2004 02:42 PM
Setting-up dial-in & dial-up server in same machine sebastianjustin Linux - Networking 1 09-20-2003 03:35 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:12 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration