Thread: Firewall: How do completely prevent any traffic from network?
hi,
have ubuntu 8.04 virtual host. on host have installed virtualbox virtualization software. have installed windows xp virtual machine , installed http server.
temporally disable network connections host , virtual machine.
on ubuntu host have set firewall settings:
list firewall settings:code:sudo iptables -f (to flush - delete firewall settings) sudo iptables -p input drop (to disable input traffic) sudo iptables -p forward drop (to disable forward traffic) sudo iptables -p output drop (to disable output traffic
outputs:code:sudo iptables -l -n -v
i see can't connect internet ubuntu host, sample "sudo apt-get update" returns error.code:chain input (policy drop 0 packets, 0 bytes) pkts bytes target prot opt in out source destination chain forward (policy drop 0 packets, 0 bytes) pkts bytes target prot opt in out source destination chain output (policy drop 0 packets, 0 bytes) pkts bytes target prot opt in out source destination
can still connect http server witch running in virtual machine. strange. why isn't traffic prevented? should prevent of traffic virtual machine , host?
have 2 network adapters (ifconfig command): lo (local) , eth0 (ethernet). virtualbox using eth0 communicate internet.
p.s. there no other firewall installed on ubuntu ufw.
regards
moved security discussions , bumped![]()
Forum The Ubuntu Forum Community Ubuntu Specialised Support Security [ubuntu] Firewall: How do completely prevent any traffic from network?
Ubuntu
Comments
Post a Comment