I followed standard guide for setting up vpn. And VPN works for my clients connecting from outside.
However for debugging purposes it is nice to be able to connect to that vpn from "inside" is that possible?
i.e. from my mobile if I am on 4G I can connect to the vpn. However if very same phone is on the wifi it cannot connect to VPN, timeout all the time. Maybe I am missing some setting somewhere?
It ain't the firewall rule that is the problem (the client is on lan and that has input=accept), this question has been up earlier in the forum in the form of using it as a wifi encryption but I cant find the answer.
If my memory is right you need to make a port forward reflection or something like that from inside the firewall to the outside to get inside again with the wan IP?
It should be possible to use localhost also in some way?
@flygarn12 Indeed you are right! The port forwarding made it possible to connect from a local lan to vpn server running on the router. Basically port forward from lan to device.
There got to be a more elegant way of doing this. Since in this solution I am not able to use this port for connecting to anything outside. But It works for now