[Riješeno] virt-manager, firewal

Linux, poslužitelj, mreže i sigurnost

Moderator/ica: Moderatori/ce

Avatar
glaskoncILLa
Postovi: 5678
Pridružen/a: 28 vel 2009, 16:36

Re: virt-manager, firewal

Post Postao/la glaskoncILLa »

trebas propustiti na inputu rangove/adrese koje korisitis za virtualne masine ( ove koje su nabrojane u ifconfig ispisu ).
...."Have you mooed today?"...
..It’s that time of the decade: I’m reinstalling Debian..
Avatar
glaskoncILLa
Postovi: 5678
Pridružen/a: 28 vel 2009, 16:36

Re: virt-manager, firewal

Post Postao/la glaskoncILLa »

zapravo ne, vjerovatno ne radi zato sto se ne nata, upisi u terminal;

iptables -t nat -a POSTROUTING -o wlan0 -j MASQUERADE

pa vidi da li onda radi..
...."Have you mooed today?"...
..It’s that time of the decade: I’m reinstalling Debian..
komir
Postovi: 91
Pridružen/a: 12 stu 2009, 23:03

Re: virt-manager, firewal

Post Postao/la komir »

Kada pokrenem

Kod: Označi sve

service iptables status
dobiem

Kod: Označi sve

iptables: unrecognized service
Avatar
glaskoncILLa
Postovi: 5678
Pridružen/a: 28 vel 2009, 16:36

Re: virt-manager, firewal

Post Postao/la glaskoncILLa »

gdje si to uopce pokrenuo?
...."Have you mooed today?"...
..It’s that time of the decade: I’m reinstalling Debian..
komir
Postovi: 91
Pridružen/a: 12 stu 2009, 23:03

Re: virt-manager, firewal

Post Postao/la komir »

terminal :?
Avatar
glaskoncILLa
Postovi: 5678
Pridružen/a: 28 vel 2009, 16:36

Re: virt-manager, firewal

Post Postao/la glaskoncILLa »

zasto? :D

mislim napisao sam nesto skroz drugo..
...."Have you mooed today?"...
..It’s that time of the decade: I’m reinstalling Debian..
komir
Postovi: 91
Pridružen/a: 12 stu 2009, 23:03

Re: virt-manager, firewal

Post Postao/la komir »

dok sam čekao na tvoj odgovor išao sam po netu pogledati tuto za iptables
Avatar
glaskoncILLa
Postovi: 5678
Pridružen/a: 28 vel 2009, 16:36

Re: virt-manager, firewal

Post Postao/la glaskoncILLa »

ma imas iptablese, pogledaj moj zadnji post sa komadom, upisi komadu i probaj da li radi.
neki tutoriali su pisani davno, kad iptablesi nisu dolazili po defaultu.
...."Have you mooed today?"...
..It’s that time of the decade: I’m reinstalling Debian..
komir
Postovi: 91
Pridružen/a: 12 stu 2009, 23:03

Re: virt-manager, firewal

Post Postao/la komir »

Probao

Kod: Označi sve

komir@komir:~$ iptables -t nat -a POSTROUTING -o wlan0 -j MASQUERADE
iptables v1.4.4: option `-a' requires an argument
Try `iptables -h' or 'iptables --help' for more information.
Avatar
glaskoncILLa
Postovi: 5678
Pridružen/a: 28 vel 2009, 16:36

Re: virt-manager, firewal

Post Postao/la glaskoncILLa »

sorry, ovo je trebalo biti veliko a, dakle ispravno glasi;

iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE

bemti, poceo sam biti skroz slampav, to je od prehlade.. :)
rakije dajte amo.. :)
...."Have you mooed today?"...
..It’s that time of the decade: I’m reinstalling Debian..
Odgovori