Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Nov 2007 22:59:37 +0100
From:      "n30" <n30@auth.se>
To:        freebsd-net@freebsd.org
Subject:   Routing with OpenVPN
Message-ID:  <20071119215243.M9581@sexnarkoman.se>

next in thread | raw e-mail | index | archive | help
Hi, I am using a tunnelservice from a Swedish tunnel provider.
I get 5 ip-adresses for it and the tunnelprovider uses OpenVPN.
The 5 ip-adresses is static and I have access of configuring PTR for the ips.
I now have a problem, I don't know how to route the traffic so that I can
configure my servers on my lan to use these ips.

       [ISP]------- [Tunnel]--------[Local Network]
       fxp0           tap0              fxp1
        |               |                 |
   192.168.0.2     88.80.13.152      88.80.13.199
                                     88.80.13.200
                                     88.80.13.201
                                     88.80.13.202

Current configuration to get tunnel to work:
route flush
route add default 88.80.13.***
route add -host 88.80.**.** 192.168.0.1
route add -host 88.80.13.152 192.168.0.1


Can anyone point me to some documentation on how to do this?
Have you done something similar and how was your setup?
What should I think about and what are the pro's and con's of the different
solutions?

Regards
n30



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071119215243.M9581>