On Friday, January 25, 2013 11:17, "Tom H" <tomh0...@gmail.com> said:

>>>> I am running Debian Wheezy, and have installed kvm. When I list my
>>>> iptables rules there are a set of default rules defined, and
>>>> forwarding is set up for my virtual network. For the life of me I can
>>>> not figure out where these rules are defined, and I would like to
>>>> make some changes that I want to be permanent. Would anyone mind
>>>> enlightening me as where I can find the source of those rules?
>>>>
>>>> grep -RIil iptables /etc/* returns nothing.
>>>
> 
> To the OP: AFAIK, if you set up a nat-based VM, libvirt/qemu'll set up
> the rules that you're seeing. If they're in a grepable form, there'll
> probably be under "/usr".

Hi Tom,

I think you are correct as far as where the rules came from, but I
don't think they are going to be grepable. The source contains
iptables.c, and a few other similarly named files. I haven't done C in
a while, but I'll try to make sure that is where my rules came from.
There are also changelog entries that appear to back this up as well.

I'll do a bit more digging, but I think I have my answer.

Thanks!
Craig


Sent - Gtek Web Mail



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1359379792.447916...@webmail.gtek.biz

Reply via email to