LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-22-2008, 02:19 PM   #1
nekkutta
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(192.168.1.3)
--Lan port on linksys WRT54G(192.168.1.1) running as DHCP server in router mode
Lan port on Linksys WRT54G(192.168.1.1)--Lan port on WRT54G(192.168.1.2)
--Lan port on 192.168.1.2 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
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:11 PM.

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