kikeklaus
Hello,
I use Raspbery PI like a little Web server.
Usualy I access it from the Internet with a NAT - Port forwarding (My Static public IP to my local Raspbery IP on a specific port).
That works well !
Now, when I connect my Raspbery PI on a VPN client with OpenVPN, I able to access my Raspbery with SSH with the local IP
But impossible from the Internet.
Is it a VPN restriction ? Can I add a rule to allow this kind of connection ?
I have no idea. My configuration of VPN Client "NordVPN" :
client
dev tun
proto tcp
remote 144.48.37.37 443
resolv-retry infinite
remote-random
nobind
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
persist-key
persist-tun
ping 15
ping-restart 0
ping-timer-rem
reneg-sec 0
comp-lzo no
remote-cert-tls server
#mute 10000
auth-user-pass login.conf
verb 3
pull
fast-io
cipher AES-256-CBC
auth SHA512
<ca>
-----BEGIN CERTIFICATE-----
..
-----END CERTIFICATE-----
</ca>
key-direction 1
<tls-auth>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
..
-----END OpenVPN Static key V1-----
</tls-auth>
To sum up,
I need to access my Raspbery PI from Outside but I need to connect a Client VPN to Navigate on the Internet from this Raspbery PI.
Thanks in advance 🙂
Andy
TinCanTech
I don't understand what you are trying to do but whatever it is,
you cannot use NordVPN and your own VPN at the same time.
kikeklaus
No, I need to connect my Raspberry to a VPN Client (NordVPN) but I will continue to use my Raspberry like a Web server.
My Web Server still work on my LAN but Unfortunately not on the Internet when the Client VPN is connected
I don't know why, Maybe I've to add a route, an exception or other configuration, i don't know 🙁
TinCanTech
When your device is connected to NordVPN it will not talk to an external host trying to access the webserver.
The only way around this is to use policy based routing .. good luck.
Also, NordVPN were very recently hacked .. just thought you might like to know ..