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

Re: setting up iptables



Incoming from Costas Magkos:
> 
> Can someone give me some best-practices for setting up iptables on a 
> Debian system? I'm looking for things like where should the rules be 
> placed, what startup script to use [1], good configuration tools [2] and 

Good question.  I'm using ppp and I have a script in /etc/ppp/ip-up.d
that should be run by /etc/ppp/ip-up:

# This script is run by the pppd after the link is established.
# It uses run-parts to run scripts in /etc/ppp/ip-up.d, so to add routes,
# set IP address, run the mailq etc. you should create script(s) there.

I've yet to see ip-up execute it.  I haven't yet figured out why.  The
script runs fine at the command line.


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)               http://www.spots.ab.ca/~keeling 
- -



Reply to: