Page 1 of 1

Mobile VPN setup problem

Posted: Wed Jun 24, 2015 9:19 am
by sim1st
At first I setup VPN server on Centos which has Internal IP like 192.168.xxx.xxx

And I success to access on my Smartphone after connect same Network area(Wifi).

Also success to access on client pc.

Then, I changed vpn server's IP to public IP.

On PC, connection was done and I checked sessionslist in admin mode.

On smartphone, connection was failed.

I just changed IP address (no change about other configuration) but couldn't connect...

I tried to disable iptables service but failed again (after disabling selinux -> also failed)

What is wrong with me?

p.s I used built in vpn connector in Android and iOS

Re: Mobile VPN setup problem

Posted: Wed Jun 24, 2015 3:17 pm
by kh_tsang
Are you able to connect to the VPN server from public internet? If yes, you will need to enable NAT loopback.

Re: Mobile VPN setup problem

Posted: Wed Jun 24, 2015 11:49 pm
by sim1st
Yes I can connect to other port of public IP like 80 and ping is done well

How can I enable NAT loopback?

Re: Mobile VPN setup problem

Posted: Thu Jun 25, 2015 12:43 am
by sim1st
Solved!

The problem was blocking packet to UDP 500 controlled by my company's DMZ