simple-vpn-demo icon indicating copy to clipboard operation
simple-vpn-demo copied to clipboard

A Simple Point-to-Point tunnelling implementation in C

Results 10 simple-vpn-demo issues
Sort by recently updated
recently updated
newest added

您好,我这边创建多个tun通道,但是发现只有第一个tun通道有数据可读,是因为iptable配置的问题吗

运行程序后只看到Writing to tun 没有看到Writing to UDP 导致连接VPN无法上网

What protocol does this server use? This server is not support multiple connections. Are there any ready server software that can provide this?

Terminal log: write tun_fd error: Invalid argument Execute `iptables -t nat -D POSTROUTING -s 10.8.0.0/16 ! -d 10.8.0.0/16 -m comment --comment 'vpndemo' -j MASQUERADE` Execute `iptables -D FORWARD -s 10.8.0.0/16...

hello, i want to run this on tcp instead of udp. I understand that it is slower but nonetheless i want to do it i replaced all udp and UDP...

can't visit webside as google i make it . server and client in two linux host; it can send udp package. but client can't visit google webside by server

I am getting the following error when running on linux. "ioctl[TUNSETIFF]: Operation not permitted" ![screen shot 2017-03-30 at 12 02 03 pm](https://cloud.githubusercontent.com/assets/11425045/24514325/e70b9e0c-1541-11e7-8423-f072bbfeabd4.png)

I am trying to compile it on macOS Sierra and getting the following error. gcc -o vpn vpn.c -g -Wall vpn.c:14:10: fatal error: 'linux/if_tun.h' file not found #include ^ 1...