Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
OpenVpn
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
Sephiroth81
n00b
n00b


Joined: 24 Jan 2005
Posts: 52

PostPosted: Thu Jan 31, 2008 10:00 am    Post subject: OpenVpn Reply with quote

Hi. Here's my network situation:

LanA: 192.168.2.0/24
LanB: 192.168.15.0/24
LanC: 192.168.40.0/24

There's a serwer in LanB network. It's IP is 192.168.15.1. There's a port 40000 forwarded to it from static IP 85.14.86.19(example). On this server openvpn server is installed.

In LanA and LanB there are openvpn clients connecting to it (192.168.2.1 and 192.168.40.1).

Could you tell me how can I configure openvpn server so whenever I connect to it I can connect to any computer in all Lan-s
Back to top
View user's profile Send private message
di1bert
l33t
l33t


Joined: 16 May 2002
Posts: 963
Location: Oslo, Norway

PostPosted: Thu Jan 31, 2008 11:05 am    Post subject: Reply with quote

You would have to have both LANs connecting to the OpenVPN server so that when your client connects
it will have access to both.

Failing that, you'd had to connect LAN A to LAN C via VPN and setup routing so that clients can connect
to the entire network.

HTH

-m
Back to top
View user's profile Send private message
Sephiroth81
n00b
n00b


Joined: 24 Jan 2005
Posts: 52

PostPosted: Thu Jan 31, 2008 11:16 am    Post subject: Reply with quote

Now I'm connecting to openvpn via tun. When I connect i get 10.100.0.6 IP (openvpn ip is 10.100.0.1). Now I'd like to get access to other computers in server Lan. For example to computer with 192.168.15.100 IP.
How can I achive that ??
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