Posts

Post marked as solved
1 Replies
2.0k Views
I am attemtping to establish a tcp connection with a MacOS per-app vpn client to a tunnel_server similar to the one provided in the SimpleTunnel example. I have already converted the tunnel_server code to Swift 3 and believe it works. I ran it (./tunnel_server 8889 tunnel_server/config.plist) on terminal and got the following:2018-08-06 14:37:40.883 tunnel_server[86851:3286192] Starting network service on port 88892018-08-06 14:37:41.642 tunnel_server[86851:3286192] Network service published successfullyHowever I am still unable to connect my per-app vpn to the server. I believe it might have to do with the "EndAddress" and "StartAddress" in the config.plist for the tunnel_server and the remote address to which my per app vpn is trying to connect to.Should I be using the default "EndAddress" and "StartAddress" Config.plist values provided in the SimpleTunnel example or should it be something else? (Currently using default values provided in example code)Does the port number matter? (Im currently using 8889 when I run on terminal).And in terms of my per app vpn configuration server address value, should it match either the "EndAddress" or the "StartAddress" along with a colon and port number? (ex: deafultIPAddress:8889)
Posted
by t-joave.
Last updated
.