noremaC1337
I am using OPNsense to host my OpenVPN server. I can connect to the VPN server from a VPN client using the "tun" device mode. In this mode, I am able to successfully navigate my LAN via the VPN client. Due to this, I believe that all my routing is properly in place. My VPN client adapter gets an address from the IPv4 tunnel network (10.10.10.0/24). My local LAN is 192.168.0.0/24. The problem arises when I try to access a hosted Unreal Tournament 2k4 server on my LAN network.
I am assuming that I need to have my VPN client land on the same network as the LAN that is hosting the Unreal Tournament server. If this is the case, I believe that I need to have the VPN server configured using "tap" device mode. I have successfully made these changes, and I can see on my VPN client that I am getting successfully connected and assigned a DHCP address (192.168.0.100) that falls within the range of "Server Bridge DHCP Start" and "Server Bridge DHCP End". However, I can't ping anything on the 192.168.0.0/24 network from the VPN client. I am thinking that I am not getting a default gateway, as when I try to tracert to 192.168.0.1 on the VPN client, it tries to go out my VPN clients router gateway (172.20.10.1).
Can someone please help me get this "tap" device mode configured properly? Let me know what other information would assist in determining a solution.
TinCanTech
Things you need: A qualified network engineer.
noremaC1337
Precisely! I am glad we are on the same page. This would explain the obvious reason why I sought out exactly that on a forum that I presume would have said qualified network engineers. In doing so, I understood the risk of seemingly unqualified network engineers, that may post comments that prove such disqualifications. Even so, if you know any qualified network engineers, please forward this post to them as I am humbly requesting their expertise.
TinCanTech
Yeah .. you go to Craig's list for used tires ..
Zongo 224
dev tun0
proto udp
port xxxx
; there is a comment here, too
keepalive 10 120
dh /tmp/openvpn/dh.pem
ca /tmp/openvpn/ca.crt
cert /tmp/openvpn/cert.pem
key /tmp/openvpn/key.pem
management localhost 5001
With oconf, you can add a title and configuration content So, use something like the following:
CODE: SELECT ALL
# This is a comment
push "route 10.0.0.0 255.255.255.0" #My lan
server 10.3.0.0 255.255.255.0 #Vpn Lan
push "redirect-gateway def1"
push "dhcp-option DNS 208.67.220.220"
push "dhcp-option DNS 208.67.222.222"
;
;
;
;
;
;
;
;
;
;
;
;
dev tun0
proto udp
port xxxx
; there is a comment here, too
keepalive 10 120
dh /tmp/openvpn/dh.pem
ca /tmp/openvpn/ca.crt
cert /tmp/openvpn/cert.pem
key /tmp/openvpn/key.pem
management localhost 5001