Hallo zusammen,
kann mir jemand mit der ipfw helfen, komme mit meinen VM's nicht mehr raus.
Habe in der rc.conf folgendes eingetragen
Entsprechend übersichtlich ist auch die Liste:
Meine Netzadresse ist die 192.168.178.0/24, Router hat die IP 192.168.178.1
Die VM hat 10.0.2.15/24 und Standart-Gateway 10.0.2.2/24 (NAT)
Was muss ich einstellen damit meine VM ins Internet kommt?
kann mir jemand mit der ipfw helfen, komme mit meinen VM's nicht mehr raus.
Habe in der rc.conf folgendes eingetragen
Code:
firewall_enable="YES"
firewall_type="open"
firewall_logging="YES"
fail2ban_enable="YES"
Code:
root@bigtower:~> ipfw list
00100 allow ip from any to any via lo0
00101 deny ip from table(1) to me
00200 deny ip from any to 127.0.0.0/8
00300 deny ip from 127.0.0.0/8 to any
00400 deny ip from any to ::1
00500 deny ip from ::1 to any
00600 allow ipv6-icmp from :: to ff02::/16
00700 allow ipv6-icmp from fe80::/10 to fe80::/10
00800 allow ipv6-icmp from fe80::/10 to ff02::/16
00900 allow ipv6-icmp from any to any ip6 icmp6types 1
01000 allow ipv6-icmp from any to any ip6 icmp6types 2,135,136
65000 allow ip from any to any
65535 deny ip from any to any
Die VM hat 10.0.2.15/24 und Standart-Gateway 10.0.2.2/24 (NAT)
Was muss ich einstellen damit meine VM ins Internet kommt?
Code:
root@bigtower:~> ipfw -q add 00102 allow any from 10.0.2.0/24 to any
ipfw: unrecognised option [-1] any