Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Testing openVPN cli & srv behind a NATed router [Cancelled]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
CaptainBlood
Veteran
Veteran


Joined: 24 Jan 2010
Posts: 1885

PostPosted: Mon Sep 05, 2011 12:14 pm    Post subject: Testing openVPN cli & srv behind a NATed router [Cancell Reply with quote

Hi dear all.
I'm trying to test a openvpn with both client and server behind an ISP NATed router box.

When testing,
server is at 192.168.0.23/24
client is at 192.168.2.10/24

server is on the wired branch
client is on a wifi gest branch.

certificate and key have been generated for both server and client which are technically 'startable' in this regard.

OpenVPN port has been routed to server.

But ....it doesn't work, of course. :wink:

My router says my wan adress is 85.168.124.xxx and its gateway is 85.168.124.1.
From the client I can only ping 85.168.124.1, not 85.168.124.xxx. I can also ping www.google.com.

Anything obviously wrong there?
Could it be due to my ISP routing policy?
In such case how to get sure of it, and maybe how to work around it?

Thanks for your attention.


Last edited by CaptainBlood on Tue Sep 06, 2011 6:08 am; edited 5 times in total
Back to top
View user's profile Send private message
CaptainBlood
Veteran
Veteran


Joined: 24 Jan 2010
Posts: 1885

PostPosted: Mon Sep 05, 2011 12:18 pm    Post subject: Reply with quote

For the record
server CAN ping 85.168.124.xxx, so maybe I should reverse client and server ... at least for testing purposes.
NATed router also offers wifi connection to the 'wired gateway' 192.168.0.1 but I guess this is a no go.
openVPN config files are from openVPN examples with only changes regarding certificate and key files as well as wan external gateway on the client side.

Thanks for your attention and interest


Last edited by CaptainBlood on Tue Sep 06, 2011 6:08 am; edited 1 time in total
Back to top
View user's profile Send private message
CaptainBlood
Veteran
Veteran


Joined: 24 Jan 2010
Posts: 1885

PostPosted: Mon Sep 05, 2011 6:35 pm    Post subject: Reply with quote

Setting an VPN on the wired branch then no ping on WAN adress anymore.
So my guess is that my ISP detects the attempt of a the loop via the Internet, and cancels it.
Maybe the explanation is more trivial than that but I can't tell.

I think I will turn to my network of Xen domUs in order to test my openVPN configuration.

Thanks for your attention and interest
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum