niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » BSD » OpenBSD
OpenVPN routing
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Author Message
adiavr@gmail.com
*nix forums beginner


Joined: 23 Mar 2005
Posts: 9

PostPosted: Thu Mar 24, 2005 7:59 pm    Post subject: OpenVPN routing Reply with quote

Hello,
I have a 192.168.0.x network with a default gateway at 192.168.0.254
which also has an external IP address. I have set up a OpenVPN server
on a secondary gateway at 192.168.0.252 which also has an external IP
address. OpenVPN is running in routing mode, with clients drawing
addresses from the default 10.8.0.0 network.
I can connect from outside fine using the vpn client to the OpenVPN
server and can ping 10.8.0.1, ssh into it, whatever. However, I cannot
get past it to go into the 192.168.0.x network (i.e. 192.168.0 ping
replies are not coming back, although they are being sent from the
respective machines).
Does anyone have any experience with this? I assume this would work
correctly if I just set up OpenVPN on the default 192.168.0.254
gateway, but I thought I'd keep it separate because I can also use it
as a hot spare in the case the default gateway fails. Both systems are
running OpenBSD with PF/NAT.

This seems to be a routing issue.
Ideally I want to have packets go from the client, to the VPN gateway,
then to the default gateway, then to the machines in 192.168.0.x. Then
these machines would follow the same route back.

Really sorry if this is confusing, let me know if I need to give more
information.
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
The time now is Thu Jan 08, 2009 12:57 pm | All times are GMT
navigation Forum index » *nix » BSD » OpenBSD
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Routing question iphtashu.Fitz@gmail.com networking 4 Tue Jul 18, 2006 6:52 pm
No new posts routing issue sam FreeBSD 4 Tue Jul 18, 2006 4:08 am
No new posts FreeBSD 6.1-RELEASE-p3 + IPFW + OpenVPN 2.06 Bert Moorthaemer FreeBSD 2 Tue Jul 11, 2006 10:54 am
No new posts source based routing - network unreachable hobosalesman@gmail.com networking 3 Wed Jul 05, 2006 6:12 am
No new posts routing question Pascal Nobus networking 0 Fri Jun 30, 2006 10:49 am

Personal Loans | Guitar Lesson | Credit Card Offers | Mortgages | Web Advertising
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.3293s ][ Queries: 16 (0.2544s) ][ GZIP on - Debug on ]