Refactor client and router code for improved readability, fix function naming, and enhance error handling; add initial test cases and configuration file
This commit is contained in:
6
client_test01/.config/vpn_config.toml
Normal file
6
client_test01/.config/vpn_config.toml
Normal file
@@ -0,0 +1,6 @@
|
||||
[mode.Client]
|
||||
server = "127.0.0.1:443"
|
||||
interface_ip = "5.5.5.5/32"
|
||||
interface_name = "xvpn1"
|
||||
local_routes = ["6.6.6.0/24"]
|
||||
mtu = 1400
|
||||
1
client_test01/xvpn
Symbolic link
1
client_test01/xvpn
Symbolic link
@@ -0,0 +1 @@
|
||||
../target/release/xvpn
|
||||
Reference in New Issue
Block a user