How could I access internet via I connect to ocserv?

ChenWulin chenwulin at
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 ''
my iPhone IP addr is '' 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:  P-t-P:  Mask:
          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