check the ip address

Post your questions about BT download, FTP download, HTTP download, or QGet download software here.
Post Reply
dykare
New here
Posts: 6
Joined: Tue Oct 30, 2012 3:39 am

check the ip address

Post by dykare » Tue Dec 22, 2015 5:53 am

Hello
How can I check the external ip address of my NAS when I use VPN client?
Regards
dykare

User avatar
schumaku
Guru
Posts: 43672
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
Contact:

Re: check the ip address

Post by schumaku » Tue Dec 22, 2015 6:06 am

In general a VPN client does establish an secured / encrypted tunnel from the VPN client to the other end of the VPN (a VPN server, a VPN concentrator).

If this VPN is an entry path to an anonymizer service run a test connection through the VPN tunnel and check the anonymizer exit IP, typically 1:1 or M:1 NATed from the tunnel.

dykare
New here
Posts: 6
Joined: Tue Oct 30, 2012 3:39 am

Re: check the ip address

Post by dykare » Wed Dec 23, 2015 1:25 am

How do I test connection through VPN?

User avatar
Don
Guru
Posts: 11960
Joined: Thu Jan 03, 2008 4:56 am
Location: Long Island, New York
Contact:

Re: check the ip address

Post by Don » Wed Dec 23, 2015 1:43 am

Connect to something on the other end.
Read the Online Manuals and use the forum search feature before posting.

It is a recommended to use RAID and have external backups. RAID will protect you from disk failure, keep your system running, and data accessible while the disk is replaced and the RAID rebuilt. Backups will allow you to recover data that is lost or corrupted, or from system failure. One does not replace the other.

Submit bugs and feature requests to QNAP via their Helpdesk app.

NAS: TVS-882BR | F/W: 4.3.6.0895 | 40GB | 2 x M.2 SATA RAID 1 (System/VMs) | 4 x M.2 NMVe QM2-4P-384A RAID 5 (Cache) | 5 x 4TB HDD RAID 6 (Data) | 1 x Blu-ray
NAS: TVS-663 | F/W: 4.3.6.0993 | 16GB | 2 x M.2 NMVe QM2-2P RAID 1 (Cache) | 4 x 4TB RAID 5
Apps: Boinc, Squid, DNSMasq, PLEX, iDrive, QVPN, QLMS, MP3fs, HBS, Entware, DLstation, +others

dykare
New here
Posts: 6
Joined: Tue Oct 30, 2012 3:39 am

Re: check the ip address

Post by dykare » Wed Dec 23, 2015 3:28 pm

If I understand you right this connection test only works if I configure VPN client so it "Allow other network devices to connect to the VPN through the NAS"?

gwntc
New here
Posts: 5
Joined: Mon Dec 28, 2015 1:41 pm

Re: check the ip address

Post by gwntc » Thu Dec 31, 2015 2:09 pm

You can login to the NAS via SSH and run the below command:

curl http://checkip.dyndns.org

It will show the IP your NAS has changed to.

User avatar
onehans
Know my way around
Posts: 164
Joined: Sun Nov 23, 2014 7:51 am

Re: check the ip address

Post by onehans » Thu Apr 28, 2016 7:21 am

and when i am connected to VPN can i access server through VPN IP?

tweedie
Starting out
Posts: 14
Joined: Fri Jan 21, 2011 11:57 pm

Re: check the ip address

Post by tweedie » Tue Aug 08, 2017 10:18 pm

gwntc wrote:You can login to the NAS via SSH and run the below command:

curl http://checkip.dyndns.org

It will show the IP your NAS has changed to.


I know its 2 years out of date, but thanks for that! helped me out of a tricky spot!

NvanMJ
New here
Posts: 9
Joined: Sat Dec 31, 2011 2:50 am

Re: check the ip address

Post by NvanMJ » Wed Sep 13, 2017 6:23 pm


NAS_hans
Getting the hang of things
Posts: 50
Joined: Mon Oct 03, 2016 9:19 pm

Re: check the ip address

Post by NAS_hans » Sun Dec 10, 2017 4:06 am

Hi,

TS-253A with QTS 4.3.3 build 20171205

I've setup VPN client (not server) using QVPN service app, with PIA connection settings. I am able to connect to PIA servers within the client. I see a public IP which is different from WAN IP, and I see the flag of the country I'm connected to. So far it looks good.

However when I use the SSH command mentioned in this post, to check the external IP used by my NAS, I see it is equal to the WAN IP of my ISP. So it seems the VPN client is not working.

My requirement is to redirect all traffic from NAS via VPN, leaving all other network traffic "as is". This is why I have VPN client installed on the NAS, and not on the modem.

Any idea what might be happening here?

Some details on the VPN client connection setup:
server port: UDP1198
selected options: Reconnect when the VPN connection is lost (no other options flagged)

Thanks

njco74
First post
Posts: 1
Joined: Mon Jan 01, 2018 4:30 am

Re: check the ip address

Post by njco74 » Mon Jan 01, 2018 4:33 am

[quoTS-253A with QTS 4.3.3 build 20171205

I've setup VPN client (not server) using QVPN service app, with PIA connection settings. I am able to connect to PIA servers within the client. I see a public IP which is different from WAN IP, and I see the flag of the country I'm connected to. So far it looks good.

However when I use the SSH command mentioned in this post, to check the external IP used by my NAS, I see it is equal to the WAN IP of my ISP. So it seems the VPN client is not working.

My requirement is to redirect all traffic from NAS via VPN, leaving all other network traffic "as is". This is why I have VPN client installed on the NAS, and not on the modem.

Any idea what might be happening here?

Some details on the VPN client connection setup:
server port: UDP1198
selected options: Reconnect when the VPN connection is lost (no other options flagged)

Thanks

Hello I have the exact same problem. Although QVPN shows connected when I SSH and use "curl ipv4.icanhazip.com" it shows my ISP address. I just wanted to know if you ever overcome this problem and if you did what was your work around?

Thanks

helpcodemonkey
New here
Posts: 4
Joined: Sun Nov 10, 2013 11:31 pm

Re: check the ip address

Post by helpcodemonkey » Sat Jun 29, 2019 11:28 am

gwntc wrote:
Thu Dec 31, 2015 2:09 pm
You can login to the NAS via SSH and run the below command:

curl http://checkip.dyndns.org

It will show the IP your NAS has changed to.
4 years on and this still helps me. tq

TECH1982
Know my way around
Posts: 127
Joined: Sun Feb 08, 2015 6:44 pm

Re: check the ip address

Post by TECH1982 » Fri Jul 12, 2019 7:48 am

This may really old thread, but would it have something to go this "Use VPN as default gateway"

On Mac, and windows, this is required as "checked/enabled" in order not to have a DNS leak,, which is what experiencing.. (eg.. connected to VPN, yet still shows ISP or other non-VPN IP)

i was about to connect via same way, as torrent app on NAS, but if i have DNS leak, which based on the above .. then i may as well just use Mac/PC computer which does masks WAN IP address, as its intention of using VPN in the first place.

*: VPN client is now gone,, u need to install service, no idea why QNAP removed it )
TS-451+

Post Reply

Return to “Download Station and QGet”