You can use below configuration for Vault and then add iptable rule
1-
listener "tcp" {
address = "0.0.0.0
:8200"
2- Below iptable rule is for Centos "/etc/sysconfig/iptables"
-A INPUT -m state --state NEW -m tcp -p tcp --dport 8200 -j ACCEPT
3- restart iptables service : service iptables restart
4- check iptables status after restart : service iptables status
You should able to see new rule in place
5- Check for port from a different VM using : telnet vaultserver-ip 8200
If telnet works then vault is listening on required port depends on your network configuration . Like eth0 , eth1 so on
Thanks
Sas