vmware host-only configuration

Personal note για μελλοντική χρήση.

Έχοντας σετάρει το vmware με host-only network interface, ρυθμίζουμε το routing του Linux (host) ως εξής:

echo 1 > /proc/sys/net/ipv4/ip_forward
iptables –flush
iptables –table nat –flush
iptables –delete-chain
iptables –table nat –delete-chain
iptables –table nat –append POSTROUTING –out-interface eth1 -j MASQUERADE
iptables –append FORWARD –in-interface vmnet1 -j ACCEPT

επίσης, μπορούμε να ρυθμίσουμε το host-only interface στο /etc/vmware/vmnet1/

  • Posted on 2005-04-12 20:04
  • under Uncategorized and tagged as .
  • permalink

Comments are closed.