Ruby doing CRUD iptables

  • Thread starter Guilherme Viteri
  • Start date
G

Guilherme Viteri

Hi All,

My scenario seems like: 1 host machine and many others virtual machines.
(exampling: Windows as host and vm linux Ubuntu).

I'm looking for a Ruby implementation that manipulates the IPTables on
this virtual machines. I mean the host machine will have a ruby program
that will interact to these virtual machines.

I've figured out many sites I've found a library Net-ssh.

When I've tried to run an iptables -L, it shows me 'no tty present and
no askpass program specified'. And looking at Net-ssh example, I can't
run anyone.

I've tried many other things too, all of them was unsuccessful.

Of course I'm ruby newbie. =)

Could you guys help me please ?? I will really appreciate that!!

Thanks a lot
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top