Re: onfigure firewall in etch

2009-03-29 Thread Michelle Konzack
Configure you computers TIME!

Thanks, Greetings and nice Day/Evening
Michelle Konzack
Systemadministrator
24V Electronic Engineer
Tamay Dogan Network
Debian GNU/Linux Consultant

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
http://www.tamay-dogan.net/ Michelle Konzack
http://www.can4linux.org/   Apt. 917
http://www.flexray4linux.org/   50, rue de Soultz
Jabber linux4miche...@jabber.ccc.de   67100 Strasbourg/France
IRC #Debian (irc.icq.com) Tel. DE: +49 177 9351947
ICQ #328449886Tel. FR: +33  6  61925193


signature.pgp
Description: Digital signature


onfigure firewall in etch

2009-03-25 Thread leo
On Mon, 2001-12-31 at 10:33 -0700, leo wrote:
 hello,
 
 is there any problem configuring a firewall in an dhcp client machine
 when an IP address change every time I reboot. In the firewall rules I
 denied (DROP) all incoming and OUTCOMING packet messages and after that
 this line:
 
 iptables -A INPUT -s 192.168.16.118 -j ACCEPT
 iptables -A OUTPUT -d 192.168.16.118 -j ACCEPT
 
 lets my IP address can do anything although in the next reboot this IP
 changes so that line will not be valid anymore
 
 my idea to fix this is copying this IP to an enviroment variable (with
 export command?) to use it in my firewall rules script taking it's value
 for example: 
 
 iptables -A INPUT -s $myIP -j ACCEPT
 iptables -A OUTPUT -d $myIP -j ACCEPT
 
 the part I don't know is how can I copy the IP address from boot
 
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org