On 27/09/2022 21:09, tincantech wrote:
Hi,
Sent with Proton Mail secure email.
------- Original Message -------
On Thursday, September 22nd, 2022 at 19:25, tincantech
<tincant...@protonmail.com> wrote:
<s>
------- Original Message -------
On Thursday, September 22nd, 2022 at 15:06, Sebastian Arcus
s.ar...@open-t.co.uk wrote:
<s>
Server: openvpn 2.5.7, Linux Slackware
Client: openvpn 2.5.7, Windows 10
OpenVPN server lan subnet: 192.168.112.0/24
OpenVPN subnet: 192.168.114.0/24
server.conf
proto udp
port 1194
dev tun
server 192.168.114.0 255.255.255.0
push "route 192.168.112.0 255.255.255.0"
push "dhcp-option DNS 192.168.112.1"
push "dhcp-option WINS 192.168.112.1"
push "route-metric 500"
ca "ca.crt"
cert "server.crt"
key "server.key"
tls-auth "ta.key" 0
dh "dh.pem"
It is also worth mentioning that --topology net30 is deprecated.
https://community.openvpn.net/openvpn/wiki/DeprecatedOptions#Changedefault--topologynet30tosubnet
That may help routing.
Some updates from today's testing:
Test case 1
Topology: subnet
Adapter: WinTUN
Netbios over TCP/IP: disabled or enabled
Result: 300kbs (for both states of NetBIOS over TCP/IP)
Test case 2
Topology: subnet
Adapter: TAP
Netbios over TCP/IP: disabled or enabled
Result: 900Mbs (for both states of Netbios over TCP/IP)
Essentially using "topology subnet" seems to work fine with the TAP
adapter, but routes all smb traffic through the tunnel with the WinTUN
adapter, even when Netbios over TCP/IP is disabled.
I'm not sure if this actually clarifies things or makes it worse. I
re-run the tests several times, and rebooted the machine after changing
the settings on the adapters and before running the tests
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users