Quote:
Is that output from the host or from the guest? And what about iptables?
|
From the guest, yes.
Quote:
Well, you have nat? The host box is running linux, right? Can you show us the output of this?
|
Yes, I have nat but not using it, I'm now bridged.
The host box is running linux. The guest box is running linux.
#iptables -t nat -L -nv
OUTPUT: hain PREROUTING (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain POSTROUTING (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
#iptables -L -nv
OUTPUT: Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
13120 15M ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0
134 7886 ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:22
76 15134 REJECT all -- * * 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 REJECT all -- * * 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited
Chain OUTPUT (policy ACCEPT 9169 packets, 1172K bytes)
pkts bytes target prot opt in out source destination
#ip addr show
OUTPUT: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
link/ether 00:0c:29:ac:5e:18 brd ff:ff:ff:ff:ff:ff
inet 192.168.2.164/24 brd 192.168.2.255 scope global eth0
inet6 fe80::20c:29ff:feac:5e18/64 scope link
valid_lft forever preferred_lft forever
#ip route show
OUTPUT: 192.168.2.0/24 dev eth0 proto kernel scope link src 192.168.2.164
default via 192.168.2.1 dev eth0
What option do you want me to use with iptables?
That is all the output from the guest(VM)
Thanks a lot eantoranz.