check the ip address

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

check the ip address

Post by dykare »

Hello
How can I check the external ip address of my NAS when I use VPN client?
Regards
dykare
User avatar
schumaku
Guru
Posts: 43579
Joined: Mon Jan 21, 2008 4:41 pm
Location: Kloten (Zurich), Switzerland -- Skype: schumaku
Contact:

Re: check the ip address

Post by schumaku »

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 »

How do I test connection through VPN?
User avatar
Don
Guru
Posts: 12289
Joined: Thu Jan 03, 2008 4:56 am
Location: Long Island, New York

Re: check the ip address

Post by Don »

Connect to something on the other end.
Use the forum search feature before posting.

Use RAID and 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.

NAS: TVS-882BR | F/W: 5.0.1.2346 | 40GB | 2 x 1TB M.2 SATA RAID 1 (System/VMs) | 3 x 1TB M.2 NMVe QM2-4P-384A RAID 5 (cache) | 5 x 14TB Exos HDD RAID 6 (Data) | 1 x Blu-ray
NAS: TVS-h674 | F/W: 5.0.1.2376 | 16GB | 3 x 18TB RAID 5
Apps: DNSMasq, PLEX, iDrive, QVPN, QLMS, MP3fs, HBS3, Entware, DLstation, VS, +
dykare
New here
Posts: 6
Joined: Tue Oct 30, 2012 3:39 am

Re: check the ip address

Post by dykare »

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 »

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: 180
Joined: Sun Nov 23, 2014 7:51 am

Re: check the ip address

Post by onehans »

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 »

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 »

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

Re: check the ip address

Post by NAS_hans »

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 »

[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 »

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
MildMethod
New here
Posts: 3
Joined: Wed Dec 09, 2020 6:11 am

Re: check the ip address

Post by MildMethod »

TECH1982 wrote: 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"
This resolved it for me, thanks.

Instructions here: https://www.qnap.com/en-us/how-to/tutor ... -qvpn-2-0/
Just search for "Use VPN as NAS Default Gateway".
User avatar
Toxic17
Ask me anything
Posts: 6469
Joined: Tue Jan 25, 2011 11:41 pm
Location: Planet Earth
Contact:

Re: check the ip address

Post by Toxic17 »

thread closed, this is an old thread.
Regards Simon

Qnap Downloads
MyQNap.Org Repository
Submit a ticket • QNAP Helpdesk
QNAP Tutorials, User Manuals, FAQs, Downloads, Wiki
When you ask a question, please include the following


NAS: TS-673A QuTS hero h5.1.2.2534 • TS-121 4.3.3.2420 • APC Back-UPS ES 700G
Network: VM Hub3: 500/50 • UniFi UDM Pro: 3.2.9 • UniFi Network Controller: 8.0.28
USW-Aggregation: 6.6.61 • US-16-150W: 6.6.61 • 2x USW Mini Flex 2.0.0 • UniFi AC Pro 6.6.62 • UniFi U6-LR 6.6.62
UniFi Protect: 2.11.21/8TB Skyhawk AI • 3x G3 Instants: 4.69.55 • UniFi G3 Flex: 4.69.55 • UniFi G5 Flex: 4.69.55
Locked

Return to “Download Station and QGet”