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

Re: iptables-save/restore with dynamic IP



also sprach Martin G.H. Minkler <dukeofnukem@gmx.net> [2004.10.20.1420 +0200]:
> ('cat <file> iptables-restore' will restore that table
> accordingly)

another useless use of cat

iptables-restore < file

> Unfortunately I am working with a dynamically assigned IP that is passed 
>  to the iptables script called in /etc/ppp/ip-up by pppd.

Why do you care about your IP in the firewall rules? Use interface
matching instead!

-- 
Please do not CC me when replying to lists; I read them!
 
 .''`.     martin f. krafft <madduck@debian.org>
: :'  :    proud Debian developer, admin, and user
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!

Attachment: signature.asc
Description: Digital signature


Reply to: