Routing with OpenVPN

n30 n30 at auth.se
Mon Nov 19 14:38:17 PST 2007


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


More information about the freebsd-net mailing list