D
D
djumandjy2014-06-13 19:04:19
virtual box
djumandjy, 2014-06-13 19:04:19

Setting up iptables in the VM: only allow traffic through the guest's OpenVPN

Good afternoon dear community. Please help with iptables rules. Situation: I have a virtual machine on OpenSuse 13.1-Guest running inside Virtualbox Windows 7-Host. In the virtualbox settings, in the Network tab, it is set to network bridge. The guest has an openvpn client installed. There is a task: to block all traffic of the virtual machine, letting it go only through the VPN tunnel, eliminating the DNS leak. Conditions: ip openvpn server=xx.xx.xx.xx, issued by ip vpn server 10.0.0.0/24, server vpn port 1194, interface when raising vpn connection tun0, guest network card eth0.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
shaazz, 2014-06-15
@shaazz

So it seems that there is such an option in OpenVPN itself . Where Routing all client traffic (including web-traffic) through the VPN

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question