My system has several port forwarding settings active. Among others, I have some Vagrant machines with port-forwarding configured:
Vagrant.configure("2") do |config|
config.vm.network "forwarded_port", guest: 22, host: 33022
config.vm.network "forwarded_port", guest: 80, host: 33080
config.vm.network "forwarded_port", guest: 443, host: 33443
end
I have several machines with port forwarding configured, and other tools doing port forwarding (ssh
...). I would like to verify that the system config is as expected.
Is there some way to list all these port forwarding rules?
Haven't worked much with vagrant before, but you could use
to list all port bindings and their associated process.