My setup:
Vmware Host (eth0) --- iptables (NAT) --- Vmware GuestOS (vmnet1 :: 192.168.101.0/24)
My iptables config:
Code:
# Masquerade all traffic (allow NAT traffic through VM Guest)
# vmnet1 host-only network 192.168.101.0/255.255.255.0
iptables --table nat -A POSTROUTING --out-interface eth0 -j MASQUERADE
iptables -A FORWARD --in-interface vmnet1 -j ACCEPT
iptables -A INPUT -i vmnet1 -s 192.168.101.0/24 -d $SERVER_IP -j ACCEPT
I would like to access SAMBA (this sits on the Vmware Host) from within Vmware GuestOS.
e.g. \\192.168.101.1\SAMBA
I'm at a lost at how to configure the iptables to grant this access from the Vmware GuestOS.
Any help or recommendations will be kindly appreciated.
chrno
Recent comments
2 days 9 hours ago
2 days 17 hours ago
2 days 20 hours ago
2 days 22 hours ago
2 days 23 hours ago
3 days 1 hour ago
3 days 2 hours ago
3 days 3 hours ago
3 days 19 hours ago
3 days 20 hours ago