LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices



Old

DHCP only for KVM host

Posted 08-01-2013 at 06:11 AM by zhjim

As I wanted to play with etherboot, pxe boot and like I needed a dhcp server that I could control and take on and offline as seen fit. That ruled out the normal dhcp server we have on our network. What to do? Create one inside a kvm and block all network traffic from and to it from outside.

Little description of the network setup.
eth0 is the interface to the wide world aka local network
each vm has a tap device with naming like tap-$name_of_vm0
They all are joined...
Senior Member
Posted in Uncategorized
Views 1377 Comments 2 zhjim is offline
Old

so cool socat

Posted 07-26-2013 at 04:26 AM by zhjim

Fiddeling around with kvm again I wanted to use the monitor but on an instance that run with "-display non" cause I run it from the command line. Maybe one can access the monitor from VNC or SPICE I don't know but I found the option to redirect the monitor to a socket or any other network device. I went for a socket like this
Code:
-qmp unix:/var/run/kvm/qmp-default.sock,server,nowait --monitor stdio
Possible options for -qmp are the same as for -serial and can be found in the...
Senior Member
Posted in Uncategorized
Views 831 Comments 0 zhjim is offline
Old

Samba 3.5.6 Debian Wheezy guest account mapping for unknown user

Posted 07-08-2013 at 08:52 AM by zhjim

Nother problem that cost me some life time and hair too I'd say. Fiddeling around with samba on Debian wheezy I created a share that should be public accesible. So we call it public. Yes I am an artist and genius when making up names. Anyways as we want the guest account to be allowed we put guest ok = yes inside the config part of the share. Also to be a bit more restrictive I also added valid users = +smbusers (Nother prove of my genuine artistry). The usaual path and other things found there...
Senior Member
Posted in Uncategorized
Views 766 Comments 0 zhjim is offline
Old

virtualbricks connect switch to local network

Posted 11-06-2012 at 02:29 AM by zhjim

Another post for me myself and eye so I don't forget how I did it.

Here are the steps to get a virtualbricks setup with a vde_switch to connect through your local computer to the lan/wan/inet. All under Debian wheezy while in late testing.

We need a "master switch", a tap device, a local nic with access to the wide world. Have all your other switches or vserver (within virtualbricks) connect to the "master switch".

Configure your tap...
Senior Member
Posted in Uncategorized
Views 932 Comments 0 zhjim is offline
Old

-m recent --rdest or don't trust the man(page)

Posted 10-07-2012 at 01:35 PM by zhjim
Updated 10-07-2012 at 01:37 PM by zhjim

Looking for a way to block those 404 hoppers I match the outgoing packages from sport 80 for the string 404. Now that I have those classified I needed a way to block them when they would return. Normaly i would use the recent module for this. But as its a outgoing packet and recent normally uses the source ip I would block myself to come back in. But the man pages has the --rdest option which matches/saves on the destination ip. That would be cool but I would need it to block on the incoming package....
Senior Member
Posted in Uncategorized
Views 522 Comments 0 zhjim is offline

  



All times are GMT -5. The time now is 01:40 PM.

Main Menu
Advertisement

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration