How could I access internet via I connect to ocserv?

ChenWulin chenwulin at haoluo.com.cn
Sat Mar 7 22:58:47 PST 2015


 build a ocserv in my Linode server. It has been running successful and I can connect to it with my iPhone app Anyconnect.

I set a web server in my Linode server, and I can access the web server with IP addr '10.10.1.1:8000'
my iPhone IP addr is '10.10.1.178' after It connect to ocserv.

but I cannot access internet web site with my iPhone now. 

I disable ufw, and my iptables has nothing in it.

How could I access the internet after I connect to the ocserv?

————ifconfig command result —————
vpns0     Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:10.10.1.1  P-t-P:10.10.1.178  Mask:255.255.255.255
          UP POINTOPOINT RUNNING  MTU:1321  Metric:1
          RX packets:200 errors:0 dropped:0 overruns:0 frame:0
          TX packets:116 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:16503 (16.5 KB)  TX bytes:10458 (10.4 KB)

--
Best Regards,
WuLin, Chen







More information about the openconnect-devel mailing list