Page 1 of 1

OpenVPN Server Topology Choices

Posted: Fri Nov 09, 2018 6:12 am
by fengou
Hi,
From the https://community.openvpn.net/openvpn/wiki/Topology
These are available options as values to the --topology parameter in --dev tun mode. Each topology is described further in its own section below.

subnet
The recommended topology for modern servers. Note that this is not the current default. Addressing is done by IP & netmask.
net30
This is the old topology for support with Windows clients running 2.0.9 or older clients. This is the default as of OpenVPN 2.3, but not recommended for current use. Each client is allocated a virtual /30, taking 4 IPs per client, plus 4 for the server.
p2p
This topology uses Point-to-Point networking. This is not compatible with Windows clients, though use with non-Windows allows use of the entire subnet (no "lost" IPs.)

By default, the SE server using "net30" topology, so question is how I can change the topology to "subnet", or could you please help where to modify from the source code?

Re: OpenVPN Server Topology Choices

Posted: Thu Nov 22, 2018 7:44 am
by thisjun
Tun mode OpenVPN of SoftEther VPN uses PPP module for L2TP.
If you want to modify the source code about it, please check IPC.c.
https://github.com/SoftEtherVPN/SoftEth ... edar/IPC.c