ghame
Hi OpenVPN community!
I set up a new VPN last week, for the purpose of browsing ad-free and without tracking outside our home LAN and this works perfectly fine. But I‘ve recently got the idea to use it to play Minecraft Bedrock Edition (primarily on Android) with a friend in the VPN. In the documentation and the threads I‘ve already read through the only solution is to use a bridged (TAP) interface but the OpenVPN Android app doesn‘t support this. Is there any other option to let the clients communicate to each other in the private subnet of the VPN?
Here is my server.conf file:
dev tun
proto udp
port 1194
ca /etc/openvpn/easy-rsa/pki/ca.crt
cert /etc/openvpn/easy-rsa/pki/issued/raspberrypi4_e94f221b-ce5c-4b16-abbe-570f8d90dc9f.crt
key /etc/openvpn/easy-rsa/pki/private/raspberrypi4_e94f221b-ce5c-4b16-abbe-570f8d90dc9f.key
dh none
ecdh-curve prime256v1
topology subnet
server 10.8.0.0 255.255.255.0
# Set your primary domain name server address for clients
push "dhcp-option DNS 10.8.0.1"
push "block-outside-dns"
# Override the Client default gateway by using 0.0.0.0/1 and
# 128.0.0.0/1 rather than 0.0.0.0/0. This has the benefit of
# overriding but not wiping out the original default gateway.
push "redirect-gateway def1"
client-to-client
client-config-dir /etc/openvpn/ccd
keepalive 15 120
remote-cert-tls client
tls-version-min 1.2
tls-crypt /etc/openvpn/easy-rsa/pki/ta.key
cipher AES-256-CBC
auth SHA256
user openvpn
group openvpn
persist-key
persist-tun
crl-verify /etc/openvpn/crl.pem
status /var/log/openvpn-status.log 20
status-version 3
syslog
verb 3
#DuplicateCNs allow access control on a less-granular, per user basis.
#Remove # if you will manage access by user instead of device.
#duplicate-cn
# Generated for use by PiVPN.io
I think there is a way to do it, for example with adjusting the firewall settings or with push „[...]“ but I‘m not very experienced in those.
Thank you in advance for helping me!