tbatchelli / vmfest

manage your local VMs from the repl
140 stars 25 forks source link

configure-network can now add port-forwarding rules to adapters. #47

Closed briprowe closed 11 years ago

briprowe commented 11 years ago

Example: to configure an adapter that port forwards the host's port 8080 to the guest's port 80:

(configure-network machine {:attachment-type :nat
                            :nat-rules [{:name "http", :protocol :tcp,
                                         :host-ip "", :host-port 8080,
                                         :guest-ip "", :guest-port 80}]})